MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Inhalt hinzugefügt Inhalt gelöscht
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
+ | /* +++++ 1. Wikitable für schöne Tabellen +++++ */ |
||
+ | |||
.wikitable, |
.wikitable, |
||
.prettytable { |
.prettytable { |
||
Zeile 28: | Zeile 30: | ||
+ | /* +++++ 2. Neue Tabellen +++++ */ |
||
− | /* +++++ 2. Neue Tabellen +++++ /* |
||
.mw-statistics-table { |
.mw-statistics-table { |
||
border-collapse:separate !important; |
border-collapse:separate !important; |
||
} |
} |
||
− | . |
+ | .roundtable,.mw-statistics-table { |
border:2px solid #ccc; |
border:2px solid #ccc; |
||
− | -moz-border-radius:0. |
+ | -moz-border-radius:0.5em; |
− | border-radius:0. |
+ | border-radius:0.5em; |
background:#fff; |
background:#fff; |
||
padding:0.05em; |
padding:0.05em; |
||
margin: 0 0.5em 0.5em 0; |
margin: 0 0.5em 0.5em 0; |
||
} |
} |
||
− | . |
+ | .roundtable th,.mw-statistics-table th { |
padding:0.1em 0.5em; |
padding:0.1em 0.5em; |
||
} |
} |
||
.mw-statistics-table th { |
.mw-statistics-table th { |
||
− | border-radius:0. |
+ | border-radius:0.5em; |
− | -moz-border-radius:0. |
+ | -moz-border-radius:0.5em; |
padding:0.1em 0.5em !important; |
padding:0.1em 0.5em !important; |
||
} |
} |
||
Zeile 54: | Zeile 56: | ||
padding-right:0.5em; |
padding-right:0.5em; |
||
} |
} |
||
− | . |
+ | .roundtable td, .mw-statistics-table td { |
border:0; |
border:0; |
||
border-bottom: 1px dashed #66cc66; |
border-bottom: 1px dashed #66cc66; |
||
padding-right:0.5em; |
padding-right:0.5em; |
||
} |
} |
||
+ | .roundtable.land th { |
||
− | .newtable.straße, .mw-statistics-table { |
||
+ | background: #66cc66; |
||
+ | } |
||
+ | .roundtable.land, .roundtable.land td { |
||
+ | border-color: rgb(172, 230, 172); |
||
+ | } |
||
+ | .roundtable.hoehle th { |
||
+ | background: #cc9966; |
||
+ | } |
||
+ | .roundtable.hoehle,.roundtable.hoehle td { |
||
+ | border-color: rgb(230, 201, 172); |
||
+ | } |
||
+ | .roundtable.wasser th { |
||
+ | background: #6699CC; |
||
+ | } |
||
+ | .roundtable.wasser,.roundtable.wasser td { |
||
+ | border-color: #ACC9E6 |
||
+ | } |
||
+ | .roundtable.wüste th { |
||
+ | background: #CDAD00; |
||
+ | } |
||
+ | .roundtable.wüste,.roundtable.wüste td { |
||
+ | border-color: #EEC900 |
||
+ | } |
||
+ | .roundtable.straße th,.mw-statistics-table th { |
||
+ | background: #d4d4d4; |
||
+ | } |
||
+ | .roundtable.straße, .mw-statistics-table { |
||
border-color: #e0e0e0 !important; |
border-color: #e0e0e0 !important; |
||
} |
} |
||
− | . |
+ | .roundtable.straße td,.mw-statistics-table td { |
border-color: #cccccc !important; |
border-color: #cccccc !important; |
||
+ | } |
||
+ | |||
+ | .round { |
||
+ | border-radius:0.5em; |
||
+ | -moz-border-radius:0.5em; |
||
+ | } |
||
+ | .round-left, .round-top, .round-topleft { |
||
+ | border-radius-topleft:0.5em; |
||
+ | -moz-border-radius-topleft:0.5em; |
||
+ | } |
||
+ | .round-right, .round-top, .round-topright { |
||
+ | border-radius-topright:0.5em; |
||
+ | -moz-border-radius-topright:0.5em; |
||
+ | } |
||
+ | .round-left, .round-bottom, .round-bottomleft { |
||
+ | border-radius-bottomleft:0.5em; |
||
+ | -moz-border-radius-bottomleft:0.5em; |
||
+ | } |
||
+ | .round-right, .round-bottom, .round-bottomright { |
||
+ | border-radius-bottomright:0.5em; |
||
+ | -moz-border-radius-bottomright:0.5em; |
||
+ | } |
||
+ | |||
+ | .noround { |
||
+ | border-radius:0em !important; |
||
+ | -moz-border-radius:0em !important; |
||
+ | } |
||
+ | .noround-left, .noround-top, .noround-topleft { |
||
+ | border-radius-topleft:0em !important; |
||
+ | -moz-border-radius-topleft:0em !important; |
||
+ | } |
||
+ | .noround-right, .noround-top, .noround-topright { |
||
+ | border-radius-topright:0em !important; |
||
+ | -moz-border-radius-topright:0em !important; |
||
+ | } |
||
+ | .noround-left, .noround-bottom, .noround-bottomleft { |
||
+ | border-radius-bottomleft:0em !important; |
||
+ | -moz-border-radius-bottomleft:0em !important; |
||
+ | } |
||
+ | .noround-right, .noround-bottom, .noround-bottomright { |
||
+ | border-radius-bottomright:0em !important; |
||
+ | -moz-border-radius-bottomright:0em !important; |
||
} |
} |
||
Zeile 72: | Zeile 143: | ||
background-color: white; |
background-color: white; |
||
} |
} |
||
− | |||
− | /* Kategorie verbergen */ |
||
− | body.page-Wikipedia_Hauptseite #catlinks { |
||
− | display:none; |
||
− | } |
||
− | |||
− | /* Redirhinweis verbergen - ACHTUNG: Je nach Skin muss jetzt der Abstand zum oberen Rand korrigiert werden */ |
||
− | body.page-Wikipedia_Hauptseite #contentSub { |
||
− | display: none; |
||
− | } |
||
− | |||
#hauptseite h2 { |
#hauptseite h2 { |
||
background-color: #f7f7f7; |
background-color: #f7f7f7; |
||
Zeile 149: | Zeile 209: | ||
} |
} |
||
+ | /* +++++ 4. Stylesheet-Ergänzung zu Standard-Navigationsleisten +++++ */ |
||
− | /* IPA links nicht unterstreichen */ |
||
− | .IPA a:link, .IPA a:visited { |
||
− | text-decoration: none; |
||
− | } |
||
− | |||
− | /* CSS-Klassen für Schriftarten |
||
− | * Achtung: IE6 mag keine Zeilenumbrüche zwischen den Fonts. |
||
− | */ |
||
− | .Unicode { |
||
− | font-family: 'Code2000','Sun-ExtA','Arial Unicode MS','NSimSun',sans-serif; |
||
− | } |
||
− | .Unicode1 { |
||
− | font-family: 'Code2001','Quivira','MPH 2B Damase',sans-serif; |
||
− | } |
||
− | .Unicode2 { |
||
− | font-family: 'Sun-ExtB','Code2002',sans-serif; |
||
− | } |
||
− | .IPA { |
||
− | font-family: 'Quivira','Code2000','Sun-ExtA','DejaVu Sans','Gentium','Arial Unicode MS','Lucida Sans Unicode',sans-serif; |
||
− | } |
||
− | .IAST { |
||
− | font-family: 'Code2000','SunExtA','Arial Unicode MS',sans-serif; |
||
− | } |
||
− | .altitalisch { |
||
− | font-family: 'Quivira','Code2001','MPH 2B Damase',sans-serif; |
||
− | } |
||
− | .gotisch { |
||
− | font-family: 'Quivira','Code2001','MPH 2B Damase',sans-serif; |
||
− | } |
||
− | .hebrew { |
||
− | font-family: 'Quivira','Sun-ExtA','Arial Unicode MS','SBL Hebrew','Code2000','MPH 2B Damase', sans-serif; |
||
− | } |
||
− | .spanAr { |
||
− | font-family: 'Arial Unicode MS','Scheherazade','Code2000','DejaVu Sans',sans-serif; |
||
− | } |
||
− | .music-symbol { |
||
− | font-family: 'Musical Symbols','Euterpe','Code2001',sans-serif; |
||
− | } |
||
− | |||
− | |||
− | /* Stylesheet-Ergänzung zu Standard-[[Wikipedia:Navigationsleisten|Navigationsleisten]] */ |
||
div.BoxenVerschmelzen, |
div.BoxenVerschmelzen, |
Version vom 11. Oktober 2009, 16:09 Uhr
/* +++++ 1. Wikitable für schöne Tabellen +++++ */ .wikitable, .prettytable { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #AAA solid; border-collapse: collapse; empty-cells:show; } .wikitable th, .wikitable td, .prettytable th, .prettytable td { border: 1px #AAA solid; padding: 0.3em; } .wikitable caption, .prettytable caption { margin-left: inherit; margin-right: inherit; font-weight: bold; } .nogrid th, .nogrid td {border: none;} .float-left { float: left; clear: left; } .float-right { float: right; clear: right; margin: 1em 0 1em 1em; } .centered { margin-left: auto; margin-right: auto; } .toptextcells td { vertical-align: top; } /* +++++ 2. Neue Tabellen +++++ */ .mw-statistics-table { border-collapse:separate !important; } .roundtable,.mw-statistics-table { border:2px solid #ccc; -moz-border-radius:0.5em; border-radius:0.5em; background:#fff; padding:0.05em; margin: 0 0.5em 0.5em 0; } .roundtable th,.mw-statistics-table th { padding:0.1em 0.5em; } .mw-statistics-table th { border-radius:0.5em; -moz-border-radius:0.5em; padding:0.1em 0.5em !important; } .mw-statistics-table td { border:0 !important; border-bottom: 1px dashed #66cc66 !important; padding-right:0.5em; } .roundtable td, .mw-statistics-table td { border:0; border-bottom: 1px dashed #66cc66; padding-right:0.5em; } .roundtable.land th { background: #66cc66; } .roundtable.land, .roundtable.land td { border-color: rgb(172, 230, 172); } .roundtable.hoehle th { background: #cc9966; } .roundtable.hoehle,.roundtable.hoehle td { border-color: rgb(230, 201, 172); } .roundtable.wasser th { background: #6699CC; } .roundtable.wasser,.roundtable.wasser td { border-color: #ACC9E6 } .roundtable.wüste th { background: #CDAD00; } .roundtable.wüste,.roundtable.wüste td { border-color: #EEC900 } .roundtable.straße th,.mw-statistics-table th { background: #d4d4d4; } .roundtable.straße, .mw-statistics-table { border-color: #e0e0e0 !important; } .roundtable.straße td,.mw-statistics-table td { border-color: #cccccc !important; } .round { border-radius:0.5em; -moz-border-radius:0.5em; } .round-left, .round-top, .round-topleft { border-radius-topleft:0.5em; -moz-border-radius-topleft:0.5em; } .round-right, .round-top, .round-topright { border-radius-topright:0.5em; -moz-border-radius-topright:0.5em; } .round-left, .round-bottom, .round-bottomleft { border-radius-bottomleft:0.5em; -moz-border-radius-bottomleft:0.5em; } .round-right, .round-bottom, .round-bottomright { border-radius-bottomright:0.5em; -moz-border-radius-bottomright:0.5em; } .noround { border-radius:0em !important; -moz-border-radius:0em !important; } .noround-left, .noround-top, .noround-topleft { border-radius-topleft:0em !important; -moz-border-radius-topleft:0em !important; } .noround-right, .noround-top, .noround-topright { border-radius-topright:0em !important; -moz-border-radius-topright:0em !important; } .noround-left, .noround-bottom, .noround-bottomleft { border-radius-bottomleft:0em !important; -moz-border-radius-bottomleft:0em !important; } .noround-right, .noround-bottom, .noround-bottomright { border-radius-bottomright:0em !important; -moz-border-radius-bottomright:0em !important; } /* +++++ 3. Hauptseitendesign (aus der Wikipedia kopiert) +++++ */ /* Hintergrund weiß */ body.page-Wikipedia_Hauptseite #content { background-color: white; } #hauptseite h2 { background-color: #f7f7f7; border: 1px solid #8898bf; font-size: 1em; font-weight: bold; margin-top: 0; margin-bottom: 0; padding-top: 0.1em; padding-bottom: 0.1em; } #hauptseite .inhalt { background-color: #ffffff; border: 1px solid #8898bf; border-top: 0px solid white; padding: 0.3em 0.8em 0.4em 0.8em; } #hauptseite .inhalt hr { background-color: #8898bf; color: #8898bf; height: 1px; margin:0.5em 0; padding: 0; } #hauptseite .inhalt .mehr { clear: both; font-size: 95%; margin-top: 0.8em; text-align: right; } #hauptseite table { background-color: transparent; } .hauptseite-oben, .hauptseite-links, .hauptseite-rechts { margin-bottom: 1em; } .hauptseite-links { margin-right: 0.5em; } .hauptseite-rechts { margin-left: 0.5em; } .hauptseite-oben h2, .hauptseite-unten h2 { text-align: center; } .hauptseite-oben .inhalt .portale { font-weight: bold; margin-top: 0.2em; margin-bottom: 0.2em; } .hauptseite-oben .inhalt .intern { font-size: 90%; text-align: center; } .hauptseite-links h2, .hauptseite-rechts h2 { text-indent: 0.8em; } #hauptseite-schwesterprojekte .inhalt a { font-weight: bold; } /* +++++ 4. Stylesheet-Ergänzung zu Standard-Navigationsleisten +++++ */ div.BoxenVerschmelzen, 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; } /* Stylesheet fuer den 'Ausklappen'-Button an Navileisten, der in [[MediaWiki:Common.js]] implementiert wird */ .NavToggle { font-size: x-small; float:right; } /* Workaround für Internet Explorer 6 */ div.NavFrame, div.NavPic, .NavToggle { position:relative; } /* Abstand vor Navigationsleisten */ div.BoxenVerschmelzen, div.NavFrame { margin-top: 1.5em; } div.BoxenVerschmelzen div.NavFrame { margin-top: 0; } div.NavFrame + div.NavFrame { margin-top: 0; }