MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
/* =============================== | /* =============================== | ||
Amon Wiki Stable Infobox Base | Amon Wiki Stable Infobox Base | ||
| Zeile 21: | Zeile 22: | ||
border: 1px solid #dcdcdc; | border: 1px solid #dcdcdc; | ||
padding: 6px; | padding: 6px; | ||
font-size: 90%; | |||
line-height: 1.35; | |||
} | } | ||
| Zeile 50: | Zeile 54: | ||
} | } | ||
/* Mobile */ | /* Mobile Layout */ | ||
@media screen and (max-width: 768px) { | @media screen and (max-width: 768px) { | ||
Version vom 24. Februar 2026, 16:42 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;
font-size: 90%;
line-height: 1.35;
}
/* 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 Layout */
@media screen and (max-width: 768px) {
.infobox {
float: none !important;
width: 95% !important;
max-width: 520px !important;
margin: 8px auto !important;
}
}