MediaWiki:Common.css
From Dietrich Blog (Strato)
Revision as of 16:45, 9 June 2007 by Dkracht (talk | contribs) (New page: →* CSS placed here will be applied to all skins: →wikitable, sortablewikitable, and prettytable class definitions ** based on meta.wikimedia.org MediaWiki:Common.css: table.wikita...)
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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/** CSS placed here will be applied to all skins */ /* wikitable, sortablewikitable, and prettytable class definitions ** based on meta.wikimedia.org MediaWiki:Common.css */ table.wikitable, table.sortablewikitable, table.prettytable { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaaaaa solid; border-collapse: collapse; } table.wikitable th, table.wikitable td, table.sortablewikitable th, table.sortablewikitable td, table.prettytable th, table.prettytable td { border: 1px #aaaaaa solid; padding: 0.2em; } table.wikitable th, table.sortablewikitable th, table.prettytable th { background: #E6E6FA; /* lavender; wikimedia: #f2f2f2 */ text-align: center; } table.wikitable caption, table.sortablewikitable caption, table.prettytable caption { margin-left: inherit; margin-right: inherit; } /** class=datatable from www.mediawiki.org */ table.datatable th, 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; }