MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
Zeile 32: | Zeile 32: | ||
} | } | ||
/* Korrektur der Navigation und des Inhaltslayouts */ | |||
#mw-panel { | #mw-panel { | ||
background-color: var(--main-bg); | background-color: var(--main-bg); | ||
color: var(--text-color); | color: var(--text-color); | ||
position: absolute; | |||
width: 10em; | |||
left: 0; | |||
} | |||
#content { | |||
background-color: var(--content-bg); | |||
padding: 2em; | |||
border: 1px solid var(--border-color); | |||
border-radius: 4px; | |||
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); | |||
margin: 1em 0 1em 11em; /* Erhöhter linker Abstand */ | |||
position: relative; | |||
width: auto; | |||
min-width: 45em; | |||
} | } | ||
div#mw-head { | div#mw-head { | ||
background-color: var(--main-bg); | background-color: var(--main-bg); | ||
position: absolute; | |||
width: calc(100% - 11em); /* Angepasste Breite */ | |||
margin-left: 11em; | |||
} | } | ||
Zeile 49: | Zeile 68: | ||
} | } | ||
/* | /* Rest des CSS bleibt unverändert */ | ||
h1, h2, h3, h4, h5, h6 { | h1, h2, h3, h4, h5, h6 { | ||
color: var(--header-color); | color: var(--header-color); | ||
Zeile 67: | Zeile 76: | ||
} | } | ||
a, | a, | ||
a:visited, | a:visited, | ||
Zeile 87: | Zeile 95: | ||
} | } | ||
a:hover, | a:hover, | ||
a.new:hover, | a.new:hover, | ||
Zeile 99: | Zeile 106: | ||
} | } | ||
.vector-menu-tabs, .vector-menu-tabs a { | .vector-menu-tabs, .vector-menu-tabs a { | ||
background-color: var(--main-bg); | background-color: var(--main-bg); | ||
Zeile 111: | Zeile 117: | ||
} | } | ||
#searchInput { | #searchInput { | ||
border: 1px solid var(--border-color); | border: 1px solid var(--border-color); | ||
Zeile 126: | Zeile 131: | ||
} | } | ||
#mw-panel .portal { | #mw-panel .portal { | ||
background-color: var(--main-bg); | background-color: var(--main-bg); | ||
Zeile 135: | Zeile 139: | ||
} | } | ||
table.wikitable { | table.wikitable { | ||
background-color: var(--content-bg); | background-color: var(--content-bg); | ||
Zeile 157: | Zeile 160: | ||
} | } | ||
#editform textarea { | #editform textarea { | ||
background-color: var(--input-bg); | background-color: var(--input-bg); | ||
Zeile 165: | Zeile 167: | ||
} | } | ||
.mw-ui-button { | .mw-ui-button { | ||
background-color: var(--link-color); | background-color: var(--link-color); | ||
Zeile 179: | Zeile 180: | ||
} | } | ||
pre, code { | pre, code { | ||
background-color: var(--input-bg); | background-color: var(--input-bg); | ||
Zeile 187: | Zeile 187: | ||
} | } | ||
.mw-message-box { | .mw-message-box { | ||
background-color: var(--input-bg); | background-color: var(--input-bg); | ||
Zeile 194: | Zeile 193: | ||
} | } | ||
a.new::after { | a.new::after { | ||
content: " (noch nicht angelegt)"; | content: " (noch nicht angelegt)"; | ||
Zeile 200: | Zeile 198: | ||
} | } | ||
div#mw-head div.vector-menu h3 { | div#mw-head div.vector-menu h3 { | ||
background-color: var(--main-bg); | background-color: var(--main-bg); |
Version vom 19. November 2024, 11:40 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ /* Library Theme für MediaWiki - Vector 2010 Anpassung */ /* Grundlegende Farben */ :root { --main-bg: #2c2620; --content-bg: #3a332d; --text-color: #e6d5c4; --link-color: #dfc5a1; --header-color: #e6c9a3; --border-color: #564b41; --input-bg: #463c34; } /* Basis-Layout und Header-Bereich für Vector 2010 */ body { background-color: var(--main-bg); color: var(--text-color); font-family: 'Georgia', serif; } /* Vector-spezifische Anpassungen für den oberen Bereich */ #mw-page-base { background-color: var(--main-bg); background-image: none; } #mw-head-base { background-color: var(--main-bg); background-image: none; } /* Korrektur der Navigation und des Inhaltslayouts */ #mw-panel { background-color: var(--main-bg); color: var(--text-color); position: absolute; width: 10em; left: 0; } #content { background-color: var(--content-bg); padding: 2em; border: 1px solid var(--border-color); border-radius: 4px; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); margin: 1em 0 1em 11em; /* Erhöhter linker Abstand */ position: relative; width: auto; min-width: 45em; } div#mw-head { background-color: var(--main-bg); position: absolute; width: calc(100% - 11em); /* Angepasste Breite */ margin-left: 11em; } #p-personal { background-color: var(--main-bg); } #left-navigation, #right-navigation { background-color: var(--main-bg); } /* Rest des CSS bleibt unverändert */ h1, h2, h3, h4, h5, h6 { color: var(--header-color); font-family: 'Libre Baskerville', Georgia, serif; border-bottom: 1px solid var(--border-color); padding-bottom: 0.3em; } a, a:visited, a:hover, a:active, a.new, a.new:visited, a.new:hover, #mw-panel a, #mw-panel a:visited, #p-personal a, #p-personal a:visited, #left-navigation a, #right-navigation a, .vector-menu-content a, .vector-menu-content a:visited { color: var(--link-color); text-decoration: none; } a:hover, a.new:hover, #mw-panel a:hover, #p-personal a:hover, #left-navigation a:hover, #right-navigation a:hover, .vector-menu-content a:hover { text-decoration: underline; color: var(--link-color); } .vector-menu-tabs, .vector-menu-tabs a { background-color: var(--main-bg); color: var(--link-color); } .vector-menu-tabs .selected a, .vector-menu-tabs .selected a:visited { background-color: var(--content-bg); color: var(--link-color); } #searchInput { border: 1px solid var(--border-color); border-radius: 3px; padding: 0.5em; background-color: var(--input-bg); color: var(--text-color); } #searchButton { background-color: var(--input-bg); border: 1px solid var(--border-color); color: var(--text-color); } #mw-panel .portal { background-color: var(--main-bg); } #mw-panel .portal .body { background-image: none; } table.wikitable { background-color: var(--content-bg); border: 1px solid var(--border-color); border-collapse: collapse; margin: 1em 0; } table.wikitable > tr > th, table.wikitable > * > tr > th { background-color: var(--input-bg); border: 1px solid var(--border-color); padding: 0.5em; color: var(--header-color); } table.wikitable > tr > td, table.wikitable > * > tr > td { border: 1px solid var(--border-color); padding: 0.5em; } #editform textarea { background-color: var(--input-bg); color: var(--text-color); border: 1px solid var(--border-color); padding: 0.5em; } .mw-ui-button { background-color: var(--link-color); color: var(--main-bg); border: none; padding: 0.5em 1em; border-radius: 3px; } .mw-ui-button:hover { background-color: var(--link-color); text-decoration: none; } pre, code { background-color: var(--input-bg); border: 1px solid var(--border-color); padding: 0.2em 0.4em; border-radius: 3px; } .mw-message-box { background-color: var(--input-bg); border-color: var(--border-color); color: var(--text-color); } a.new::after { content: " (noch nicht angelegt)"; color: var(--text-color); } div#mw-head div.vector-menu h3 { background-color: var(--main-bg); color: var(--text-color); } div#mw-head div.vector-menu h3 span { color: var(--text-color); }