User:Crissov/cologneblue.css
From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Firefox/Mozilla/Safari: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Internet Explorer: press Ctrl-F5, Opera/Konqueror: press F5.
/* Nicer table and list headers/headings: */ dt {font-weight: bolder;} caption {font-weight: bold; font-size: large; margin-top: 1em;} table table>caption {margin-top: 0;} tr:first-child>th {text-align: center;} tr>th:first-child {text-align: left;} /* Nicer table cells: */ th, td { vertical-align: top; text-align: left; text-align: "."/*maybe some day it’ll work*/; min-height: 1em; padding: 0.25em; } tr>td[align="right"], tr[align="right"]>td {text-align: right; text-align: ".";} tr[align="right"]>[align="left"] {text-align: left;} /* Change table row background colour on hovering: */ #article tbody>tr:hover, #article tbody>tr:hover>* {background-color: #68A; color: #FFF;} /* Shorten lines to a sane amount, could even be less: */ p, dt, dd, li, td, th, address, blockquote {min-width: 6ex; max-width: 80ex;} /* Remove extra leading: */ sup, sub {line-height: 0.1em; font-size: 1ex;} /* Personal habits: */ pre {font: 95%/1.15 monospace !important; white-space: pre-wrap; background: #FFE; color: #236} code {color: #68A; background-color: #FFF;} var {color: #666;} /* Small usability enhancements: */ :link:hover, :visited:hover {color: navy; text-decoration: underline} textarea:focus, input[text]:focus {border-color: navy} /* Some clearing, perhaps unnecessary: */ h1, h2, h3, h4, h5, h6, ul, ol, dl {clear: left;} hr {clear: both;} /* Sane font sizes: */ #topbar, #footer, #quickbar {font-size: smaller} #article, #article p {font-size: medium;} #article p, #article blockquote, #article ol, #article ul, #article dl, #article table, #article td, #article th {font-family: serif;} /* Don’t show quickbar on edit pages: */ body[onload] #quickbar {display: none !important} html body[onload=""] #quickbar {display: block !important} /* Better print-outs: */ .printfooter, #editpage-copywarn, #editpage-copywarn2 {display: none} @media projection, print { h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } h1+h2, h2+h3, h3+h4, h4+h5, h5+h6, h1+table, h2+table, h3+table, h4+table, h5+table, h6+table { page-break-before: avoid; } ul, ol, dl { page-break-inside: avoid; } p, li, blockquote { page-break-inside: avoid; } .subtitle {display: none} }