Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
m (try again) |
m (try that) |
||
Line 121: | Line 121: | ||
#mw-indicator-series, #mw-indicator-cosmere { |
#mw-indicator-series, #mw-indicator-cosmere { |
||
float: left; |
float: left; |
||
+ | } |
||
+ | |||
+ | /* awards css */ |
||
+ | .award { |
||
+ | border: 1px solid #999; |
||
+ | margin: 1px; |
||
+ | width: 20em; |
||
+ | } |
||
+ | .award table { |
||
+ | border-collapse: collapse; |
||
+ | width: 100%; |
||
+ | margin-bottom: 0; |
||
+ | background: #eee; |
||
+ | } |
||
+ | .award td { |
||
+ | height: 45px; |
||
+ | vertical-align: middle; |
||
+ | } |
||
+ | .award-l, .award-r { |
||
+ | width: 45px; |
||
+ | background: #ddd; |
||
+ | text-align: center; |
||
+ | font-size: 14pt; |
||
+ | color: black; |
||
+ | line-height: 1.25em; |
||
+ | } |
||
+ | .award-1 { |
||
+ | padding: 0 4px 0 4px; |
||
} |
} |
Revision as of 14:27, 10 October 2016
/* CSS placed here will be applied to all skins */ /* information boxes and navigation bars */ table.infobox, table.navbar { border: 1px solid #aaa; border-spacing: 1; background-color: white; } .infobox td, .navbar td .infobox th, .navbar th { padding: 4px; } .infobox th, .navbar th { background-color: #ddddff; white-space: nowrap; } .infobox tr.title th, .navbar tr.title th, .infobox th.title, .navbar th.title { color: black; background-color: #ccccff; text-align: center; } .infobox td, .navbar td { text-align: left; } .infobox .kv th, .navbar .kv th { width: 15%; } .infobox.side { width: 22em; float: right; margin-left: 0.5em; } .infobox.side td { font-size: 90%; } /* Notice */ div.notice { text-align: center; margin: auto; width: 60%; padding: 0.5em; } div.notice.stub { font-style: italic; } img.notice { width: 1em; } /* curved */ .curved { border-radius: 10px; } /* quotes */ blockquote.source { margin-right: 0; } /* navigation */ .navaid { display: block; margin: 1em 40px; font-style: italic; } .catlinks { padding-top: 0.5em; } #p-cactions li.selected a { color: #061626; } /* slimmer footer*/ #footer-info-lastmod { float: left; } #footer-info-viewcount { float: right; } #footer-places { clear: both; } /* Notes section */ .notes { clear: both; } /* keep long references in blocks */ .references li { column-break-inside: avoid; -webkit-column-break-inside: avoid; -moz-column-break-inside: avoid; } /* auto columns*/ .references { -moz-column-width: 300px; -webkit-column-width: 300px; column-width: 300px; list-style-position: inside; } /* highlight clicked reference in blue */ ol.references li:target { background-color: #ddeeff; } sup.reference:target { background-color: #ddeeff; } .bib td { text-align: center; } .bib .other td { background-color: #F2F2CE; } .bib .cosmere td { background-color: #CEF2CE; } .bib .unreleased td:first-of-type { background-color: #F2CED4; } /* page indicators */ .mw-indicators { width: 50%; text-align: right; } #mw-indicator-series, #mw-indicator-cosmere { float: left; } /* awards css */ .award { border: 1px solid #999; margin: 1px; width: 20em; } .award table { border-collapse: collapse; width: 100%; margin-bottom: 0; background: #eee; } .award td { height: 45px; vertical-align: middle; } .award-l, .award-r { width: 45px; background: #ddd; text-align: center; font-size: 14pt; color: black; line-height: 1.25em; } .award-1 { padding: 0 4px 0 4px; }