Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
 
/* ===============================
/* =====================================
   Amon Wiki Stable Infobox Base
   Amon Wiki Stable Infobox Layout
   =============================== */
   ===================================== */


.infobox {
.infobox {
Zeile 13: Zeile 12:
     border: 1px solid #d6d6d6;
     border: 1px solid #d6d6d6;
     box-shadow: 0 1px 3px rgba(0,0,0,0.04);
     box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    font-size: 90%;
}
}


/* Images */
/* Table cells */
.infobox img {
.infobox th,
     max-width: 100%;
.infobox td {
    height: auto;
     border: 1px solid #dcdcdc;
    display: inline-block;
     padding: 6px;
     vertical-align: middle;
}
}


/* Header */
/* Header title */
.infobox th {
.infobox > tbody > tr:first-child th {
     text-align: center;
     text-align: center;
     font-size: 118%;
     font-size: 115%;
     font-weight: 600;
     font-weight: 600;
     padding-top: 14px;
     padding: 12px;
     padding-bottom: 12px;
     background-color: #f7f9fa;
}
}


/* Map cells */
/* Maps */
.infobox td[colspan="2"] {
.infobox td[colspan="2"] {
    padding: 8px;
     text-align: center;
     text-align: center;
}
}
Zeile 42: Zeile 41:
     height: auto;
     height: auto;
     display: block;
     display: block;
}
/* Heraldic images */
.infobox img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}
}


Zeile 54: Zeile 60:
     }
     }


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

Version vom 24. Februar 2026, 16:39 Uhr

/* ===============================
   Amon Wiki Stable Infobox Base
   =============================== */

.infobox {
    float: right;
    width: 22em;
    max-width: 100%;
    border-collapse: collapse;

    background-color: #f7f9fa;
    border: 1px solid #d6d6d6;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);

    font-size: 90%;
}

/* Table cells */
.infobox th,
.infobox td {
    border: 1px solid #dcdcdc;
    padding: 6px;
}

/* Header title */
.infobox > tbody > tr:first-child th {
    text-align: center;
    font-size: 115%;
    font-weight: 600;
    padding: 12px;
    background-color: #f7f9fa;
}

/* Maps */
.infobox td[colspan="2"] {
    text-align: center;
}

.infobox td[colspan="2"] img {
    width: 100%;
    height: auto;
    display: block;
}

/* Heraldic images */
.infobox img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

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

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

}