Darkvector.css – MediaWiki

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fix table headers)
m (Fix)
Line 7: Line 7:
table.wikitable > thead > tr > th,
table.wikitable > thead > tr > th,
table.wikitable > tbody > tr > th {
table.wikitable > tbody > tr > th {
background-color: inherit;
background-color: #595959;
}
}



Revision as of 03:12, 11 February 2024

/* CSS placed here will affect users of the DarkVector skin */
a.external {
	background-repeat: no-repeat;
}

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

.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 h2,
.cfg_reference h3, 
.cfg_reference h4 {
	color: inherit;
}

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

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

.cfg_reference div.abc h2,
.cfg_reference div.abc h3, 
.cfg_reference div.abc h4 {
	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;
	}

code:not(.mw-highlight), pre:not(.mw-highlight) {
	background-color: inherit;
}
code.mw-highlight,
.mw-highlight > pre {
	background-color: #FFF;
	filter: invert(0.95);
}
.mw-highlight .n,
.mw-highlight .p {
    filter: invert(0.95);
}

.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);
}

/*
	Fix BIKI Spoiler
*/
div.biki-spoiler {
	background-color: #222;
}

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 {
	filter: invert(0.9);
}

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