MediaWiki:Common.css: Różnice pomiędzy wersjami
m |
|||
Linia 44: | Linia 44: | ||
table.datatable tr:hover { | table.datatable tr:hover { | ||
background-color: #ffffcc; | background-color: #ffffcc; | ||
+ | } | ||
+ | |||
+ | /* SideBox styling */ | ||
+ | div.sideBox { | ||
+ | position: relative; | ||
+ | float: right; | ||
+ | background: white; | ||
+ | margin-left: 1em; | ||
+ | border: 1px solid gray; | ||
+ | padding: 0.3em; | ||
+ | width: 200px; | ||
+ | overflow: hidden; | ||
+ | clear: right; | ||
+ | } | ||
+ | div.sideBox dl { | ||
+ | padding: 0; | ||
+ | margin: 0 0 0.3em 0; | ||
+ | font-size: 96%; | ||
+ | } | ||
+ | div.sideBox dl dt { | ||
+ | background: none; | ||
+ | margin: 0.4em 0 0 0; | ||
+ | } | ||
+ | div.sideBox dl dd { | ||
+ | margin: 0.1em 0 0 1.1em; | ||
+ | background-color: #f3f3f3; | ||
} | } |
Wersja z 21:40, 26 gru 2011
/* Umieszczony tutaj kod CSS zostanie zastosowany we wszystkich skórkach */ /* make the list of references look smaller and highlight clicked reference in blue */ ol.references > li:target { background-color: #e0d79d; } sup.reference:target { background-color: #e0d79d; } /* Give wikitables blue headings */ .wikitable th, .wikitable td.hl3, .wikitable th.hl3 { background-color: #e0d79d; } .wikitable td.hl1, .wikitable th.hl1 { background: #f6f3cf; } .wikitable td.hl2, .wikitable th.hl2 { background: #f6f3cf; } /** * Make entire table valign=top, * To replace the |valign=top| on every cell. */ .vatop tr, tr.vatop, .vatop td, .vatop th { vertical-align: top; } /* General purpose "pretty (data) tables" */ table.datatable { background-color: transparent; } table.datatable th, table.datatable td { padding: 4px; } table.datatable th { text-align: left; background-color: #999999; } table.datatable tr { background-color: #cccccc; } table.datatable tr:hover { background-color: #ffffcc; } /* SideBox styling */ div.sideBox { position: relative; float: right; background: white; margin-left: 1em; border: 1px solid gray; padding: 0.3em; width: 200px; overflow: hidden; clear: right; } div.sideBox dl { padding: 0; margin: 0 0 0.3em 0; font-size: 96%; } div.sideBox dl dt { background: none; margin: 0.4em 0 0 0; } div.sideBox dl dd { margin: 0.1em 0 0 1.1em; background-color: #f3f3f3; }