MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 8: | Zeile 8: | ||
--content-bg: #3a332d; | --content-bg: #3a332d; | ||
--text-color: #e6d5c4; | --text-color: #e6d5c4; | ||
--muted-text: #a89985; /* Gedämpfte Textfarbe für besseren Kontrast */ | |||
--link-color: #dfc5a1; | --link-color: #dfc5a1; | ||
--header-color: #e6c9a3; | --header-color: #e6c9a3; | ||
--border-color: #564b41; | --border-color: #564b41; | ||
--input-bg: #463c34; | --input-bg: #463c34; | ||
--tab-bg: #322b24; | |||
} | } | ||
| Zeile 19: | Zeile 21: | ||
color: var(--text-color); | color: var(--text-color); | ||
font-family: 'Georgia', serif; | font-family: 'Georgia', serif; | ||
} | |||
/* Logo-Bereich */ | |||
#p-logo { | |||
position: absolute; | |||
left: 0.5em; | |||
top: 0; | |||
width: 10em; | |||
height: 160px; | |||
z-index: 3; | |||
} | |||
#p-logo a { | |||
width: 10em; | |||
height: 160px; | |||
background-position: center center; | |||
background-repeat: no-repeat; | |||
background-size: contain; | |||
} | } | ||
| Zeile 25: | Zeile 45: | ||
background: var(--main-bg) !important; | background: var(--main-bg) !important; | ||
background-image: none !important; | background-image: none !important; | ||
height: 3em; | |||
} | } | ||
| Zeile 30: | Zeile 51: | ||
background: var(--main-bg) !important; | background: var(--main-bg) !important; | ||
background-image: none !important; | background-image: none !important; | ||
margin-top: -3em; | |||
} | } | ||
| Zeile 35: | Zeile 57: | ||
#content { | #content { | ||
background-color: var(--content-bg); | background-color: var(--content-bg); | ||
color: var(--text | color: var(--muted-text); | ||
border: 1px solid var(--border-color); | border: 1px solid var(--border-color); | ||
border-radius: 4px; | border-radius: 4px; | ||
| Zeile 42: | Zeile 64: | ||
z-index: 0; | z-index: 0; | ||
margin-left: 11em; | margin-left: 11em; | ||
} | |||
/* Tab-Navigation oben */ | |||
div.vectorTabs { | |||
background-color: var(--main-bg); | |||
padding-left: 11em; | |||
background-image: none; | |||
} | |||
div.vectorTabs ul { | |||
background-color: var(--main-bg); | |||
background-image: none; | |||
} | |||
div.vectorTabs li { | |||
background-color: var(--tab-bg); | |||
background-image: none; | |||
border: 1px solid var(--border-color); | |||
border-bottom: none; | |||
border-radius: 3px 3px 0 0; | |||
} | |||
div.vectorTabs li a { | |||
background-color: transparent !important; | |||
background-image: none !important; | |||
padding: 0.5em 0.75em; | |||
color: var(--link-color) !important; | |||
} | |||
div.vectorTabs li.selected { | |||
background-color: var(--content-bg); | |||
padding-bottom: 1px; | |||
} | |||
div.vectorTabs li.selected a { | |||
background-color: transparent !important; | |||
color: var(--link-color) !important; | |||
} | |||
/* Tabellen auf der Hauptseite */ | |||
#content table { | |||
background-color: var(--content-bg); | |||
color: var(--muted-text); | |||
border: 1px solid var(--border-color); | |||
} | |||
#content table th { | |||
background-color: var(--input-bg); | |||
color: var(--header-color); | |||
border: 1px solid var(--border-color); | |||
padding: 0.3em 0.6em; | |||
} | |||
#content table td { | |||
border: 1px solid var(--border-color); | |||
padding: 0.3em 0.6em; | |||
} | } | ||
| Zeile 50: | Zeile 128: | ||
position: absolute; | position: absolute; | ||
left: 0; | left: 0; | ||
top: | top: 160px; /* Angepasst für Logo-Höhe */ | ||
width: 10em; | width: 10em; | ||
z-index: 1; | z-index: 1; | ||
| Zeile 67: | Zeile 145: | ||
} | } | ||
/* Kopfbereich | /* Kopfbereich */ | ||
#mw-head { | #mw-head { | ||
background-color: var(--main-bg); | background-color: var(--main-bg); | ||
position: absolute; | position: absolute; | ||
z-index: 2; | z-index: 2; | ||
} | } | ||
| Zeile 87: | Zeile 158: | ||
} | } | ||
#p-personal li { | |||
color: var(--muted-text); | |||
} | } | ||
| Zeile 120: | Zeile 169: | ||
a.new, | a.new, | ||
#mw-panel a, | #mw-panel a, | ||
#p-personal | #p-personal a { | ||
color: var(--link-color); | color: var(--link-color); | ||
text-decoration: none; | text-decoration: none; | ||
| Zeile 144: | Zeile 192: | ||
/* Überschriften */ | /* Überschriften */ | ||
h1, h2, h3, h4, h5, h6 { | #firstHeading, h1, h2, h3, h4, h5, h6 { | ||
color: var(--header-color); | color: var(--header-color); | ||
border-bottom: 1px solid var(--border-color); | border-bottom: 1px solid var(--border-color); | ||
padding-bottom: 0.2em; | padding-bottom: 0.2em; | ||
} | } | ||
| Zeile 184: | Zeile 205: | ||
border: 1px solid var(--border-color); | border: 1px solid var(--border-color); | ||
border-radius: 3px; | border-radius: 3px; | ||
padding: 0.3em 0.6em; | |||
} | } | ||
| Zeile 190: | Zeile 212: | ||
background-color: var(--content-bg); | background-color: var(--content-bg); | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
| Zeile 202: | Zeile 217: | ||
a.new::after { | a.new::after { | ||
content: " (noch nicht angelegt)"; | content: " (noch nicht angelegt)"; | ||
color: var(--text | color: var(--muted-text); | ||
} | } | ||
Version vom 19. November 2024, 11:21 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* Dark Library Theme für MediaWiki - Vector 2010 */
/* Farbdefinitionen */
:root {
--main-bg: #2c2620;
--content-bg: #3a332d;
--text-color: #e6d5c4;
--muted-text: #a89985; /* Gedämpfte Textfarbe für besseren Kontrast */
--link-color: #dfc5a1;
--header-color: #e6c9a3;
--border-color: #564b41;
--input-bg: #463c34;
--tab-bg: #322b24;
}
/* Grundlegende Seiten-Struktur */
body {
background-color: var(--main-bg);
color: var(--text-color);
font-family: 'Georgia', serif;
}
/* Logo-Bereich */
#p-logo {
position: absolute;
left: 0.5em;
top: 0;
width: 10em;
height: 160px;
z-index: 3;
}
#p-logo a {
width: 10em;
height: 160px;
background-position: center center;
background-repeat: no-repeat;
background-size: contain;
}
/* Basis-Layout Korrekturen */
#mw-page-base {
background: var(--main-bg) !important;
background-image: none !important;
height: 3em;
}
#mw-head-base {
background: var(--main-bg) !important;
background-image: none !important;
margin-top: -3em;
}
/* Hauptinhalt */
#content {
background-color: var(--content-bg);
color: var(--muted-text);
border: 1px solid var(--border-color);
border-radius: 4px;
padding: 1em;
position: relative;
z-index: 0;
margin-left: 11em;
}
/* Tab-Navigation oben */
div.vectorTabs {
background-color: var(--main-bg);
padding-left: 11em;
background-image: none;
}
div.vectorTabs ul {
background-color: var(--main-bg);
background-image: none;
}
div.vectorTabs li {
background-color: var(--tab-bg);
background-image: none;
border: 1px solid var(--border-color);
border-bottom: none;
border-radius: 3px 3px 0 0;
}
div.vectorTabs li a {
background-color: transparent !important;
background-image: none !important;
padding: 0.5em 0.75em;
color: var(--link-color) !important;
}
div.vectorTabs li.selected {
background-color: var(--content-bg);
padding-bottom: 1px;
}
div.vectorTabs li.selected a {
background-color: transparent !important;
color: var(--link-color) !important;
}
/* Tabellen auf der Hauptseite */
#content table {
background-color: var(--content-bg);
color: var(--muted-text);
border: 1px solid var(--border-color);
}
#content table th {
background-color: var(--input-bg);
color: var(--header-color);
border: 1px solid var(--border-color);
padding: 0.3em 0.6em;
}
#content table td {
border: 1px solid var(--border-color);
padding: 0.3em 0.6em;
}
/* Linke Navigation */
#mw-panel {
background-color: var(--main-bg);
font-size: 0.9em;
position: absolute;
left: 0;
top: 160px; /* Angepasst für Logo-Höhe */
width: 10em;
z-index: 1;
}
#mw-panel .portal {
background: none;
margin: 0 0.6em 0 0.7em;
padding: 0.25em 0;
}
#mw-panel .portal .body {
background-image: none;
margin: 0;
padding-top: 0.5em;
}
/* Kopfbereich */
#mw-head {
background-color: var(--main-bg);
position: absolute;
z-index: 2;
}
/* Persönliche Tools */
#p-personal {
background-color: var(--main-bg);
padding-left: 11em;
}
#p-personal li {
color: var(--muted-text);
}
/* Links */
a,
a:visited,
a:active,
a:hover,
a.new,
#mw-panel a,
#p-personal a {
color: var(--link-color);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* Suchfeld */
#p-search {
background-color: var(--main-bg);
}
#searchInput {
background-color: var(--input-bg);
color: var(--text-color);
border: 1px solid var(--border-color);
padding: 0.3em;
border-radius: 3px;
}
/* Überschriften */
#firstHeading, h1, h2, h3, h4, h5, h6 {
color: var(--header-color);
border-bottom: 1px solid var(--border-color);
padding-bottom: 0.2em;
}
/* Buttons */
.mw-ui-button,
button {
background-color: var(--input-bg);
color: var(--text-color);
border: 1px solid var(--border-color);
border-radius: 3px;
padding: 0.3em 0.6em;
}
.mw-ui-button:hover,
button:hover {
background-color: var(--content-bg);
text-decoration: none;
}
/* Neue Seiten Link Anpassung */
a.new::after {
content: " (noch nicht angelegt)";
color: var(--muted-text);
}