MediaWiki:Common.css
MediaWiki-Schnittstellenseite
Weitere Optionen
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
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* ===== Hauptseite: Kachel-Layout im Horizon-Look ===== */
.vp-lang {
font-size: 0.9em;
margin-bottom: 1em;
opacity: 0.85;
}
.vp-hero {
background: #27364a linear-gradient(135deg, #27364a 0%, #3b5577 100%);
color: #fff;
border-radius: 12px;
padding: 1.6em 1.8em;
margin-bottom: 1.5em;
border-bottom: 4px solid #f0a656;
}
.vp-hero-title {
font-size: 1.8em;
font-weight: 600;
line-height: 1.2;
}
.vp-hero-text {
margin-top: 0.4em;
opacity: 0.9;
}
.vp-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1.2em;
margin-bottom: 1.5em;
}
@media (max-width: 800px) {
.vp-grid { grid-template-columns: 1fr; }
}
.vp-tile {
background: var(--color-surface-1, #fff);
border: 1px solid var(--border-color-base, #d8dde3);
border-radius: 12px;
overflow: hidden;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.vp-tile-head {
background: #27364a;
color: #fff;
font-weight: 600;
padding: 0.7em 1em;
border-bottom: 3px solid #f0a656;
}
.vp-tile-body {
padding: 0.6em 1em 0.8em;
}
.vp-tile-body ul {
margin: 0 0 0 1.1em;
}
.vp-tile-body li {
margin: 0.25em 0;
}
/* ===== Hauptseite: Dunkelmodus ===== */
html.skin-theme-clientpref-night .vp-tile {
background: #1a2332;
border-color: #33445c;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
html.skin-theme-clientpref-night .vp-tile-head {
background: linear-gradient(90deg, #34506f 0%, #2a3f59 100%);
}
html.skin-theme-clientpref-night .vp-tile-body a,
html.skin-theme-clientpref-night .vp-lang a {
color: #8fbaf5;
}
html.skin-theme-clientpref-night .vp-tile-body a:hover {
color: #f0a656;
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .vp-tile {
background: #1a2332;
border-color: #33445c;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
html.skin-theme-clientpref-os .vp-tile-head {
background: linear-gradient(90deg, #34506f 0%, #2a3f59 100%);
}
html.skin-theme-clientpref-os .vp-tile-body a,
html.skin-theme-clientpref-os .vp-lang a {
color: #8fbaf5;
}
html.skin-theme-clientpref-os .vp-tile-body a:hover {
color: #f0a656;
}
}