MediaWiki:Common.css: Unterschied zwischen den Versionen
Erscheinungsbild
Die Seite wurde neu angelegt: „→── Happylab Berlin – Dark Theme ──: :root { --hl-bg: #0a0a0a; --hl-bg2: #111111; --hl-border: #2a2a2a; --hl-accent: #39ff14; --hl-text: #e0e0e0; --hl-muted: #888; } →Hintergrund: body, .skin-vector, .mw-body, .vector-body, #content { background: var(--hl-bg) !important; color: var(--hl-text) !important; } →Header: .vector-header, #mw-header, .mw-header { background: #111 !important; border-…“ |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
/* ── Happylab Berlin – Dark Theme ── */ | /* ── Happylab Berlin – Dark Theme für Vector 2022 ── */ | ||
:root { | :root { | ||
--hl-bg: #0a0a0a; | --hl-bg: #0a0a0a; | ||
--hl-bg2: #111111; | --hl-bg2: #111111; | ||
--hl-bg3: #1a1a1a; | |||
--hl-border: #2a2a2a; | --hl-border: #2a2a2a; | ||
--hl-accent: #39ff14; | --hl-accent: #39ff14; | ||
--hl-text: #e0e0e0; | --hl-text: #e0e0e0; | ||
--hl-muted: # | --hl-muted: #666; | ||
} | } | ||
/* | /* ── Haupt-Container ── */ | ||
body, | html, body, | ||
.skin-vector, | .skin-vector, | ||
.skin-vector-2022, | |||
.vector-page-container, | |||
.mw-page-container, | |||
.mw-page-container-inner, | |||
.vector-body, | |||
.mw-body, | .mw-body, | ||
#content, | |||
#content { | #mw-content-text { | ||
background: var(--hl-bg) !important; | background: var(--hl-bg) !important; | ||
color: var(--hl-text) !important; | color: var(--hl-text) !important; | ||
} | } | ||
/* Header */ | /* ── Header ── */ | ||
.vector-header-container, | |||
.vector-header, | .vector-header, | ||
#mw-header, | #mw-header, | ||
.mw-header { | header.mw-header { | ||
background: | background: var(--hl-bg2) !important; | ||
border-bottom: 1px solid var(--hl-border) !important; | border-bottom: 1px solid var(--hl-border) !important; | ||
box-shadow: none !important; | |||
} | |||
/* ── Suchfeld ── */ | |||
.cdx-search-input, | |||
.cdx-text-input, | |||
.cdx-text-input__input, | |||
#searchInput { | |||
background: var(--hl-bg3) !important; | |||
color: var(--hl-text) !important; | |||
border-color: var(--hl-border) !important; | |||
} | |||
.cdx-search-input__start-icon { | |||
color: var(--hl-muted) !important; | |||
} | } | ||
/* Sidebar / Navigation */ | /* ── Suchbutton ── */ | ||
.cdx-button--action-progressive, | |||
.cdx-button--weight-primary { | |||
background: var(--hl-accent) !important; | |||
color: #000 !important; | |||
border: none !important; | |||
font-weight: bold !important; | |||
} | |||
.cdx-button--action-progressive:hover { | |||
background: #fff !important; | |||
color: #000 !important; | |||
} | |||
/* ── Sidebar / Navigation ── */ | |||
.vector-column-start, | .vector-column-start, | ||
. | .mw-portlet, | ||
#mw-panel, | #mw-panel, | ||
.vector-toc- | .vector-main-menu-container, | ||
.vector-toc-container, | |||
.vector-sticky-header { | |||
background: var(--hl-bg2) !important; | background: var(--hl-bg2) !important; | ||
border- | border-color: var(--hl-border) !important; | ||
} | } | ||
/* | /* ── Seitenleisten-Menü ── */ | ||
.mw- | .vector-menu-heading, | ||
.vector- | .mw-portlet-label, | ||
background: var(--hl- | .vector-main-menu .vector-menu-heading { | ||
color: var(--hl-muted) !important; | |||
font-family: monospace !important; | |||
text-transform: uppercase; | |||
font-size: 10px; | |||
letter-spacing: 0.08em; | |||
border-bottom: 1px solid var(--hl-border) !important; | |||
} | |||
/* ── Tabs (Lesen / Bearbeiten etc.) ── */ | |||
.vector-page-toolbar, | |||
.vector-page-toolbar-container { | |||
background: var(--hl-bg2) !important; | |||
border-bottom: 1px solid var(--hl-border) !important; | |||
box-shadow: none !important; | |||
} | |||
.mw-list-item a, | |||
.vector-menu-tabs .mw-list-item a { | |||
color: var(--hl-muted) !important; | |||
} | |||
.mw-list-item.selected a, | |||
.vector-menu-tabs .mw-list-item.selected a { | |||
color: var(--hl-accent) !important; | |||
border-bottom: 2px solid var(--hl-accent) !important; | |||
} | } | ||
/* Links */ | /* ── Links ── */ | ||
a, | a, a:visited, | ||
a:visited { | .mw-body-content a, | ||
.vector-main-menu a { | |||
color: var(--hl-accent) !important; | color: var(--hl-accent) !important; | ||
text-decoration: none !important; | |||
} | } | ||
a:hover { | a:hover { | ||
color: #fff !important; | color: #fff !important; | ||
text-decoration: underline; | text-decoration: underline !important; | ||
} | } | ||
a.new { color: #ff6b6b !important; } /* Rotlink = fehlende Seite */ | |||
/* Überschriften */ | /* ── Überschriften ── */ | ||
h1, h2, h3, h4, h5 { | h1, h2, h3, h4, h5, h6, | ||
.mw-first-heading, | |||
.mw-page-title-main { | |||
font-family: monospace !important; | font-family: monospace !important; | ||
color: #fff !important; | color: #fff !important; | ||
border-bottom | border-bottom: 1px solid var(--hl-border) !important; | ||
} | } | ||
/* | /* ── Inhaltsverzeichnis ── */ | ||
.vector- | .vector-toc, | ||
. | .mw-table-of-contents-container { | ||
background: var(--hl-bg2) !important; | |||
border: 1px solid var(--hl-border) !important; | |||
border | |||
} | } | ||
.vector-toc a { color: var(--hl-accent) !important; } | |||
.vector-toc .vector-toc-numb { color: var(--hl-muted) !important; } | |||
/* | /* ── Tabellen ── */ | ||
table.wikitable, | |||
. | table.wikitable > tr > th, | ||
table.wikitable > * > tr > th { | |||
background: var(--hl-bg2) !important; | |||
border-color: var(--hl-border) !important; | |||
color: var(--hl-text) !important; | color: var(--hl-text) !important; | ||
} | |||
table.wikitable > * > tr > td { | |||
border-color: var(--hl-border) !important; | border-color: var(--hl-border) !important; | ||
} | |||
table.wikitable tr:hover td { | |||
background: var(--hl-bg3) !important; | |||
} | } | ||
/* | /* ── Code / Pre ── */ | ||
. | code, pre, .mw-code { | ||
background: var(--hl-bg3) !important; | |||
background: var(--hl-accent) !important; | color: var(--hl-accent) !important; | ||
color: # | border: 1px solid var(--hl-border) !important; | ||
} | |||
/* ── Hinweisboxen ── */ | |||
.mw-message-box-notice { background: #0d1a0d !important; border-color: var(--hl-accent) !important; } | |||
.mw-message-box-warning { background: #1a1400 !important; border-color: #ffaa00 !important; } | |||
.mw-message-box-error { background: #1a0000 !important; border-color: #ff4444 !important; } | |||
/* ── Kategorie-Box ── */ | |||
.catlinks { | |||
background: var(--hl-bg2) !important; | |||
border: 1px solid var(--hl-border) !important; | |||
color: var(--hl-muted) !important; | |||
} | } | ||
/* | /* ── Footer ── */ | ||
.mw-footer, #footer { | |||
background: var(--hl-bg2) !important; | background: var(--hl-bg2) !important; | ||
border- | border-top: 1px solid var(--hl-border) !important; | ||
color: var(--hl- | color: var(--hl-muted) !important; | ||
} | } | ||
.mw-footer a, #footer a { | |||
color: var(--hl-muted) !important; | |||
} | } | ||
.mw-footer a:hover, #footer a:hover { | |||
color: var(--hl-accent) !important; | |||
} | } | ||
/* | /* ── Bearbeitungsformular ── */ | ||
.mw- | #wpTextbox1, .mw-editfont-monospace { | ||
. | background: var(--hl-bg3) !important; | ||
border- | color: var(--hl-text) !important; | ||
border: 1px solid var(--hl-border) !important; | |||
} | |||
.editOptions, .editCheckboxes { | |||
background: var(--hl-bg2) !important; | |||
border: 1px solid var(--hl-border) !important; | |||
} | } | ||
/* | /* ── User-Menü oben rechts ── */ | ||
.vector-user-menu, | |||
.mw- | .mw-portlet-personal { | ||
background: | background: transparent !important; | ||
} | } | ||
.vector-user-menu a { | |||
.vector-menu | |||
color: var(--hl-muted) !important; | color: var(--hl-muted) !important; | ||
} | } | ||
/* | /* ── Sticky Header ── */ | ||
.vector- | .vector-sticky-header { | ||
background: | background: var(--hl-bg2) !important; | ||
border-bottom: 1px solid var(--hl-border) !important; | border-bottom: 1px solid var(--hl-border) !important; | ||
} | } | ||
Version vom 9. Juli 2026, 09:52 Uhr
/* ── Happylab Berlin – Dark Theme für Vector 2022 ── */
:root {
--hl-bg: #0a0a0a;
--hl-bg2: #111111;
--hl-bg3: #1a1a1a;
--hl-border: #2a2a2a;
--hl-accent: #39ff14;
--hl-text: #e0e0e0;
--hl-muted: #666;
}
/* ── Haupt-Container ── */
html, body,
.skin-vector,
.skin-vector-2022,
.vector-page-container,
.mw-page-container,
.mw-page-container-inner,
.vector-body,
.mw-body,
#content,
#mw-content-text {
background: var(--hl-bg) !important;
color: var(--hl-text) !important;
}
/* ── Header ── */
.vector-header-container,
.vector-header,
#mw-header,
header.mw-header {
background: var(--hl-bg2) !important;
border-bottom: 1px solid var(--hl-border) !important;
box-shadow: none !important;
}
/* ── Suchfeld ── */
.cdx-search-input,
.cdx-text-input,
.cdx-text-input__input,
#searchInput {
background: var(--hl-bg3) !important;
color: var(--hl-text) !important;
border-color: var(--hl-border) !important;
}
.cdx-search-input__start-icon {
color: var(--hl-muted) !important;
}
/* ── Suchbutton ── */
.cdx-button--action-progressive,
.cdx-button--weight-primary {
background: var(--hl-accent) !important;
color: #000 !important;
border: none !important;
font-weight: bold !important;
}
.cdx-button--action-progressive:hover {
background: #fff !important;
color: #000 !important;
}
/* ── Sidebar / Navigation ── */
.vector-column-start,
.mw-portlet,
#mw-panel,
.vector-main-menu-container,
.vector-toc-container,
.vector-sticky-header {
background: var(--hl-bg2) !important;
border-color: var(--hl-border) !important;
}
/* ── Seitenleisten-Menü ── */
.vector-menu-heading,
.mw-portlet-label,
.vector-main-menu .vector-menu-heading {
color: var(--hl-muted) !important;
font-family: monospace !important;
text-transform: uppercase;
font-size: 10px;
letter-spacing: 0.08em;
border-bottom: 1px solid var(--hl-border) !important;
}
/* ── Tabs (Lesen / Bearbeiten etc.) ── */
.vector-page-toolbar,
.vector-page-toolbar-container {
background: var(--hl-bg2) !important;
border-bottom: 1px solid var(--hl-border) !important;
box-shadow: none !important;
}
.mw-list-item a,
.vector-menu-tabs .mw-list-item a {
color: var(--hl-muted) !important;
}
.mw-list-item.selected a,
.vector-menu-tabs .mw-list-item.selected a {
color: var(--hl-accent) !important;
border-bottom: 2px solid var(--hl-accent) !important;
}
/* ── Links ── */
a, a:visited,
.mw-body-content a,
.vector-main-menu a {
color: var(--hl-accent) !important;
text-decoration: none !important;
}
a:hover {
color: #fff !important;
text-decoration: underline !important;
}
a.new { color: #ff6b6b !important; } /* Rotlink = fehlende Seite */
/* ── Überschriften ── */
h1, h2, h3, h4, h5, h6,
.mw-first-heading,
.mw-page-title-main {
font-family: monospace !important;
color: #fff !important;
border-bottom: 1px solid var(--hl-border) !important;
}
/* ── Inhaltsverzeichnis ── */
.vector-toc,
.mw-table-of-contents-container {
background: var(--hl-bg2) !important;
border: 1px solid var(--hl-border) !important;
}
.vector-toc a { color: var(--hl-accent) !important; }
.vector-toc .vector-toc-numb { color: var(--hl-muted) !important; }
/* ── Tabellen ── */
table.wikitable,
table.wikitable > tr > th,
table.wikitable > * > tr > th {
background: var(--hl-bg2) !important;
border-color: var(--hl-border) !important;
color: var(--hl-text) !important;
}
table.wikitable > * > tr > td {
border-color: var(--hl-border) !important;
}
table.wikitable tr:hover td {
background: var(--hl-bg3) !important;
}
/* ── Code / Pre ── */
code, pre, .mw-code {
background: var(--hl-bg3) !important;
color: var(--hl-accent) !important;
border: 1px solid var(--hl-border) !important;
}
/* ── Hinweisboxen ── */
.mw-message-box-notice { background: #0d1a0d !important; border-color: var(--hl-accent) !important; }
.mw-message-box-warning { background: #1a1400 !important; border-color: #ffaa00 !important; }
.mw-message-box-error { background: #1a0000 !important; border-color: #ff4444 !important; }
/* ── Kategorie-Box ── */
.catlinks {
background: var(--hl-bg2) !important;
border: 1px solid var(--hl-border) !important;
color: var(--hl-muted) !important;
}
/* ── Footer ── */
.mw-footer, #footer {
background: var(--hl-bg2) !important;
border-top: 1px solid var(--hl-border) !important;
color: var(--hl-muted) !important;
}
.mw-footer a, #footer a {
color: var(--hl-muted) !important;
}
.mw-footer a:hover, #footer a:hover {
color: var(--hl-accent) !important;
}
/* ── Bearbeitungsformular ── */
#wpTextbox1, .mw-editfont-monospace {
background: var(--hl-bg3) !important;
color: var(--hl-text) !important;
border: 1px solid var(--hl-border) !important;
}
.editOptions, .editCheckboxes {
background: var(--hl-bg2) !important;
border: 1px solid var(--hl-border) !important;
}
/* ── User-Menü oben rechts ── */
.vector-user-menu,
.mw-portlet-personal {
background: transparent !important;
}
.vector-user-menu a {
color: var(--hl-muted) !important;
}
/* ── Sticky Header ── */
.vector-sticky-header {
background: var(--hl-bg2) !important;
border-bottom: 1px solid var(--hl-border) !important;
}