Difference between revisions of "MediaWiki:Common.css"

From TRMN
Jump to navigation Jump to search
(Working on visited link color)
(Beginning work on updated CSS for Silver Jubilee)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
:root {
  --main-bg-color: #222;
  --main-color: #fff;
  --non-red-link-color: #990;
}
body {
body {
/* background-color: #bb1100; */
/* background-color: #bb1100; */
background-color: #222;
background-color: var(--main-bg-color);
color: #fff;
color: var(--main-color);
}
}



Revision as of 02:57, 18 January 2022

/* CSS placed here will be applied to all skins */
:root {
  --main-bg-color: #222;
  --main-color: #fff;
  --non-red-link-color: #990;
}

body {
	/* background-color: #bb1100; */
	background-color: var(--main-bg-color);
	color: var(--main-color);
}

p {
	color: #fff;
}

div#mw-head {
	/* background-color: #bb1100; */
	background-color: #222;
}

div#mainContent, div#side, div#footer {
	background-color: #222;
}

div.vectorTabs span > a {
	/* background-color: #bb1100; */
	background-color: #222;
	color: #999900;
}

div.vectorTabs {
	background-image: none;
	background-color: #ffff00;
}

div.vectorMenu h3 a {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAACMCAIAAAAyWVTYAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gkSEjAndg7eHAAAABRJREFUKM9j+P+fgYmBYRSPYqIwAIsuAxUaCAlMAAAAAElFTkSuQmCC);
}

div#content {
	color: #fff;
	background-color: #222;
	border-color: #ffff00;
}

#mw-panel.collapsible-nav .portal {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIwAAAABCAIAAACDjNFvAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gkSEjYnIFR5mgAAABBJREFUGNNj/P+fYRQMcgAARzACALHHhMYAAAAASUVORK5CYII=);
}

h1, h2, h3, h4, h5, h6 {
	border-color: #ffff00;
}

h1, h2, h3, h4, h5, h6 {
	color: #bb1100;
}

div#mw-panel div.portal div.body ul li a, a {
	color: #999900;
}

div#mw-panel div.portal div.body ul li a:visited, a:visited {
	color: #999900;
}

div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited {
	color: #A8A8A8;
}

div.editOptions {
	color: #333;
}

div.editOptions a:visited {
	color: #bb1100;
}

div.thumbcaption {
    color: #000 !important;
}

table.wikitable {
	background-color: #222;
	color: #fff;
}

table.wikitable thead tr th, table.wikitable tbody tr th {
	/* background-color: #c10b00; */
	background-color: #333;
	color: #fff;
	font-weight: bold;
}

/* TABLE: WIKI-SIDEBAR */
table.sidebar {
        background-color: #f7f7f7;
	border: 1px solid #000000;
        border-collapse:collapse;
        font-size: 95%;
	color: #000000;
	clear: right;
	float: right;
	width: 200px;
	margin-left: 1.5em;
	margin-right: 0em;
}
table.sidebar tr th {
	background-color: #c7c7c7;
	border: 1px outset #000000;
	text-align: center;
	font-weight: bold;
}
table.sidebar tr.header th.header {
	background-color: #c7c7c7;
	border: 1px outset #000000;
	text-align: center;
	font-weight: bold;
}
table.sidebar td.class {
        background-color: #bb1100;
        border-collapse: collapse;
        font-variant: small-caps;
        font-size: large;
        color: #edad00;
        margin: 1em 0 0 1em;
	line-height: 130%;
	font-weight: bold;
        text-align: center;
	border: 1px outset #000000;
}
table.sidebar td.class a:link {
        color: #bb1100 !important;
        text-decoration: none;
}
table.sidebar td.class a:hover {
        color: #ffffff !important;
        text-decoration: none;
}
table.sidebar td.classname {
        background-color: #bb1100;
        border-collapse: collapse;
        font-variant: small-caps;
        font-size: 125%;
        color: #edad00;
        margin: 1em 0 0 1em;
	line-height: 140%;
	font-weight: bold;
        text-align: center;
	border: 1px outset #000000;
}
table.sidebar td.film {
        background-color: #c7c7c7;
        border-collapse: collapse;
        font-variant: small-caps;
        color: #000000;
        margin: 1em 0 0 1em;
	line-height: 130%;
	font-weight: bold;
        text-align: center;
	border: 1px outset #000000;
}
table.sidebar td.image {
        background-color: #222;
        color: #aecdee;
        text-align: center;
	border: 1px outset #222;
}
table.sidebar td.name {
        background-color: #f7f7f7;
        border-collapse: collapse;
        font-variant: small-caps;
        font-size: 140%;
        color: #000000;
        margin: 1em 0 0 1em;
	line-height: 130%;
	font-weight: bold;
        text-align: center;
	border: 1px outset #000000;
}
table.sidebar td.arc {
        border-collapse: collapse;
        font-variant: small-caps;
        font-size: 100%;
        color: #000000;
        margin: 1em 0 0 1em;
	line-height: 130%;
	font-weight: bold;
        text-align: center;
	border: 1px outset #000000;
}
table.sidebar td.left {
        background-color: #222;
        color: #fff;
	line-height: 130%;
        text-align: right;
	border: 1px outset #222;
}
table.sidebar td.left a:link {
        color: #ffffff;
        text-decoration: none;
}
table.sidebar td.left a:hover {
        color: #aecdee;
        text-decoration: none;
}
table.sidebar td.right {
        background-color: #f7f7f7;
        color: #000000;
	line-height: 130%;
        text-align: left;
	border: 1px outset #000000;
}
table.sidebar td.righta {
        background-color: #f7f7f7;
        color: #000000;
	line-height: 130%;
        text-align: left;
	border: 1px outset #000000;
}
table.sidebar td.rightb {
        background-color: #c7c7c7;
        color: #000000;
	line-height: 130%;
        text-align: left;
	border: 1px outset #000000;
}
 
/* DEPRECATED: Use td.left instead! */
table.wiki-sidebar td.odd {
	width: 35%;
	font-weight: bold;
	text-align: right;
}
table.wiki-sidebar td.sb-both {
	text-align: center;
	padding-left: 0;
	padding-right: 0;
}
table.wiki-sidebar td.sb-both img {
	display:block;
 /*force new line after img in sidebar */
	border: 0px outset #aaaaaa;
	margin: 0;
	padding-left: 0;
	padding-right: 0;
}
table.wiki-sidebar td.sb-left {
	width: 35%;
	font-weight: bold;
	text-align: right;
	background-color: #f7f7f7;
	border: 0px outset #aaaaaa;
}
table.wiki-sidebar td.sb-right {
	background-color: #f7f7f7;

#nav li a {
	background-color: #000000;
	border-top: none;
	border-left: 1px solid #ddd;
}

a.external.text {
  color: #0b4f6c;
}

a.external.text:visited {
  /* color: #600047; */
  color: #36b;
}

.wikiEditor-ui-toolbar .tabs, .wikiEditor-ui-toolbar .section-main {
  height: auto;
}