Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 10: Zeile 10:
     max-width: 100%;
     max-width: 100%;
     border-collapse: collapse;
     border-collapse: collapse;
    background-color: #f7f9fa;
}
}


Zeile 23: Zeile 24:
     .infobox {
     .infobox {
         float: none !important;
         float: none !important;
         width: calc(100% - 20px) !important;
         width: 95% !important;
         max-width: 520px !important;
         max-width: 520px !important;
         margin: 10px auto !important;
         margin: 8px auto !important;
        display: table;
     }
     }


    .infobox table,
    .infobox tbody,
    .infobox tr,
     .infobox td,
     .infobox td,
     .infobox th {
     .infobox th {
         width: 100% !important;
         padding: 6px !important;
         display: block;
         border: 1px solid #e0e0e0 !important;
     }
     }


     .infobox tr {
     .infobox tr {
         border-bottom: 1px solid #ddd;
         border-bottom: none !important;
     }
     }


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

Version vom 24. Februar 2026, 16:02 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;
    }
}