MediaWiki:Common.css: Unterschied zwischen den Versionen

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


/* Responsive Tabelle für Peripheriegeräte */
.responsive-table {
    display: flex;
    flex-wrap: wrap;
    width: 100%; /* Wichtig für die Breite */
}
.responsive-table > * {
    flex: 1 1 auto; /* Gleichmäßige Verteilung */
    border: 1px solid #ccc; /* Rahmen wie bei wikitable */
    padding: 8px; /* Innenabstand */
    box-sizing: border-box; /* Wichtig für die Breitenberechnung */
}
/* Überschriften */
.responsive-table > :first-child {
    font-weight: bold;
    text-align: center;
}




Zeile 52: Zeile 72:
     .flex-step-container {
     .flex-step-container {
         gap: 15px;  /* Reduzierter Abstand auf kleinen Bildschirmen */
         gap: 15px;  /* Reduzierter Abstand auf kleinen Bildschirmen */
    }
    .responsive-table {
        flex-direction: column; /* Stapeln untereinander */
     }
     }
}
}

Version vom 11. April 2025, 16:06 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;
}


/* Responsive Tabelle für Peripheriegeräte */
.responsive-table {
    display: flex;
    flex-wrap: wrap;
    width: 100%; /* Wichtig für die Breite */
}

.responsive-table > * {
    flex: 1 1 auto; /* Gleichmäßige Verteilung */
    border: 1px solid #ccc; /* Rahmen wie bei wikitable */
    padding: 8px; /* Innenabstand */
    box-sizing: border-box; /* Wichtig für die Breitenberechnung */
}

/* Überschriften */
.responsive-table > :first-child {
    font-weight: bold;
    text-align: center;
}


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

    .responsive-table {
        flex-direction: column; /* Stapeln untereinander */
    }
}