MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus EnMo_Handbuch
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Markierung: Manuelle Zurücksetzung
Keine Bearbeitungszusammenfassung
 
(19 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 20: Zeile 20:
}
}


#footer-info-lastmod { display: none; }
.last-modified-bar { display: none; }
/* hide Toolbox from anonymous users */
body.anon #p-tb {
    display: none;
}


/* Bilder responsive machen*/
/* Bilder responsive machen*/
Zeile 32: Zeile 40:
     float: left !important;
     float: left !important;
     width: 200px !important;
     width: 200px !important;
    background: none !important;
    padding: 1rem !important;
    border: 0 !important;
}
.img-left-element {
    float: left !important;
    width: 300px !important;
     background: none !important;
     background: none !important;
     padding: 1rem !important;
     padding: 1rem !important;
Zeile 44: Zeile 60:
     align-items: center;
     align-items: center;
     margin-bottom: 0;
     margin-bottom: 0;
}
.wikitable {
    background-color: #FFFFFF;
}
}


Zeile 76: Zeile 96:
     padding: 1rem;
     padding: 1rem;
     border: 1px solid #ddd;
     border: 1px solid #ddd;
     margin: -1px 0 0 -1px; /* Kompensiert gap */
     margin: -1px 0 0 -1px;
     min-height: 0; /* Verhindert Überlaufprobleme */
     min-height: auto;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}
 
.mw-redirectedfrom {
    display: none;
}
}
.mobile-only {
    display: none !important;
}


/* Mobile Optimierung */
/* Mobile Optimierung */
Zeile 84: Zeile 119:
     .table-container {
     .table-container {
         grid-template-columns: 1fr;
         grid-template-columns: 1fr;
    }
    .mobile-only {
        display: block !important;
     }
     }
}
}

Aktuelle Version vom 13. März 2026, 12:09 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;
}

#footer-info-lastmod { display: none; }

.last-modified-bar { display: none; }

/* hide Toolbox from anonymous users */
body.anon #p-tb {
    display: none;
}

/* 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;
}

.img-left-element {
    float: left !important;
    width: 300px !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;
}

.wikitable {
    background-color: #FFFFFF;
}

/* Flexbox-Tabellenersatz */

.table-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    width: 100%;
    margin: 0 auto;
}

.table-column {
    display: flex;
    flex-direction: column;
    background: white; /* Wichtig: Überdeckt den Container-Hintergrund */
    border: 1px solid #ddd;
}

.table-header {
    background-color: #eaecf0;
    text-align: center;
    padding: 0.5rem;
    font-weight: bold;
    border: 1px solid #ddd; /* Sync mit gap */
    margin: -1px 0 0 -1px; /* Kompensiert gap für perfekte Borders */
}

.table-content {
    flex: 1;
    background-color: #f8f9fa;
    padding: 1rem;
    border: 1px solid #ddd;
    margin: -1px 0 0 -1px;
    min-height: auto;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

.mw-redirectedfrom {
    display: none;
}

.mobile-only {
    display: none !important;
}


/* Mobile Optimierung */
@media (max-width: 768px) {
    .table-container {
        grid-template-columns: 1fr;
    }
    .mobile-only {
        display: block !important;
    }
}