MediaWiki:Common.css
(Unterschied zwischen Versionen)Zeile 1: | Zeile 1: | ||
- | + | /* | |
- | + | * Farbdefinitionen für Rahmen und Hintergründe von [[w:Wikipedia:Textbausteine|Textbausteinen]]. | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | * Farbdefinitionen für Rahmen und Hintergründe von [[Wikipedia:Textbausteine|Textbausteinen]]. | + | |
* Hier: Standardvorgaben für "dunkle Schrift auf hellem Grund". | * Hier: Standardvorgaben für "dunkle Schrift auf hellem Grund". | ||
* Für Hell-auf-dunkel-Skins ([[MediaWiki:Amethyst.css|Amethyst]]) müssen dort entsprechende Definitionen | * Für Hell-auf-dunkel-Skins ([[MediaWiki:Amethyst.css|Amethyst]]) müssen dort entsprechende Definitionen | ||
Zeile 303: | Zeile 9: | ||
.rahmenfarbe1 { /* Wie Inhaltsverzeichnis */ | .rahmenfarbe1 { /* Wie Inhaltsverzeichnis */ | ||
- | + | border-color: #aaaaaa; | |
- | + | border-width: 1px; | |
} | } | ||
.rahmenfarbe2 { /* Unauffällig, geringer Kontrast */ | .rahmenfarbe2 { /* Unauffällig, geringer Kontrast */ | ||
- | + | border-color: #e9e9e9; | |
- | + | border-width: 1px; | |
} | } | ||
.rahmenfarbe3 { /* "Rot", auffällig */ | .rahmenfarbe3 { /* "Rot", auffällig */ | ||
- | + | border-color: #c00000; | |
- | + | border-width: 1px; | |
} | } | ||
.rahmenfarbe4 { /* Neutrale Farbe, deutlich */ | .rahmenfarbe4 { /* Neutrale Farbe, deutlich */ | ||
- | + | border-color: #8888aa; | |
- | + | border-width: 1px; | |
} | } | ||
.rahmenfarbe5 { /* "Schwarz", hoher Kontrast */ | .rahmenfarbe5 { /* "Schwarz", hoher Kontrast */ | ||
- | + | border-color: #000000; | |
- | + | border-width: 1px; | |
} | } | ||
.hintergrundfarbe1 { /* Wie Inhaltsverzeichnis */ | .hintergrundfarbe1 { /* Wie Inhaltsverzeichnis */ | ||
- | + | background-color: #f9f9f9; | |
} | } | ||
.hintergrundfarbe2 { /* "Weiß", für Nicht-Artikel-Seiten, neutral */ | .hintergrundfarbe2 { /* "Weiß", für Nicht-Artikel-Seiten, neutral */ | ||
- | + | background-color: #ffffff; | |
} | } | ||
.hintergrundfarbe3 { /* "Gelb", auffällig */ | .hintergrundfarbe3 { /* "Gelb", auffällig */ | ||
- | + | background-color: #ffff40; | |
} | } | ||
.hintergrundfarbe4 { /* Sehr auffällig */ | .hintergrundfarbe4 { /* Sehr auffällig */ | ||
- | + | background-color: #ffaa00; | |
} | } | ||
.hintergrundfarbe5 { /* Neutral, abgesetzt */ | .hintergrundfarbe5 { /* Neutral, abgesetzt */ | ||
- | + | background-color: #e0e0e0; | |
} | } | ||
- | .hintergrundfarbe6 { /* | + | .hintergrundfarbe6 { /* Blau abgesetzt */ |
- | + | background-color: #b3b7ff; | |
} | } | ||
- | .hintergrundfarbe7 { /* | + | .hintergrundfarbe7 { /* Rot abgesetzt */ |
- | + | background-color: #ffcbcb; | |
} | } | ||
- | .hintergrundfarbe8 { /* | + | .hintergrundfarbe8 { /* Gelb abgesetzt */ |
- | + | background-color: #ffebad; | |
} | } | ||
- | .hintergrundfarbe9 { /* | + | .hintergrundfarbe9 { /* Grün abgesetzt */ |
- | + | background-color: #b9ffc5; | |
} | } | ||
- | /* | + | /* Abschnitt-Bearbeiten-Links */ |
- | + | .editsection { | |
- | . | + | font-size:90%; |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | /* | + | /***** |
+ | ** Bytecounter colours | ||
+ | *****/ | ||
+ | strong.mw-plusminus-neg | ||
+ | { | ||
+ | color: #cc0000; | ||
+ | } | ||
+ | span.mw-plusminus-neg | ||
+ | { | ||
+ | color: #990000; | ||
+ | } | ||
+ | .mw-plusminus-pos | ||
+ | { | ||
+ | color: #006600; | ||
+ | } | ||
- | + | /* Keine Vergrößerung der Zeilenhöhe durch hochgestellte Zahlen der Fußnoten */ | |
- | + | .reference, .references sup { | |
+ | font-size: 91%; | ||
+ | vertical-align: text-top; | ||
+ | position: relative; | ||
+ | top: -0.3em; | ||
} | } | ||
- | + | /* Zur vertikalen Ausrichtung von Zelleninhalten in Tabellen */ | |
- | + | /* am oberen Rand (Standardeinstellung: mittig). */ | |
+ | table.table-valign-top td { | ||
+ | vertical-align: top; | ||
} | } | ||
- | + | div.NavFrame { | |
- | + | margin: 0px; | |
- | + | padding: 2px; | |
- | + | border: 1px solid #aaaaaa; | |
+ | text-align: center; | ||
+ | border-collapse: collapse; | ||
+ | font-size: 95%; | ||
+ | clear:both; | ||
} | } | ||
- | + | div.BoxenVerschmelzen div.NavFrame { | |
- | + | border-style: none; | |
- | + | border-style: hidden; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | div.NavFrame + div.NavFrame { | |
- | + | border-top-style: none; | |
- | + | border-top-style: hidden; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | div.NavPic { | |
- | + | background-color: #ffffff; | |
- | + | margin: 0px; | |
- | + | padding: 2px; | |
+ | float: left; | ||
} | } | ||
- | + | div.NavFrame div.NavHead { | |
- | div. | + | font-weight: bold; |
- | + | font-size: 100%; | |
+ | background-color: #efefef; | ||
} | } | ||
- | + | div.NavFrame p { | |
- | + | font-size: 100%; | |
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | div.NavFrame div.NavContent { | |
- | + | font-size: 100%; | |
- | + | ||
- | + | ||
} | } | ||
- | + | div.NavFrame div.NavContent p { | |
- | + | font-size: 100%; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | div.NavEnd { | |
- | + | margin: 0px; | |
- | + | padding: 0px; | |
- | + | line-height: 1px; | |
- | + | clear: both; | |
- | + | ||
} | } | ||
- | + | .NavToggle { | |
- | + | font-size: x-small; | |
- | + | float:right; | |
- | + | ||
- | + | ||
} | } | ||
- | /* | + | /* Nichtanzeige von Benutzergruppen in [[Spezial:Statistik]], |
- | . | + | * die keine Mitglieder haben |
- | + | */ | |
- | + | .statistics-group-zero {display:none;} | |
- | /* | + | /* Hervorhebung der angeklickten Fußnoten und der Rückverweise in blau */ |
- | + | ol.references > li:target { | |
- | + | background-color: #DEF; | |
- | + | ||
} | } | ||
- | + | sup.reference:target { | |
- | + | background-color: #DEF; | |
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | /* Von Wikipedia übernommen Prettytable */ | |
- | + | ||
- | + | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | + | /* prettytable class for skinning normal tables */ | |
- | + | ||
- | + | ||
- | + | ||
- | + | table.prettytable { | |
- | + | margin: 1em 1em 1em 0; | |
- | + | font-size:95%; | |
- | + | background: #f9f9f9; | |
+ | color: black; | ||
+ | border: 1px #aaaaaa solid; | ||
+ | border-collapse: collapse; | ||
+ | empty-cells: show; | ||
+ | } | ||
- | + | table.prettytable th, table.prettytable td { | |
- | + | border: 1px #aaaaaa solid; | |
- | + | padding: 0.2em 0.6em; | |
- | + | } | |
- | + | table.prettytable th { | |
- | + | background: #ddddff; | |
- | + | text-align: left; | |
- | + | } | |
- | + | table.prettytable caption { | |
- | + | margin-left: inherit; | |
- | + | margin-right: inherit; | |
- | + | font-size: larger; | |
- | + | font-weight: bold; | |
- | + | } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + |
Version vom 15:07, 10. Feb. 2009
/* * Farbdefinitionen für Rahmen und Hintergründe von [[w:Wikipedia:Textbausteine|Textbausteinen]]. * Hier: Standardvorgaben für "dunkle Schrift auf hellem Grund". * Für Hell-auf-dunkel-Skins ([[MediaWiki:Amethyst.css|Amethyst]]) müssen dort entsprechende Definitionen * zusätzlich eingetragen werden! Anpassungen für andere Skins sind optional. * (Die Angaben der Rahmenstärke dienen der Bequemlichkeit, so dass man * für dünne Rahmen nur noch "border-style" angeben muss.) */ .rahmenfarbe1 { /* Wie Inhaltsverzeichnis */ border-color: #aaaaaa; border-width: 1px; } .rahmenfarbe2 { /* Unauffällig, geringer Kontrast */ border-color: #e9e9e9; border-width: 1px; } .rahmenfarbe3 { /* "Rot", auffällig */ border-color: #c00000; border-width: 1px; } .rahmenfarbe4 { /* Neutrale Farbe, deutlich */ border-color: #8888aa; border-width: 1px; } .rahmenfarbe5 { /* "Schwarz", hoher Kontrast */ border-color: #000000; border-width: 1px; } .hintergrundfarbe1 { /* Wie Inhaltsverzeichnis */ background-color: #f9f9f9; } .hintergrundfarbe2 { /* "Weiß", für Nicht-Artikel-Seiten, neutral */ background-color: #ffffff; } .hintergrundfarbe3 { /* "Gelb", auffällig */ background-color: #ffff40; } .hintergrundfarbe4 { /* Sehr auffällig */ background-color: #ffaa00; } .hintergrundfarbe5 { /* Neutral, abgesetzt */ background-color: #e0e0e0; } .hintergrundfarbe6 { /* Blau abgesetzt */ background-color: #b3b7ff; } .hintergrundfarbe7 { /* Rot abgesetzt */ background-color: #ffcbcb; } .hintergrundfarbe8 { /* Gelb abgesetzt */ background-color: #ffebad; } .hintergrundfarbe9 { /* Grün abgesetzt */ background-color: #b9ffc5; } /* Abschnitt-Bearbeiten-Links */ .editsection { font-size:90%; } /***** ** Bytecounter colours *****/ strong.mw-plusminus-neg { color: #cc0000; } span.mw-plusminus-neg { color: #990000; } .mw-plusminus-pos { color: #006600; } /* Keine Vergrößerung der Zeilenhöhe durch hochgestellte Zahlen der Fußnoten */ .reference, .references sup { font-size: 91%; vertical-align: text-top; position: relative; top: -0.3em; } /* Zur vertikalen Ausrichtung von Zelleninhalten in Tabellen */ /* am oberen Rand (Standardeinstellung: mittig). */ table.table-valign-top td { vertical-align: top; } div.NavFrame { margin: 0px; padding: 2px; border: 1px solid #aaaaaa; text-align: center; border-collapse: collapse; font-size: 95%; clear:both; } div.BoxenVerschmelzen div.NavFrame { border-style: none; border-style: hidden; } div.NavFrame + div.NavFrame { border-top-style: none; border-top-style: hidden; } div.NavPic { background-color: #ffffff; margin: 0px; padding: 2px; float: left; } div.NavFrame div.NavHead { font-weight: bold; font-size: 100%; background-color: #efefef; } div.NavFrame p { font-size: 100%; } div.NavFrame div.NavContent { font-size: 100%; } div.NavFrame div.NavContent p { font-size: 100%; } div.NavEnd { margin: 0px; padding: 0px; line-height: 1px; clear: both; } .NavToggle { font-size: x-small; float:right; } /* Nichtanzeige von Benutzergruppen in [[Spezial:Statistik]], * die keine Mitglieder haben */ .statistics-group-zero {display:none;} /* Hervorhebung der angeklickten Fußnoten und der Rückverweise in blau */ ol.references > li:target { background-color: #DEF; } sup.reference:target { background-color: #DEF; } /* Von Wikipedia übernommen Prettytable */ /* prettytable class for skinning normal tables */ table.prettytable { margin: 1em 1em 1em 0; font-size:95%; background: #f9f9f9; color: black; border: 1px #aaaaaa solid; border-collapse: collapse; empty-cells: show; } table.prettytable th, table.prettytable td { border: 1px #aaaaaa solid; padding: 0.2em 0.6em; } table.prettytable th { background: #ddddff; text-align: left; } table.prettytable caption { margin-left: inherit; margin-right: inherit; font-size: larger; font-weight: bold; }