MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Root (Diskussion | Beiträge) K (+css für die Hauptseite) |
Root (Diskussion | Beiträge) K |
||
Zeile 1: | Zeile 1: | ||
− | + | <pre> <!-- nur für die Darstellung innerhalb des MediaWikis; bei der Verarbeitung als CSS-Datei werden die Tags ignoriert. --> | |
− | table.wikitable, | + | /* Tabellen */ |
− | table.prettytable { | + | |
+ | table.wikitable, table.prettytable { | ||
margin: 1em 1em 1em 0; | margin: 1em 1em 1em 0; | ||
background: #f9f9f9; | background: #f9f9f9; | ||
Zeile 9: | Zeile 10: | ||
} | } | ||
− | table.wikitable th, table.wikitable td, | + | table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td { |
− | table.prettytable th, table.prettytable td { | ||
border: 1px solid #8cacbb; | border: 1px solid #8cacbb; | ||
padding: 0.2em; | padding: 0.2em; | ||
} | } | ||
− | table.wikitable th, | + | table.wikitable th, table.prettytable th { |
− | table.prettytable th { | ||
background: #dee7ec; | background: #dee7ec; | ||
text-align: left; | text-align: left; | ||
} | } | ||
− | table.wikitable caption, | + | table.wikitable caption, table.prettytable caption { |
− | table.prettytable caption { | ||
margin-left: inherit; | margin-left: inherit; | ||
margin-right: inherit; | margin-right: inherit; | ||
} | } | ||
− | + | /* Hauptseite */ | |
#hauptseite h2 { | #hauptseite h2 { | ||
− | + | background-color: #d8e8ff; | |
− | + | 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-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; | ||
+ | } | ||
+ | </pre> |
Version vom 31. Juli 2006, 21:34 Uhr
<pre> <!-- nur für die Darstellung innerhalb des MediaWikis; bei der Verarbeitung als CSS-Datei werden die Tags ignoriert. --> /* Tabellen */ table.wikitable, table.prettytable { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaaaaa solid; border-collapse: collapse; } table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td { border: 1px solid #8cacbb; padding: 0.2em; } table.wikitable th, table.prettytable th { background: #dee7ec; text-align: left; } table.wikitable caption, table.prettytable caption { margin-left: inherit; margin-right: inherit; } /* Hauptseite */ #hauptseite h2 { background-color: #d8e8ff; 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-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; } </pre>