MediaWiki:Common.css: Unterschied zwischen den Versionen
MediaWiki-Schnittstellenseite
Weitere Optionen
Kachel-Layout Hauptseite |
Keine Bearbeitungszusammenfassung |
||
| (Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ | /* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ | ||
/* ===== Hauptseite: Kachel-Layout (neutral) ===== */ | |||
/* ===== Hauptseite: Kachel-Layout | |||
.vp-lang { | .vp-lang { | ||
| Zeile 11: | Zeile 10: | ||
.vp-hero { | .vp-hero { | ||
background: # | background: #4a4f55 linear-gradient(135deg, #3f444a 0%, #5d636a 100%); | ||
color: #fff; | color: #fff; | ||
border-radius: 12px; | border-radius: 12px; | ||
padding: 1.6em 1.8em; | padding: 1.6em 1.8em; | ||
margin-bottom: 1.5em; | margin-bottom: 1.5em; | ||
} | } | ||
.vp-hero-title { | .vp-hero-title { | ||
| Zeile 46: | Zeile 44: | ||
} | } | ||
.vp-tile-head { | .vp-tile-head { | ||
background: # | background: #575757; | ||
color: #fff; | color: #fff; | ||
font-weight: 600; | font-weight: 600; | ||
padding: 0.7em 1em; | padding: 0.7em 1em; | ||
} | } | ||
.vp-tile-body { | .vp-tile-body { | ||
| Zeile 60: | Zeile 57: | ||
.vp-tile-body li { | .vp-tile-body li { | ||
margin: 0.25em 0; | margin: 0.25em 0; | ||
} | |||
/* ===== Hauptseite: Dunkelmodus ===== */ | |||
html.skin-theme-clientpref-night .vp-tile { | |||
background: #1f2226; | |||
border-color: #3a3f45; | |||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); | |||
} | |||
html.skin-theme-clientpref-night .vp-tile-head, | |||
html.skin-theme-clientpref-night .vp-hero { | |||
background: #3a3f45; | |||
} | |||
html.skin-theme-clientpref-night .vp-tile-body a, | |||
html.skin-theme-clientpref-night .vp-lang a { | |||
color: #9ec3ff; | |||
} | |||
@media (prefers-color-scheme: dark) { | |||
html.skin-theme-clientpref-os .vp-tile { | |||
background: #1f2226; | |||
border-color: #3a3f45; | |||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); | |||
} | |||
html.skin-theme-clientpref-os .vp-tile-head, | |||
html.skin-theme-clientpref-os .vp-hero { | |||
background: #3a3f45; | |||
} | |||
html.skin-theme-clientpref-os .vp-tile-body a, | |||
html.skin-theme-clientpref-os .vp-lang a { | |||
color: #9ec3ff; | |||
} | |||
} | } | ||
Aktuelle Version vom 29. September 2026, 13:31 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* ===== Hauptseite: Kachel-Layout (neutral) ===== */
.vp-lang {
font-size: 0.9em;
margin-bottom: 1em;
opacity: 0.85;
}
.vp-hero {
background: #4a4f55 linear-gradient(135deg, #3f444a 0%, #5d636a 100%);
color: #fff;
border-radius: 12px;
padding: 1.6em 1.8em;
margin-bottom: 1.5em;
}
.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: #575757;
color: #fff;
font-weight: 600;
padding: 0.7em 1em;
}
.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: #1f2226;
border-color: #3a3f45;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
html.skin-theme-clientpref-night .vp-tile-head,
html.skin-theme-clientpref-night .vp-hero {
background: #3a3f45;
}
html.skin-theme-clientpref-night .vp-tile-body a,
html.skin-theme-clientpref-night .vp-lang a {
color: #9ec3ff;
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .vp-tile {
background: #1f2226;
border-color: #3a3f45;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
html.skin-theme-clientpref-os .vp-tile-head,
html.skin-theme-clientpref-os .vp-hero {
background: #3a3f45;
}
html.skin-theme-clientpref-os .vp-tile-body a,
html.skin-theme-clientpref-os .vp-lang a {
color: #9ec3ff;
}
}