MediaWiki:Common.css

MediaWiki interface page
Revision as of 18:03, 10 April 2024 by Polsaker (talk | contribs) (Style links using the proper CSS variable)

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.
/* try changing colors using variables right here vvvv */

.skin-citizen-dark a {
	--color-link: rgb(230, 151, 16);
}


/* Misc styles */
pre { white-space: pre-wrap!important; border-radius: 0px!important; }

.headerSort { font-weight: bold!important; border-radius: 0px!important; background-color: rgb(25, 25, 25) !important; }

.wikitable { border-radius: 0px!important; }

.wikitable td { border-bottom: 1px solid #000!important;
border-right: 1px solid #000!important;}

tbody tr.row-odd { background-color: rgb(35, 35, 35) !important; }

.skin-citizen-dark #ca-edit > a, .skin-citizen-dark #ca-ve-edit > a {
	background-color: rgb(100, 70, 40)!important;
}

.skin-citizen-dark p code, .skin-citizen-dark ul li code { 
	border: 1px solid #666!important; 
	background-color: rgb(10, 10, 10)!important; 
}

p code, ul li code{
	padding: 3px!important;
	padding-left: 10px!important;
	padding-right: 10px!important;
}

li#ca-ve-edit.mw-list-item a, .mw-list-item { border: 0px!important;
}


span.mw-page-title-main { color: rgb(230, 151, 16)!important; } 

/* CSS placed here will be applied to all skins */
.infobox {
    background: #4c4c4c;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 400px;
}
.infobox-title {
    font-size: 2em;
    text-align: center;
}
.infobox-image {
    text-align: center;
}
.infobox th {
    text-align: right;
    vertical-align: top;
    width: 120px;
}
.infobox td {
    vertical-align: top;
}

.skin-citizen-dark .bg-greenish {
	background: hsl(141,32%,8%);
}

.skin-citizen-light .bg-greenish {
	background: #b1ffcc;
}

.skin-citizen-dark .bg-reddish {
	background: hsl(300,32%,8%);
}

.skin-citizen-light .bg-reddish {
	background: #fbc9c9;
}

.skin-citizen-dark .bg-blueish {
	background: hsl(180,32%,10%);
}

.skin-citizen-light .bg-blueish {
	background: #bfffff;
}

.skin-citizen-dark .bg-purplish {
	background: hsl(240,32%,8%);
}

.skin-citizen-light .bg-purplish {
	background: #c7c7ff;	
}