MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 53: | Zeile 53: | ||
} | } | ||
} | |||
/* ========================================== | |||
Heraldik Panel Proportional Scaling | |||
========================================== */ | |||
.infobox img { | |||
max-width: 90%; | |||
height: auto; | |||
display: inline-block; | |||
} | |||
/* Speziell für Wappen + Flaggen Panel */ | |||
.infobox td[style*="text-align:center"] img { | |||
vertical-align: middle; | |||
} | |||
/* ========================================== | |||
Encyclopedia Style Infobox Header | |||
========================================== */ | |||
.infobox > tbody > tr:first-child th { | |||
text-align: center; | |||
font-size: 118%; | |||
font-weight: 600; | |||
letter-spacing: 0.3px; | |||
padding-top: 14px; | |||
padding-bottom: 12px; | |||
background-color: #f7f9fa; | |||
} | |||
.infobox { | |||
border: 1px solid #d6d6d6; | |||
box-shadow: 0 1px 3px rgba(0,0,0,0.04); | |||
} | } | ||
Version vom 24. Februar 2026, 16:13 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;
}
}
/* ==========================================
Heraldik Panel Proportional Scaling
========================================== */
.infobox img {
max-width: 90%;
height: auto;
display: inline-block;
}
/* Speziell für Wappen + Flaggen Panel */
.infobox td[style*="text-align:center"] img {
vertical-align: middle;
}
/* ==========================================
Encyclopedia Style Infobox Header
========================================== */
.infobox > tbody > tr:first-child th {
text-align: center;
font-size: 118%;
font-weight: 600;
letter-spacing: 0.3px;
padding-top: 14px;
padding-bottom: 12px;
background-color: #f7f9fa;
}
.infobox {
border: 1px solid #d6d6d6;
box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}