MediaWiki:Common.css

esse quam videri
Revision as of 16:31, 24 September 2008 by Akelly (talk | contribs) (test edit to render the css like it does on wikipedia)
Jump to: navigation, search

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.
/*
ATTENTION ADMINISTRATORS:
 
This is the CSS for all skins. Any major changes to this page or
[[MediaWiki:Monobook.css|Monobook.css]] should be first proposed. As for where that is, ask [[User:Jeff|Jeff]] or prod [[User:Akelly|AJ]] to figure it out.
 
Testing can be done on your own user Monobook.css. In [[Mozilla]] and
[[Opera (web browser)|Opera]], you can also test style changes dynamically
with the [http://www.squarefree.com/bookmarklets/webdevel.html test styles]
bookmarklet from squarefree.com. It pops up a window for adding style rules,
and updates the page as you type.
 
Always check with the [http://tinyurl.com/28y334 W3C CSS Validation Service]
([http://tinyurl.com/2g8bsk CVS version]) before and after any changes.
 
Thank you.
*/
 
/* <pre><nowiki> */

/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
    margin: 1em 1em 1em 0;
    background: #f9f9f9;
    border: 1px #aaa solid;
    border-collapse: collapse;
}
.wikitable th, .wikitable td,
.prettytable th, .prettytable td {
    border: 1px #aaa solid;
    padding: 0.2em;
}
.wikitable th,
.prettytable th {
    background: #f2f2f2;
    text-align: center;
}
.wikitable caption,
.prettytable caption {
    margin-left: inherit;
    margin-right: inherit;
    font-weight: bold;
}

/* </nowiki></pre> */