MediaWiki:Vector.css

Revision as of 16:13, 6 August 2024 by FloofyPlasma (talk | contribs)

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.
/* CSS placed here will affect users of the Vector skin */
/* increase Vector sidebar width */
div#footer, #mw-head-base, div#content, div#left-navigation { margin-left: 11em; }
div#googleadsense { margin-left: -1.25em; }
#mw-panel { padding-left: 0.5em; }
#p-logo { left: 0.5em; }

/* Various styling for message boxes, based on colours/styling from [[Template:Msgbox]] */
div.mw-warning-with-logexcerpt,
.errorbox,
.warningbox,
.successbox {
    padding: .4em .8em;
    margin-bottom: 1em;
    border: 1px solid #CCC;
}

div.mw-warning-with-logexcerpt,
.errorbox {
    background: #FDD;
    border-left: 4px solid #FAA;
}

.warningbox {
    background: #FFC;
    border-left: 4px solid #DD8;
}

.successbox {
    background: #DFD;
    border-left: 4px solid #9C9;
}

.successbox strong p {
    margin: 0;
}

/* Add white background to some areas */
#asirra_ChallengeTableDiv {
	background-color: #FFF;
}

/* Fix diff area styling */
table.diff {
	background-color: transparent;
}

td.diff-addedline,
td.diff-deletedline {
	background-color: #F9F9F9;
}

td.diff-context {
	background-color: #F3F3F3;
}

td.diff-addedline,
td.diff-deletedline,
td.diff-context,
td.diff-addedline .diffchange,
td.diff-deletedline .diffchange {
	border-radius: 0;
}

/* Get rid of stupid white borders on page history */
#pagehistory li {
	border-color: transparent;
}