MediaWiki:Common.css
Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.
- Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
- Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
- Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
/* Fester, kleiner Sidebar-Wrapper */
.infobox-container {
float: right !important;
clear: right !important;
width: 22em; /* << kleiner machen hier */
max-width: 100%;
margin: 0 0 1rem 1rem; /* Abstand zum Fließtext links/unten */
}
/* Infobox-Basis */
table.infobox {
background: #fff;
border: 1px solid #d9d9e3;
border-collapse: separate;
border-spacing: 0;
width: 100%; /* füllt den Wrapper (22em) */
box-shadow: 0 6px 24px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
border-radius: 12px;
overflow: hidden;
font-size: 90%;
}
/* Titel */
table.infobox .infobox-title {
background: linear-gradient(180deg, #e9efff 0%, #dfe7ff 100%);
color: #1f2a44;
text-align: center;
font-weight: 700;
padding: .7rem .9rem;
border-bottom: 1px solid #d9d9e3;
}
/* Bild */
table.infobox .infobox-media {
text-align: center;
padding: .6rem .9rem .4rem;
background: #fbfcff;
border-bottom: 1px solid #d9d9e3;
}
/* Zellen */
table.infobox th, table.infobox td {
vertical-align: top;
padding: .5rem .9rem;
line-height: 1.35;
border-top: 1px solid #ececf3;
}
table.infobox th {
width: 46%;
color: #6b7280;
font-weight: 600;
}
/* leichte Zebra-Optik */
table.infobox tr:nth-child(even) th,
table.infobox tr:nth-child(even) td {
background: #fafafa;
}
/* Mobile: Sidebar auf volle Breite unter den Text */
@media (max-width: 768px) {
.infobox-container {
float: none !important;
clear: both !important;
width: 100%;
margin: 0 0 1rem 0;
}
}