MediaWiki:Common.css

Aus EnMo_Handbuch
Zur Navigation springen Zur Suche springen

Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.

  • Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
  • Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
  • Internet Explorer/Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
  • Opera: Strg+F5
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */


a:hover {
  color: #15a2d6;
}

a.external:hover {
  color: #15a2d6;
}

@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@400;600;700&display=swap');

body {
    font-family: 'Titillium Web', sans-serif;
}

h1,h2,h3,h4 {
    font-family: 'Titillium Web', sans-serif !important;
}


/* Bilder responsive machen*/
.mw-file-element {
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
}

/* iPhone images */
.img-iphone-style {
    float: left !important;
    width: 200px !important;
    background: none !important;
    padding: 1rem !important;
    border: 0 !important;
}

/* Container für iphone img mit text */
.flex-step-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    margin-bottom: 0;
}

/* Flexbox-Tabellenersatz */
.flex-table {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2em;
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
}

.flex-table-column {
    display: flex;
    align-items: center;
    flex-direction:column;
    height: 100%;
}

.flex-table-header {
    flex: 1;
    background-color:#eaecf0;
    text-align: center;
    width:100%;
    font-weight: bold;
}

.flex-table-content {
    flex: 1;
    background-color:#f8f9fa;
    padding: 1rem;
    height: 100%;
}


/* Mobile Optimierung */
@media (max-width: 768px) {
    .flex-step-container {
        gap: 15px;  /* Reduzierter Abstand auf kleinen Bildschirmen */
    }
    .flex-table-column {
        flex: 1 1 100% !important;
    }
}