MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 10: | Zeile 10: | ||
max-width: 100%; | max-width: 100%; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
background-color: #f7f9fa; | |||
} | } | ||
| Zeile 23: | Zeile 24: | ||
.infobox { | .infobox { | ||
float: none !important; | float: none !important; | ||
width: | width: 95% !important; | ||
max-width: 520px !important; | max-width: 520px !important; | ||
margin: | margin: 8px auto !important; | ||
} | } | ||
.infobox td, | .infobox td, | ||
.infobox th { | .infobox th { | ||
padding: 6px !important; | |||
border: 1px solid #e0e0e0 !important; | |||
} | } | ||
.infobox tr { | .infobox tr { | ||
border-bottom: | border-bottom: none !important; | ||
} | } | ||
.infobox th { | .infobox th { | ||
text-align: left !important; | text-align: left !important; | ||
font-weight: 600; | |||
} | } | ||
} | } | ||
Version vom 24. Februar 2026, 16:02 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;
}
}