MediaWiki:Common.css
From Prince Vault
Jump to navigationJump to search
Note: After publishing, 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 / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/** Princevault special CSS **********************************************************
*
* These are the changes from the original mediawiki monobook CSS that are specific to Princevault.
*
*/
/* all pages */
body {
background-color: #4f4f4f;
background-image: none;
}
/* hide page title */
.firstHeading { display: none; }
/* nav links top right */
#p-personal li a {
color: white !important;
}
/* left sidebar */
#sidebar .portlet h3 {
color: white;
}
#sidebar .portlet .pBody {
background-color: white;
border: medium none;
border-radius: 3px;
padding: 0 0.8em 0.3em;
}
/* content tabs */
#ca-talk, #ca-viewsource {
display: none !important;
}
/* content */
.mw-body {
padding: 0 1em 1em 1em;
}
/* section headings */
.mw-body h1 {
color: #795290;
font-size: 2.5em;
font-weight: bold;
}
.mw-body h2 {
color: #DE8300;
font-size: 2em;
font-weight: bold;
}
/* tables */
table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td {
border: 0;
}
table.wikitable {
background-color: #fff;
border: 0;
}
table.wikitable > tr > th, table.wikitable > * > tr > th {
background-color: #ffffff;
text-align: left;
}
/* flex fixups */
.flex-container h3, b {
line-height: .9em;
}