MediaWiki:Common.css: Unterschied zwischen den Versionen

Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(43 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;
}
}


/* Flexbox-Tabellenersatz */
/* Flexbox-Tabellenersatz */
.flex-table {
 
.table-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    width: 100%;
    margin: 0 auto;
}
 
.table-column {
     display: flex;
     display: flex;
     flex-wrap: wrap;
     flex-direction: column;
     gap: 10px;
     background: white; /* Wichtig: Überdeckt den Container-Hintergrund */
     margin-bottom: 2em;
    border: 1px solid #ddd;
     border-bottom: 1px solid #ccc;
}
     padding-bottom: 15px;
 
.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 */
}
}


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


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


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


Zeile 77: Zeile 117:
/* Mobile Optimierung */
/* Mobile Optimierung */
@media (max-width: 768px) {
@media (max-width: 768px) {
     .flex-step-container {
     .table-container {
         gap: 15px; /* Reduzierter Abstand auf kleinen Bildschirmen */
         grid-template-columns: 1fr;
     }
     }
     .flex-table-column {
     .mobile-only {
         flex: 1 1 100% !important;
         display: block !important;
     }
     }
}
}