MediaWiki:Common.css
From FollowTheScore
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.
/* disable navigation sidebar */
#p-navigation { display:none }
/* color settings for article types */
#n-Manual { background-color: #ffddaa; }
#n-Source { background-color: #ccccff; }
#n-Test { background-color: #ccffcc; }
#n-Type { background-color: #dedede; }
/* Demo for a special DPL table which can be assigned via rowcolformat */
table.dpl3columns td {
background: #f2f2f2;
padding: 0.5em;
border:3px;
width:33%;
}
/* wikitable, sortable, and prettytable class definitions
** based on meta.wikimedia.org MediaWiki:Common.css
*/
table.wikitable, table.sortable, table.prettytable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaaaaa solid;
border-collapse: collapse;
}
table.wikitable td, table.sortable td, table.prettytable td {
border: 1px #aaaaaa solid;
padding: 0.2em;
}
table.wikitable th, table.sortable th, table.prettytable th {
background: #E6E6FA; /* lavender; wikimedia: #f2f2f2 */
border: 1px #aaaaaa solid;
text-align: center;
}
table.wikitable caption, table.sortable caption, table.prettytable caption {
margin-left: inherit;
margin-right: inherit;
}