MediaWiki:Common.css
From Unvanquished
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Clear the cache in Tools → Preferences
/* CSS placed here will be applied to all skins */ /* For the Hotkey template */ span.hotkey { background: #D5D1CF; border: 1px solid #aaa; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; padding: 1px 3px; } span.hotkey + span.hotkey { margin-left: 1px; } .rot90 { transform: rotate(-90deg); -webkit-transform: rotate(-90deg); -moz-transform: rotate(-90deg); -ms-transform: rotate(-90deg); -o-transform: rotate(-90deg); filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); } ul.nobullets, ul.nobullets > li, ol.nobullets, ol.nobullets > li { list-style-type: none; list-style-image: none; margin-left: 0px; padding-left: 0px; } /* Progress table colors */ table.progress .none { background-color: #e81d1d; color: #fff; } table.progress .wip { background-color: #5292F7; color: #fff; } table.progress .done { background-color: #49ab47; color: #fff; } table.progress .none a:link { color: #fff; } table.progress .wip a:link { color: #fff; } table.progress .done a:link { color: #fff; } table.progress .none a:visited { color: #ddd; } table.progress .wip a:visited { color: #ddd; } table.progress .done a:visited { color: #ddd; } span.status_notbegun { color: #e81d1d; } span.status_wip { color: #5292F7; } span.status_done { color: #49ab47; } /* Text alignment shortcuts */ .left { text-align: left; } .center { text-align: center; } .right { text-align: right; } table .top { vertical-align: top; } table .middle { vertical-align: middle; } table .bottom { vertical-align: bottom; } /* Miscellaneous text styles */ .strikethrough { text-decoration: line-through; } .nowrap { white-space: nowrap; } /* Emulated header styles (these exactly match the styles of the tags they emulate) */ .h3 { font-size: 132%; font-weight: bold; line-height: 1.5em; } .h4 { font-size: 116%; font-weight: bold; line-height: 1.5em; } tr.deprecated { background-color: #fff; font-style: italic; } /* Main page styles */ tr > td > div.mainPageLinkBox { margin-right: 10px; } div.mainPageLinkBox { padding: 1px 10px 10px 10px; border: 2px solid #ccc; border-radius: 5px; background: #eee; } div.mainPageLinkBox + div.mainPageLinkBox { margin-top: 10px; } div.mainPageNewBox { float: left; background-color:#F6F6F6; padding: 0.5em 1em 1em 1em; margin: 1em; border: 1px solid #A7D7F9; border-radius: 5px; height: 15em; width: 15em; } .wikitable.spaced td, .wikitable.spaced th { padding: 6px 8px 6px 8px; }