MediaWiki:Common.css

From Valve Developer Community
Revision as of 17:39, 4 November 2024 by PabloS (talk | contribs)
Jump to navigation Jump 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.
#mw-panel .portal .body {
    margin-left: 0.5em;
    padding-top: 0.1em;
    background-image: none;
    background-repeat: no-repeat
}

#mw-panel #p-logo + .portal h3 {
    display: revert;
}

div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited {
    color: #d1d1d1;
    text-decoration: none;
}

div.vectorTabs li a, #p-cactions-label span {
    color: #9e9c9a;
}

div.vectorMenu div.menu {
    border: none;
}

div.vectorMenu li a {
    background-color: #303030;
    color: #9e9c9a;
}

.postedit::after {
    display: none;
}

.mw-notification {
    color: #d1d1d1;
    padding: 0.75em 1.5em;
    margin-bottom: 0.5em;
    border: solid 1px #525252;
    background-color: #303030;
}

body.page-Main_Page #content {
    background-image: url(https://developer.valvesoftware.com/w/images/c/cc/Main_Page_background.png);
    background-repeat: no-repeat;
    background-size: cover;
}

#mw-panel div.portal div.body ul li a, #mw-panel div.portal div.body ul li a:visited, div.body #footer ul li a {
    color: #9e9c9a !important;
}

#footer #footer-places li a, #footer #footer-places li a:visited, #footer #footer-places li a:active {
	color: #9e9c9a !important;
}

#pagehistory li.selected {
	color: #b9b7b5 !important;
}	

a:link, .mw-parser-output a.extiw, a:visited, .mw-parser-output a.extiw:visited {
	color: rgb(100, 140, 200);
}

/*
a:visited, .mw-parser-output a.extiw:visited {
	color: rgb(160, 140, 200);
}
*/

a:active, .mw-parser-output a.extiw:active {
	color: rgb(220, 140, 200);
}

a.new, a.new:visited, .mw-plusminus-neg {
	color: #bf6060 !important;
}

.mw-plusminus-pos {
	color: #629360 !important;
}



#searchform {
	background-color: transparent !important;
}

#simpleSearch {
	background-size: contain !important;
	background-clip: border-box !important;
}

div#content {
	border-radius: 0px 0px 0px 4px;
}

.catlinks {
	height: auto;
	border-radius: 4px;
	background-color: #303030;
}

.catlinks li {
	border-left: 1px solid #505050;
}

#p-personal li a {
	color: #dcdedf;
}

#p-personal li a:hover {
	background-color: transparent;
	color: #fff;
	padding-bottom: .2em;
}

/* diffs */
table.diff {
	background-color: #202020;
	color: white;
	border: 1px solid #666666;
	border-radius: 4px;
}

td.diff-otitle, td.diff-ntitle {
	background-color: #292929;
	color: #D8D7D6;
	border-radius: 4px;
}

td.diff-deletedline, td.diff-addedline {
	color: #D8D7D6;
	background-color: #404040;
	border-color: #666;
}

td.diff-context {
	background: #303030;
	color: #D8D7D6;
	border-color: transparent;
}

.diffchange {
	color: white;
	font-weight: normal !important;
}

.diff-addedline .diffchange {
	background: #194C7D;
}

.diff-deletedline .diffchange {
	background: #B78100;
}

#mw-indicator-mw-helplink a {
	background-image: unset;
}

.mw-changeslist-legend {
	background-color: #3c3c3c;
	border: 1px solid rgb(255 255 255 / 20%);
	border-radius: .35em;
}

div.mw-changeslist-legend strong::after {
	content: " ";
}

fieldset {
	background-color: #2b2b2b;
	border: 1px solid rgb(255 255 255 / 20%);
	border-radius: .35em;
	margin: 1em 0 1em 0;
	padding: 0 1em 1em;
	line-height: 1.5em;
}

.oo-ui-panelLayout-framed {
	background-color: #2b2b2b;
	border: 1px solid #a2a9b1;
	border-radius: 2px
}

table.standard-table th {
	background: #272727;
	color: #b9b7b5;
	text-align: center;
	border-top: none;
	padding: 5px;
}

table.standard-table td {
	padding: 5px;
}

legend {
	font-weight: bold;
}

.hideifnotnew {
	display: none;
}	
.new + .hideifnotnew {
	display: initial;
}

/* gallery images */
li.gallerybox div.thumb img {
	image-rendering: -moz-crisp-edges;
	image-rendering: -o-crisp-edges;
	image-rendering: -webkit-optimize-contrast;
	image-rendering: pixelated;
	image-rendering: optimize-contrast;
	-ms-interpolation-mode: nearest-neighbor;
	image-rendering: crisp-edges;
}

li.gallerybox div.thumb {
	border: 1px solid #5e5e5e;
	background-image: url(data:image/gif;base64,R0lGODlhCgAKAKECADAwMEdHR15eXl5eXiH5BAEKAAIALAAAAAAKAAoAAAIRhB2ZhxoM3GMSykqd1VltzxQAOw==);
}

/* names */
a[class="mw-userlink"][title="User:Al Farnsworth"],
a[class="mw-userlink"][title="User:Alfred"],
a[class="mw-userlink"][title="User:BrynMoslow"],
a[class="mw-userlink"][title="User:CrematorBot"],
a[class="mw-userlink"][title="User:Csham"],
a[class="mw-userlink"][title="User:Coreyp"],
a[class="mw-userlink"][title="User:David Speyrer"],
a[class="mw-userlink"][title="User:DougWood"],
a[class="mw-userlink"][title="User:EricS"],
a[class="mw-userlink"][title="User:Erik Johnson"],
a[class="mw-userlink"][title="User:Gabe Newell"],
a[class="mw-userlink"][title="User:GregC"],
a[class="mw-userlink"][title="User:GregCoomer"],
a[class="mw-userlink"][title="User:Gvengel"],
a[class="mw-userlink"][title="User:Ido"],
a[class="mw-userlink"][title="User:JasonRuymen"],
a[class="mw-userlink"][title="User:Jay Stelly"],
a[class="mw-userlink"][title="User:JeffLane"],
a[class="mw-userlink"][title="User:JeffLaneBot"],
a[class="mw-userlink"][title="User:JoeLudwig"],
a[class="mw-userlink"][title="User:Johnc"],
a[class="mw-userlink"][title="User:Jsutton"],
a[class="mw-userlink"][title="User:Karlw"],
a[class="mw-userlink"][title="User:KenBanks"],
a[class="mw-userlink"][title="User:Lombardi"],
a[class="mw-userlink"][title="User:Martino"],
a[class="mw-userlink"][title="User:Matt Boone"],
a[class="mw-userlink"][title="User:Matt Wood"],
a[class="mw-userlink"][title="User:Mdurand"],
a[class="mw-userlink"][title="User:MikeBooth"],
a[class="mw-userlink"][title="User:Mikeblas"],
a[class="mw-userlink"][title="User:MikeDussault"],
a[class="mw-userlink"][title="User:PabloS"],
a[class="mw-userlink"][title="User:Robin Walker"],
a[class="mw-userlink"][title="User:Steve Bond"],
a[class="mw-userlink"][title="User:SteveB"],
a[class="mw-userlink"][title="User:Tomqbui"],
a[class="mw-userlink"][title="User:VDCBot"],
a[class="mw-userlink"][title="User:Yahnbernier"],
a[class="mw-userlink"][title="User:YasserMalaika"] {
        background-color: #3C3C3C !important;
        color: #ACACAC !important;
        font-weight: normal !important;
        margin: 0 2px 0 2px;
        padding: 0 3px 0 2px
}