Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 43: Zeile 43:
         font-weight: 600;
         font-weight: 600;
     }
     }
}
@media screen and (max-width: 768px) {
    .infobox > tbody > tr:first-child th {
        text-align: center !important;
        display: table-cell !important;
        width: 100% !important;
    }
}
}

Version vom 24. Februar 2026, 16:04 Uhr

/* ==========================================
   Wikipedia-Style Responsive Infobox Engine
   Amon Wiki Premium Layout Version
   ========================================== */

/* Desktop Standard */
.infobox {
    float: right;
    width: 22em;
    max-width: 100%;
    border-collapse: collapse;
    background-color: #f7f9fa;
}

/* Bilder innerhalb Infobox */
.infobox img {
    max-width: 100%;
    height: auto;
}

/* Mobile Layout (Wikipedia-like Behaviour) */
@media screen and (max-width: 768px) {

    .infobox {
        float: none !important;
        width: 95% !important;
        max-width: 520px !important;
        margin: 8px auto !important;
    }

    .infobox td,
    .infobox th {
        padding: 6px !important;
        border: 1px solid #e0e0e0 !important;
    }

    .infobox tr {
        border-bottom: none !important;
    }

    .infobox th {
        text-align: left !important;
        font-weight: 600;
    }
}

@media screen and (max-width: 768px) {

    .infobox > tbody > tr:first-child th {
        text-align: center !important;
        display: table-cell !important;
        width: 100% !important;
    }

}