MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
/* ========================================== | /* ========================================== | ||
Amon Wiki Premium Infobox Engine | |||
Clean Production Version | |||
========================================== */ | ========================================== */ | ||
/* | /* Base Infobox Style */ | ||
.infobox { | .infobox { | ||
float: right; | float: right; | ||
| Zeile 11: | Zeile 11: | ||
border-collapse: collapse; | border-collapse: collapse; | ||
background-color: #f7f9fa; | background-color: #f7f9fa; | ||
border: 1px solid #d6d6d6; | |||
box-shadow: 0 1px 3px rgba(0,0,0,0.04); | |||
} | } | ||
/* | /* Images inside infobox */ | ||
.infobox img { | .infobox img { | ||
max-width: | max-width: 90%; | ||
height: auto; | 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 | /* Mobile Layout */ | ||
@media screen and (max-width: 768px) { | @media screen and (max-width: 768px) { | ||
| Zeile 33: | Zeile 51: | ||
padding: 6px !important; | padding: 6px !important; | ||
border: 1px solid #e0e0e0 !important; | border: 1px solid #e0e0e0 !important; | ||
} | } | ||
| Zeile 43: | Zeile 57: | ||
font-weight: 600; | font-weight: 600; | ||
} | } | ||
/* Mobile title centering */ | |||
.infobox > tbody > tr:first-child th { | .infobox > tbody > tr:first-child th { | ||
width: 100% !important; | |||
display: table-cell !important; | display: table-cell !important; | ||
} | } | ||
} | } | ||
Version vom 24. Februar 2026, 16:14 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;
}
}