MediaWiki:Monobook.css
Aus Kitakien
(Unterschied zwischen Versionen)
K (einrückung) |
(gemeinsamer teil der skins wird zukünftig durch MediaWiki:Common.css abgedeckt) |
||
Zeile 1: | Zeile 1: | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
/*-----------------------------------------------------------------------------*/ | /*-----------------------------------------------------------------------------*/ | ||
- | /* | + | /* Änderungen am Monobook-Skin für die deutschsprachige Wikipedia */ |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
/*-----------------------------------------------------------------------------*/ | /*-----------------------------------------------------------------------------*/ | ||
Zeile 269: | Zeile 7: | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
- | + | ||
/* Großbuchstaben in den Navigationsbereichen */ | /* Großbuchstaben in den Navigationsbereichen */ | ||
Zeile 278: | Zeile 16: | ||
text-transform: none; | text-transform: none; | ||
} | } | ||
- | + | ||
/* Fetter Bearbeiten-Link */ | /* Fetter Bearbeiten-Link */ | ||
Zeile 284: | Zeile 22: | ||
font-weight: bold !important; | font-weight: bold !important; | ||
} | } | ||
- | + | ||
- | /* Vermeide hässliche weiße Ränder bei Float-Objekten | + | /* Vermeide hässliche weiße Ränder bei Float-Objekten auf nicht-weißen Hintergründen. */ |
- | + | ||
div.thumb { | div.thumb { | ||
Zeile 299: | Zeile 36: | ||
margin: 0.5em 1.4em 0.8em 0; | margin: 0.5em 1.4em 0.8em 0; | ||
} | } | ||
- | + | ||
/* fromWikipedia */ | /* fromWikipedia */ | ||
Zeile 305: | Zeile 42: | ||
font-size: x-small; | font-size: x-small; | ||
} | } | ||
- | + | ||
/* Make all non-namespace pages have a light blue content area. This is done by | /* Make all non-namespace pages have a light blue content area. This is done by | ||
setting the background color for all #content areas to light blue and then | setting the background color for all #content areas to light blue and then | ||
Zeile 327: | Zeile 64: | ||
background: inherit; | background: inherit; | ||
} | } | ||
- | + | ||
/* Kategorien etwas schöner darstellen */ | /* Kategorien etwas schöner darstellen */ | ||
Zeile 334: | Zeile 71: | ||
border-top: 2px dotted #aaaaaa; | border-top: 2px dotted #aaaaaa; | ||
} | } | ||
- | + | ||
/* Tabellenüberschriften (mit |+) größer und fett */ | /* Tabellenüberschriften (mit |+) größer und fett */ | ||
Zeile 341: | Zeile 78: | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
- | + | ||
/* Externhinweis */ | /* Externhinweis */ | ||
Zeile 351: | Zeile 88: | ||
.NavToggle { | .NavToggle { | ||
- | + | font-size: x-small; | |
- | + | float:right; | |
} | } | ||
- | + | ||
/* die folgenden drei Abschnitte müssen auch in den Skins Amethyst, Monobook und Nostalgia synchron angepasst werden. */ | /* die folgenden drei Abschnitte müssen auch in den Skins Amethyst, Monobook und Nostalgia synchron angepasst werden. */ | ||
- | + | ||
/* Formatierung betrifft Vorlagen: Geokoordinate, Koordinate2 & Koordinate3 */ | /* Formatierung betrifft Vorlagen: Geokoordinate, Koordinate2 & Koordinate3 */ | ||
#coordinates { | #coordinates { | ||
- | + | position:absolute; z-index:1; border:none; background:none; right:12px; top:0.3em; float:right; margin:0.0em; | |
- | + | padding:0.0em; line-height:1.5em; text-align:right; text-indent:0; font-size:85%; text-transform:none; white-space:normal; | |
} | } | ||
- | + | ||
/* kleines Globus-Symbol neben der Geookordinate anzeigen */ | /* kleines Globus-Symbol neben der Geookordinate anzeigen */ | ||
#coordinates a[href ^="http://"] { | #coordinates a[href ^="http://"] { | ||
background: url(http://upload.wikimedia.org/wikipedia/de/d/d4/Gnome-globe.png) center right no-repeat; padding-right: 18px; !important; | background: url(http://upload.wikimedia.org/wikipedia/de/d/d4/Gnome-globe.png) center right no-repeat; padding-right: 18px; !important; | ||
} | } | ||
- | + | ||
/* für "Vorlage:ISSN-Link" damit ohne Globus-Symbol */ | /* für "Vorlage:ISSN-Link" damit ohne Globus-Symbol */ | ||
#issnlink { | #issnlink { | ||
- | + | position:absolute; z-index:1; border:none; background:none; right:12px; top:0.3em; float:right; margin:0.0em; | |
- | + | padding:0.0em; line-height:1.5em; text-align:right; text-indent:0; font-size:85%; text-transform:none; white-space:normal; | |
} | } | ||
- | + | ||
/* für "Vorlage:Editcount" */ | /* für "Vorlage:Editcount" */ | ||
#editcount { | #editcount { | ||
- | + | position:absolute; z-index:1; border:none; background:none; right:12px; top:0.3em; float:right; margin:0.0em; | |
- | + | padding:0.0em; line-height:1.5em; text-align:right; text-indent:0; font-size:85%; text-transform:none; white-space:normal; | |
} | } | ||
- | + | ||
/* Formatierung für Abkürzungen (experimentell) */ | /* Formatierung für Abkürzungen (experimentell) */ | ||
#shortcut { | #shortcut { | ||
- | + | position:absolute; z-index:1; border:none; background:none; right:12px; top:0.3em; float:right; margin:0.0em; | |
- | + | padding:0.0em; line-height:1.5em; text-align:right; text-indent:0; font-size:90%; text-transform:none; white-space:normal; | |
} | } | ||
+ | /* Links im Portal:Punk */ | ||
#punk a { | #punk a { | ||
- | + | color: red | |
} | } | ||
#punk a.new { | #punk a.new { | ||
- | + | color: #FF8000 | |
} | } |
Version vom 16:20, 17. Dez. 2005
/*-----------------------------------------------------------------------------*/ /* Änderungen am Monobook-Skin für die deutschsprachige Wikipedia */ /*-----------------------------------------------------------------------------*/ /* Links nicht unterstreichen */ a { text-decoration: none; } /* Großbuchstaben in den Navigationsbereichen */ .portlet h5, .portlet h6, #p-personal ul, #p-cactions li a { text-transform: none; } /* Fetter Bearbeiten-Link */ #ca-edit a { font-weight: bold !important; } /* Vermeide hässliche weiße Ränder bei Float-Objekten auf nicht-weißen Hintergründen. */ div.thumb { border: none; } div.tright { border: none; margin: 0.5em 0 0.8em 1.4em; } div.tleft { border: none; margin: 0.5em 1.4em 0.8em 0; } /* fromWikipedia */ #fromWikipedia { font-size: x-small; } /* Make all non-namespace pages have a light blue content area. This is done by setting the background color for all #content areas to light blue and then overriding it for any #content enclosed in a .ns-0 (main namespace). I then do the same for the "tab" background colors. --Lupo */ #content, #mytabs li.selected a, #p-cactions li.selected a { background-color: #F3F3FF; /* ein leichtes blau */ } .ns-0 #content, .ns-0 #mytabs li.selected a, .ns-0 #p-cactions li.selected a { background-color: white; } .ns--1 table, .ns-2 table, .ns-4 table, .ns--1 form { background: inherit; } /* Kategorien etwas schöner darstellen */ #catlinks { border: 0px; border-top: 2px dotted #aaaaaa; } /* Tabellenüberschriften (mit |+) größer und fett */ caption { font-size: 105%; font-weight: bold; } /* Externhinweis */ #externHinweis { font-size: x-small; text-align: center; padding: 5px; } .NavToggle { font-size: x-small; float:right; } /* die folgenden drei Abschnitte müssen auch in den Skins Amethyst, Monobook und Nostalgia synchron angepasst werden. */ /* Formatierung betrifft Vorlagen: Geokoordinate, Koordinate2 & Koordinate3 */ #coordinates { position:absolute; z-index:1; border:none; background:none; right:12px; top:0.3em; float:right; margin:0.0em; padding:0.0em; line-height:1.5em; text-align:right; text-indent:0; font-size:85%; text-transform:none; white-space:normal; } /* kleines Globus-Symbol neben der Geookordinate anzeigen */ #coordinates a[href ^="http://"] { background: url(http://upload.wikimedia.org/wikipedia/de/d/d4/Gnome-globe.png) center right no-repeat; padding-right: 18px; !important; } /* für "Vorlage:ISSN-Link" damit ohne Globus-Symbol */ #issnlink { position:absolute; z-index:1; border:none; background:none; right:12px; top:0.3em; float:right; margin:0.0em; padding:0.0em; line-height:1.5em; text-align:right; text-indent:0; font-size:85%; text-transform:none; white-space:normal; } /* für "Vorlage:Editcount" */ #editcount { position:absolute; z-index:1; border:none; background:none; right:12px; top:0.3em; float:right; margin:0.0em; padding:0.0em; line-height:1.5em; text-align:right; text-indent:0; font-size:85%; text-transform:none; white-space:normal; } /* Formatierung für Abkürzungen (experimentell) */ #shortcut { position:absolute; z-index:1; border:none; background:none; right:12px; top:0.3em; float:right; margin:0.0em; padding:0.0em; line-height:1.5em; text-align:right; text-indent:0; font-size:90%; text-transform:none; white-space:normal; } /* Links im Portal:Punk */ #punk a { color: red } #punk a.new { color: #FF8000 }