MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus EnMo_Handbuch
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 46: Zeile 46:
}
}


/* Flexbox-Tabellenersatz */
.flex-table {
.flex-table {
     display: flex;
     display: flex;
     overflow-x: auto; /* Scrollbar bei Bedarf */
     flex-wrap: wrap;
     flex-wrap: nowrap; /* Kein Umbruch */
    gap: 10px;
     gap: 20px;
     margin-bottom: 2em;
     padding-bottom: 10px;
     border-bottom: 1px solid #ccc;
     padding-bottom: 15px;
}
}


.flex-table-column {
.flex-table-column {
     flex: 0 0 auto; /* Kein Wachsen/Schrumpfen */
     flex: 1 1 200px; /* Basisbreite 200px, wächst/schrinkt */
     min-width: 200px;
     min-width: 0; /* Verhindert Überlauf */
}
 
.flex-table-header {
    font-weight: bold;
    border-bottom: 2px solid #15a2d6;
    margin-bottom: 5px;
    padding-bottom: 3px;
}
 
.flex-table-content ul {
    list-style-type: none;
    margin: 0;
    padding-left: 1em;
}
}


Zeile 64: Zeile 79:
     .flex-step-container {
     .flex-step-container {
         gap: 15px;  /* Reduzierter Abstand auf kleinen Bildschirmen */
         gap: 15px;  /* Reduzierter Abstand auf kleinen Bildschirmen */
    }
    .flex-table-column {
        flex: 1 1 100% !important;
     }
     }
}
}

Version vom 11. April 2025, 16:30 Uhr

/* 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 {
    flex: 1 1 200px; /* Basisbreite 200px, wächst/schrinkt */
    min-width: 0; /* Verhindert Überlauf */
}

.flex-table-header {
    font-weight: bold;
    border-bottom: 2px solid #15a2d6;
    margin-bottom: 5px;
    padding-bottom: 3px;
}

.flex-table-content ul {
    list-style-type: none;
    margin: 0;
    padding-left: 1em;
}


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