MediaWiki:Common.css
From HappyWiki, at www.Kennel17.co.uk
Revision as of 23:33, 29 January 2016 by HappyDog (Talk | contribs) (Fix colouring of box contents.)
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 */ /** prettytable class **/ table.prettytable { border: 1px solid #AAAAAA; border-collapse: collapse; } table.prettytable th { text-align: center; font-weight: bold; background-color: #CCCCFF; color: #000000; } table.prettytable td, table.prettytable th { border: 1px solid #AAAAAA; padding: 0.1em 0.3em; } /** InfoBoxes **/ .infobox { float: right; margin: 0 0 1em 1em; } .infobox td, .infobox th { padding: 0.2em 0.5em; } .infobox th { background-color: #F0F0FF; text-align: left; } .infobox th.infobox_header{ font-size: 1.2em; background-color: #E0E0FF; text-align: center; } /** Main Page **/ .BoxPanel { text-align: center; } .BoxPanel li { display: inline-block; } .BoxPanel a { display: -moz-inline-box; -moz-box-orient: vertical; display: inline-block; background-color: #EBEBEB; border: 1px solid #CCCCCC; -webkit-border-radius: 8px; -moz-border-radius: 8px; -ms-border-radius: 8px; -o-border-radius: 8px; border-radius: 8px; -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1); box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1); font-size: 2em; margin: 1em; padding: 1em; text-align: center; font-weight: bold; color: #666666; text-decoration: none; } .BoxPanel a:hover { background-color: #EBEBDB; }