Darkvector.css – MediaWiki

From Bohemia Interactive Community
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.
/* CSS placed here will affect users of the DarkVector skin */

/* Fix 1.39 fontsize */
#mw-content-text {
  font-size: inherit;
}

/* Fix 1.39 category list */
#mw-normal-catlinks ul,
#mw-hidden-catlinks.mw-hidden-cats-user-shown ul {
	display: inline;
	margin-left: 0.5em;
}
#mw-normal-catlinks li,
#mw-hidden-catlinks.mw-hidden-cats-user-shown li {
	display: inline;
}
#mw-normal-catlinks li:not(:last-child):after,
#mw-hidden-catlinks.mw-hidden-cats-user-shown li:not(:last-child):after {
	content: ' / ';
}
#mw-hidden-catlinks.mw-hidden-cats-hidden {
	display: none;
}

/* Fix 1.39 diff */
table {
  color: inherit;
}

/* Fix 1.39 changelist */
.mw-changeslist-line {
	color: #C1C1C1;
}
.mw-plusminus-pos.mw-diff-bytes { color: #0B0; }
.mw-plusminus-neg.mw-diff-bytes { color: #F00; }

a.mw-selflink.selflink:not([href]),
a.mw-selflink.selflink:not([href]):hover,
a.mw-selflink.selflink:not([href]):active,
a.mw-selflink.selflink:not([href]):visited {
	cursor: inherit;
	color: inherit !important;
	font-weight: bold;
	text-decoration: none;
}

/* table header style fix */
table.wikitable > thead > tr > th,
table.wikitable > tbody > tr > th {
	background-color: #595959;
}

/* table border style fix */
table.wikitable {
	border-collapse: collapse;
}
	table.wikitable th,
	table.wikitable td {
		border: solid #C1C1C1 1px;
		padding: 0.25em 0.5em;
	}

.gvi2 .icon img {
	max-width: 100%;
	height: auto;
}

.gvi2 .version {
	color: #000;
}

._description h3 {
	background-color: transparent !important;
	border-left-width: 0.5em;
	border-left-style: solid;
	padding-left: 1em;
}

dl.command_description dd.note {
	background-color: #333;
}

._description dl.syntax dd:nth-child(4n+6) {
	background-color: rgba(0, 0, 0, 0.2);
}
	._description dl.syntax dd:last-child {
		background-color: inherit;
	}

.biki-messagebox > div:nth-child(2) {
	background-color: #333;
	color: #C1C1C1;
}
	/* ugly detection */
	/* informative	*/ div.biki-messagebox[style="background-color: #00BFFF"]	{ background-color: #08F !important; }
	/* important	*/ div.biki-messagebox[style="background-color: #EA0"]		{ background-color: #C90 !important; }
	/* warning		*/ div.biki-messagebox[style="background-color: #F00"]		{ background-color: #A00 !important; }
	/* quote		*/ div.biki-messagebox[style="background-color: #8C8"]		{ background-color: #8A8 !important; }
	/* TKOH 		*/ div.biki-messagebox[style="background-color: #8CF"]		{ background-color: #39B !important; }
	/* BI			*/ div.biki-messagebox[style="background-color: #F4E8FF"]	{ background-color: #CBC !important; }

.biki-messagebox-spoiler {
	background-color: #833;
}

.code-comment {
	color: #5B5;
}

.cfg_reference div.abc {
	border-left-color: #222;
}

.cfg_reference h2,
.cfg_reference h3,
.cfg_reference h4,
.cfg_reference h5 {
	color: inherit;
}

.cfg_reference div.abc h2,
.cfg_reference div.abc h3, 
.cfg_reference div.abc h4,
.cfg_reference div.abc h5 {
	background: linear-gradient(90deg,#222,rgba(34,34,34,0));
	border-top-color: #000;
	color: inherit;
}

/*
.sqfhighlighter-block {
	color: #555;
	filter: invert(0.95);
}
	.sqfhighlighter-block .sqfhighlighter-arraystart,
	.sqfhighlighter-block .sqfhighlighter-arrayend,
	.sqfhighlighter-block .sqfhighlighter-codestart,
	.sqfhighlighter-block .sqfhighlighter-codeend,
	.sqfhighlighter-block .sqfhighlighter-parenthesestart,
	.sqfhighlighter-block .sqfhighlighter-parentheseend {
		color: #333;
	}
*/

/*
	SQF Highlighter
*/
.sqfhighlighter-block,
.sqfhighlighter-error {
	background-color: #222;
	border-style: solid;
}

.sqfhighlighter-block {
	color: #AAA;
}

.sqfhighlighter-error {
	color: #D33;
}

.sqfhighlighter-block :not(.cc) > a:link, .sqfhighlighter-block :not(.cc) > a:hover, .sqfhighlighter-block :not(.cc) > a:visited {
	color: #0BD !important;
}

.sqfhighlighter-block .as,
.sqfhighlighter-block .ae,
.sqfhighlighter-block .cs,
.sqfhighlighter-block .ce,
.sqfhighlighter-block .ps,
.sqfhighlighter-block .pe {
	background-color: #333;
	color: CCC;
}

.sqfhighlighter-block .fe {
	color: #AAA;
}

.sqfhighlighter-block .lv {
	color: #8AC !important;
}

.sqfhighlighter-block .mv a:link,
.sqfhighlighter-block .mv a:hover,
.sqfhighlighter-block .mv a:active,
.sqfhighlighter-block .mv a:visited {
	_color: red !important;
	background-color: #333;
}
.sqfhighlighter-block .m {
	color: #D0D;
}

.sqfhighlighter-block .mv {
	_background-color: #222;
}

.sqfhighlighter-block .n {
	color: #DB5;
	text-shadow: inherit;
}

.sqfhighlighter-block .o a:link, .sqfhighlighter-block .o a:hover, .sqfhighlighter-block .o a:active, .sqfhighlighter-block .o a:visited {
	color: #F80 !important;
}

.sqfhighlighter-block .s {
	color: #D33;
}

.sqfhighlighter-block .sl {
	color: #CCC;
}

/*
	Enforce Script Highlighter
*/
span.enforcescripthighlighter-block {
	box-shadow: inset 0 0 0 2px #BA66D488;
}

/*
	<syntaxhighlight> tag
*/
code:not(.mw-highlight),
	div:not(.mw-highlight) > pre {
	background-color: inherit !important;
}
code.mw-highlight,
.cfg_reference div.mw-highlight > pre,
.mw-highlight > pre {
	background-color: #222;
}

.mw-highlight .k {
	color: #5A5;
	font-weight: inherit;
	text-shadow: 0 0 0.1em;
}

.mw-highlight .kt {
	color: #A50;
}

.mw-highlight .mf,
.mw-highlight .mi {
	color: #B85;
}

.mw-highlight .mh {
	color: #888;
}

.mw-highlight .nc {
	color: #58D;
	font-weight: inherit;
	text-shadow: 0 0 0.1em;
}

.mw-highlight .o {
	color: #888;
}

div.mw-highlight.mw-highlight-lang-css .cp {
	background-color: inherit;
	color: inherit;
}

/*
	navbox
*/

.navboxWiki > tbody > tr:first-of-type {
	background-color: rgba(255, 255, 255, 0.1);
}

.navboxWiki th {
	background-color: rgba(255, 255, 255, 0.1);
}

/*
	Fix [[Template:Table/RVScriptingCommands]] / [[Template:Table/RVScriptingFunctions]]
*/
table.wikitable.rv-commands th,
table.wikitable.rv-functions th {
	background-color: #282828;
}

.gallerytext p {
	color: inherit;
}

.template-colour[style] {
	filter: invert(1)
}

table tr th.na-cell,
table tr td.na-cell {
	background-color: #333;
}

#p-logo a {
	filter: invert(1);
}

div.floating-box {
	background-color: rgba(255, 255, 255, 0.05);
	border-color: #666;
	color: inherit;
}

table.wikitable {
	background-color: #4C4C4C;
	border-color: #666;
}

var, tt {
	background-color: rgba(255,255,255,0.05);
}

span.wikipedia a.external {
	background-position: 100%;
	padding-right: 15px;
}

/*
	Fix theme due to BI Banner
*/
#mw-head {
	top: 80px !important;
}

#mw-panel {
	top: 220px !important;
}


/*
	Fix editor buttons (e.g SQF, Enfusion)
*/
.tool-button {
	filter: invert(0.95);
}

/*
	Fix BI Banner
*/
#bohemia-header .bohemia-header-nav .bohemia-header-nav-items .bohemia-header-nav-item .bohemia-header-nav-item-button {
	color: #FFF !important;
}

#bohemia-header #bohemia-header-button-login-text {
	color: #6BA539 !important;
}


/*
	Fix controller buttons
*/

span.xbox-blue			{ color: #40CCD0; text-shadow: none; }
span.xbox-green			{ color: #3CDB4E; text-shadow: none; }
span.xbox-red			{ color: #D04242; text-shadow: none; }
span.xbox-yellow		{ color: #ECDB33; text-shadow: none; }
span.dualshock-blue		{ color: #6B8AC8; text-shadow: none; }
span.dualshock-green	{ color: #30DE98; text-shadow: none; }
span.dualshock-pink		{ color: #DC8FC4; text-shadow: none; }
span.dualshock-red		{ color: #F6363A; text-shadow: none; }

/*
	TKOM patches - [[Take On Mars: Beta Patches]]
*/
table.tkom-patch > tbody > tr > th {
	background-color: #C90;
}

table.tkom-patch tr.added,
table.tkom-patch tr.changed,
table.tkom-patch tr.fixed,
table.tkom-patch tr.removed,
table.tkom-patch tr td:nth-child(2)			{ background-color: inherit; }
table.tkom-patch tr.added td:first-child	{ border-left: solid #AAA 2em; }
table.tkom-patch tr.changed td:first-child	{ border-left: solid #7CF 2em; }
table.tkom-patch tr.fixed td:first-child	{ border-left: solid #DD5 2em; }
table.tkom-patch tr.removed td:first-child	{ border-left: solid #F99 2em; }
table.tkom-patch tr td:nth-child(2)			{ background-color: inherit; }

/*
	[[Template:Navbox]]
*/
.navboxWiki th {
	color: #FFF;
}

/*
	[[Template:TabView]]
*/
.biki-tab-title {
	border: 0.0625em solid transparent;
	cursor: pointer;
	display: inline-block;
	padding: 1em;
}
.biki-tab-title.selected {
	border-top-color: #DDD;
	border-left-color: #DDD;
	border-right-color: #DDD;
	border-bottom-color: #333;
}
.biki-tab-title:hover:not(.selected) {
	background-color: #EEE;
	color: #333;
}
.biki-tab-content {
	border: 0.0625em solid #DDD;
	margin-top: -0.0625em;
	padding: 1em;
}

/*
	[[Template:Sticky]]
*/
.sticky-top,
.sticky-bottom {
	background-color: #333;
}

/*
	[[Template:Link/External]]
*/
span.ofp-faguss-info, 
span.ofp-faguss-info a {
	filter: invert(0.95);
}



/**************************************************************************************************/
/* April Fools 2024 */
/**************************************************************************************************/
/*
.mw-body, p {
	color: #090 !important;
	font-family: Papyrus, "Comic Sans MS";
	font-size: 1.05em;
	letter-spacing: -0.05em;
}

#mw-panel {
	background-color: #543;
	border-radius: 0 0 1em 0;
	box-shadow: 0 0 2em #D00;
}

body,
#content {
	background-color: #520;
}

a:link, a:visited {
	color: darkorange !important;
}
*/