Darkvector.css – MediaWiki

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fix attempt of code, pre and syntaxhighlight)
m (Change code/pre inversion filter to apply only on highlight)
Line 36: Line 36:
code,
code,
pre {
pre {
background-color: rgba(255, 255, 255, 0.2);
}
.mw-highlight > pre {
   background-color: #FFF;
   background-color: #FFF;
   filter: invert(1);
   filter: invert(1);

Revision as of 20:10, 14 March 2022

/* CSS placed here will affect users of the DarkVector skin */

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

.messagebox > div:nth-child(2) {
	background-color: #333;
	color: #C1C1C1;
}

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

code,
pre {
	background-color: rgba(255, 255, 255, 0.2);
}

.mw-highlight > pre {
  background-color: #FFF;
  filter: invert(1);
}

var, tt {
  background-color: #558;
}