MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung Markierung: Zurückgesetzt |
Keine Bearbeitungszusammenfassung Markierung: Manuelle Zurücksetzung |
||
| Zeile 70: | Zeile 70: | ||
text-align: center !important; | text-align: center !important; | ||
width: 100% !important; | width: 100% !important; | ||
} | } | ||
Version vom 24. Februar 2026, 16:21 Uhr
/* ==========================================
Amon Wiki Premium Infobox Engine
Clean Production Version
========================================== */
/* Base Infobox Style */
.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 inside infobox */
.infobox img {
max-width: 90%;
height: auto;
display: inline-block;
vertical-align: middle;
}
/* Header Title Styling */
.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;
}
/* Mobile Layout */
@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 th {
text-align: left !important;
font-weight: 600;
}
/* Mobile title centering */
.infobox > tbody > tr:first-child th {
width: 100% !important;
display: table-cell !important;
}
}
/* Force Centered Infobox Title Across Viewports */
.infobox > tbody > tr:first-child th {
text-align: center !important;
width: 100% !important;
}