MediaWiki:Common.css: Unterschied zwischen den Versionen
Die Seite wurde neu angelegt: „→Infobox responsive mobile layout: @media screen and (max-width: 768px) { .infobox { float: none !important; width: 95% !important; max-width: 600px !important; margin-left: auto !important; margin-right: auto !important; display: table; } }“ |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
/* Infobox | /* Standard Desktop Infobox */ | ||
.infobox { | |||
float: right; | |||
width: 22em; | |||
max-width: 100%; | |||
} | |||
/* Mobile Optimierung */ | |||
@media screen and (max-width: 768px) { | @media screen and (max-width: 768px) { | ||
.infobox { | .infobox { | ||
float: none !important; | float: none !important; | ||
width: | width: 95vw !important; | ||
max-width: | max-width: 480px !important; | ||
margin-left: auto !important; | margin-left: auto !important; | ||
margin-right: auto !important; | margin-right: auto !important; | ||
Version vom 24. Februar 2026, 15:55 Uhr
/* Standard Desktop Infobox */
.infobox {
float: right;
width: 22em;
max-width: 100%;
}
/* Mobile Optimierung */
@media screen and (max-width: 768px) {
.infobox {
float: none !important;
width: 95vw !important;
max-width: 480px !important;
margin-left: auto !important;
margin-right: auto !important;
display: table;
}
}