MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
Zeile 3: | Zeile 3: | ||
/* Vector 2010 Anpassung */ | /* Vector 2010 Anpassung */ | ||
/* Grundlegende | /* Grundlegende Farbvariablen */ | ||
:root { | :root { | ||
--main-bg: # | --main-bg: #1a1614; /* Haupthintergrund - sehr dunkel */ | ||
--content-bg: # | --content-bg: #2a2420; /* Content Hintergrund - etwas heller */ | ||
--text-color: #e6d5c4; | --sidebar-bg: #1a1614; /* Seitenleiste Hintergrund */ | ||
--content-text: #ffffff; /* | --text-color: #e6d5c4; /* Haupttextfarbe - hell beige */ | ||
--link-color: #dfc5a1; | --content-text: #ffffff; /* Content Text - weiß für bessere Lesbarkeit */ | ||
--header-color: #e6c9a3; | --link-color: #dfc5a1; /* Links - helles beige */ | ||
--border-color: # | --link-hover: #fff2e6; /* Link Hover - noch heller */ | ||
--input-bg: # | --header-color: #e6c9a3; /* Überschriften - warmes beige */ | ||
-- | --border-color: #3d332b; /* Rahmen - dunkles braun */ | ||
--text | --input-bg: #2c2620; /* Eingabefelder - dunkel */ | ||
--category-bg: #1a1614; /* Kategorie Background - sehr dunkel */ | |||
--category-text: #e6d5c4; /* Kategorie Text - hell beige */ | |||
} | } | ||
/* Basis | /* Basis Layout */ | ||
body { | body { | ||
background-color: var(--main-bg); | background-color: var(--main-bg); | ||
Zeile 24: | Zeile 26: | ||
} | } | ||
/* | /* Content Bereich */ | ||
#content { | #content { | ||
background-color: var(--content-bg); | background-color: var(--content-bg); | ||
color: var(--content-text); | |||
padding: 2em; | padding: 2em; | ||
margin: 1em 0 1em 11em; | |||
border: 1px solid var(--border-color); | border: 1px solid var(--border-color); | ||
border-radius: 4px; | border-radius: 4px; | ||
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); | box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); | ||
position: relative; | position: relative; | ||
width: auto; | width: auto; | ||
min-width: 45em; | min-width: 45em; | ||
} | } | ||
Zeile 80: | Zeile 48: | ||
} | } | ||
/* | /* Links */ | ||
a, | a, a:visited { | ||
color: var(--link-color); | color: var(--link-color); | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
a:hover { | |||
a:hover | color: var(--link-hover); | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
/* Navigation | /* Navigation */ | ||
#mw-panel { | |||
background-color: var(-- | background-color: var(--sidebar-bg); | ||
color: var(-- | color: var(--text-color); | ||
position: absolute; | |||
width: 10em; | |||
left: 0; | |||
} | } | ||
#mw-head { | |||
background-color: var(--main-bg); | |||
background-color: var(-- | position: absolute; | ||
width: calc(100% - 11em); | |||
margin-left: 11em; | |||
} | } | ||
/* Suchfeld */ | /* Suchfeld */ | ||
#searchInput { | #searchInput { | ||
background-color: var(--input-bg); | |||
color: var(--text-color); | |||
border: 1px solid var(--border-color); | border: 1px solid var(--border-color); | ||
border-radius: 3px; | border-radius: 3px; | ||
padding: 0.5em; | padding: 0.5em; | ||
} | } | ||
Zeile 159: | Zeile 95: | ||
table.wikitable > * > tr > th { | table.wikitable > * > tr > th { | ||
background-color: var(--input-bg); | background-color: var(--input-bg); | ||
color: var(--header-color); | |||
border: 1px solid var(--border-color); | border: 1px solid var(--border-color); | ||
padding: 0.5em; | padding: 0.5em; | ||
} | } | ||
Zeile 168: | Zeile 104: | ||
border: 1px solid var(--border-color); | border: 1px solid var(--border-color); | ||
padding: 0.5em; | padding: 0.5em; | ||
color: var(--content-text); | color: var(--content-text); | ||
} | } | ||
/* | /* Kategorien */ | ||
# | #catlinks { | ||
background-color: var(-- | background-color: var(--category-bg); | ||
border: 1px solid var(--border-color); | border: 1px solid var(--border-color); | ||
padding: 0. | border-radius: 4px; | ||
padding: 0.7em 1em; | |||
margin-top: 1em; | |||
} | } | ||
#catlinks, | |||
#catlinks a, | |||
#catlinks a:visited { | |||
color: var(-- | color: var(--category-text); | ||
} | } | ||
#catlinks a:hover { | |||
color: var(--link-hover); | |||
text-decoration: | text-decoration: underline; | ||
} | } | ||
/* Code und | /* Code und Pre */ | ||
pre, code { | pre, code { | ||
background-color: var(--input-bg); | background-color: var(--input-bg); | ||
Zeile 199: | Zeile 133: | ||
padding: 0.2em 0.4em; | padding: 0.2em 0.4em; | ||
border-radius: 3px; | border-radius: 3px; | ||
color: var(--content-text | color: var(--content-text); | ||
} | } | ||
/* Inhaltsverzeichnis */ | |||
#toc, .toc { | |||
/* Inhaltsverzeichnis | |||
#toc, | |||
.toc { | |||
background-color: var(--input-bg); | background-color: var(--input-bg); | ||
border: 1px solid var(--border-color); | border: 1px solid var(--border-color); | ||
Zeile 235: | Zeile 145: | ||
} | } | ||
.toc h2, #toc h2 { | |||
.toc h2, | |||
#toc h2 { | |||
color: var(--header-color); | color: var(--header-color); | ||
border-bottom: 1px solid var(--border-color); | border-bottom: 1px solid var(--border-color); | ||
Zeile 243: | Zeile 151: | ||
} | } | ||
/* | /* Editierbereich */ | ||
#editform textarea { | |||
# | background-color: var(--input-bg); | ||
color: var(-- | |||
color: var(--text-color); | color: var(--text-color); | ||
border: 1px solid var(--border-color); | |||
padding: 0.5em; | |||
} | } | ||
/* | /* Buttons */ | ||
. | .mw-ui-button { | ||
background-color: var(--link-color); | |||
color: var(-- | color: var(--main-bg); | ||
border: none; | |||
padding: 0.5em 1em; | |||
border-radius: 3px; | |||
} | } | ||
.mw-ui-button:hover { | |||
. | background-color: var(--link-hover); | ||
color: var(-- | |||
} | } |
Version vom 2. Dezember 2024, 14:09 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ /* Vector 2010 Anpassung */ /* Grundlegende Farbvariablen */ :root { --main-bg: #1a1614; /* Haupthintergrund - sehr dunkel */ --content-bg: #2a2420; /* Content Hintergrund - etwas heller */ --sidebar-bg: #1a1614; /* Seitenleiste Hintergrund */ --text-color: #e6d5c4; /* Haupttextfarbe - hell beige */ --content-text: #ffffff; /* Content Text - weiß für bessere Lesbarkeit */ --link-color: #dfc5a1; /* Links - helles beige */ --link-hover: #fff2e6; /* Link Hover - noch heller */ --header-color: #e6c9a3; /* Überschriften - warmes beige */ --border-color: #3d332b; /* Rahmen - dunkles braun */ --input-bg: #2c2620; /* Eingabefelder - dunkel */ --category-bg: #1a1614; /* Kategorie Background - sehr dunkel */ --category-text: #e6d5c4; /* Kategorie Text - hell beige */ } /* Basis Layout */ body { background-color: var(--main-bg); color: var(--text-color); font-family: 'Georgia', serif; } /* Content Bereich */ #content { background-color: var(--content-bg); color: var(--content-text); padding: 2em; margin: 1em 0 1em 11em; border: 1px solid var(--border-color); border-radius: 4px; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); position: relative; width: auto; min-width: 45em; } /* Überschriften */ 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; } /* Links */ a, a:visited { color: var(--link-color); text-decoration: none; } a:hover { color: var(--link-hover); text-decoration: underline; } /* Navigation */ #mw-panel { background-color: var(--sidebar-bg); color: var(--text-color); position: absolute; width: 10em; left: 0; } #mw-head { background-color: var(--main-bg); position: absolute; width: calc(100% - 11em); margin-left: 11em; } /* Suchfeld */ #searchInput { background-color: var(--input-bg); color: var(--text-color); border: 1px solid var(--border-color); border-radius: 3px; padding: 0.5em; } /* Tabellen */ 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); color: var(--header-color); border: 1px solid var(--border-color); padding: 0.5em; } table.wikitable > tr > td, table.wikitable > * > tr > td { border: 1px solid var(--border-color); padding: 0.5em; color: var(--content-text); } /* Kategorien */ #catlinks { background-color: var(--category-bg); border: 1px solid var(--border-color); border-radius: 4px; padding: 0.7em 1em; margin-top: 1em; } #catlinks, #catlinks a, #catlinks a:visited { color: var(--category-text); } #catlinks a:hover { color: var(--link-hover); text-decoration: underline; } /* Code und Pre */ pre, code { background-color: var(--input-bg); border: 1px solid var(--border-color); padding: 0.2em 0.4em; border-radius: 3px; color: var(--content-text); } /* Inhaltsverzeichnis */ #toc, .toc { background-color: var(--input-bg); border: 1px solid var(--border-color); padding: 1em; border-radius: 4px; color: var(--content-text); } .toc h2, #toc h2 { color: var(--header-color); border-bottom: 1px solid var(--border-color); margin-top: 0; } /* Editierbereich */ #editform textarea { background-color: var(--input-bg); color: var(--text-color); border: 1px solid var(--border-color); padding: 0.5em; } /* Buttons */ .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-hover); }