MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
/* | /* ===================================== | ||
Amon Wiki Stable Infobox Layout | |||
===================================== */ | |||
.infobox { | .infobox { | ||
float: right; | float: right; | ||
| Zeile 10: | Zeile 9: | ||
max-width: 100%; | max-width: 100%; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
background-color: #f7f9fa; | background-color: #f7f9fa; | ||
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); | ||
} | } | ||
/* Images | /* Images */ | ||
.infobox img { | .infobox img { | ||
max-width: | max-width: 100%; | ||
height: auto; | height: auto; | ||
display: inline-block; | display: inline-block; | ||
| Zeile 24: | Zeile 23: | ||
} | } | ||
/* Header | /* Header */ | ||
.infobox | .infobox th { | ||
text-align: center; | text-align: center; | ||
font-size: 118%; | font-size: 118%; | ||
font-weight: 600; | font-weight: 600; | ||
padding-top: 14px; | padding-top: 14px; | ||
padding-bottom: 12px; | padding-bottom: 12px; | ||
} | |||
/* Map cells */ | |||
.infobox td[colspan="2"] { | |||
padding: 8px; | |||
text-align: center; | |||
} | |||
.infobox td[colspan="2"] img { | |||
width: 100%; | |||
height: auto; | |||
display: block; | |||
} | } | ||
/* Mobile | /* Mobile */ | ||
@media screen and (max-width: 768px) { | @media screen and (max-width: 768px) { | ||
| Zeile 47: | Zeile 54: | ||
} | } | ||
.infobox th { | .infobox th { | ||
text-align: left; | |||
text-align: left | |||
font-weight: 600; | font-weight: 600; | ||
} | } | ||
} | } | ||
Version vom 24. Februar 2026, 16:36 Uhr
/* =====================================
Amon Wiki Stable Infobox Layout
===================================== */
.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);
}
/* Images */
.infobox img {
max-width: 100%;
height: auto;
display: inline-block;
vertical-align: middle;
}
/* Header */
.infobox th {
text-align: center;
font-size: 118%;
font-weight: 600;
padding-top: 14px;
padding-bottom: 12px;
}
/* Map cells */
.infobox td[colspan="2"] {
padding: 8px;
text-align: center;
}
.infobox td[colspan="2"] img {
width: 100%;
height: auto;
display: block;
}
/* Mobile */
@media screen and (max-width: 768px) {
.infobox {
float: none !important;
width: 95% !important;
max-width: 520px !important;
margin: 8px auto !important;
}
.infobox th {
text-align: left;
font-weight: 600;
}
}