Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(Jubilee style prep) |
(Updating colors to remove variables) |
||
Line 22: | Line 22: | ||
body { | body { | ||
background-color: | background-color: #c8c9ca; | ||
color: | color: #111;; | ||
} | } | ||
p { | p { | ||
color: | color: #111;; | ||
} | } | ||
div#mw-head { | div#mw-head { | ||
background-color: | background-color: #c8c9ca; | ||
} | } | ||
div#mainContent, div#side, div#footer { | div#mainContent, div#side, div#footer { | ||
background-color: | background-color: #c8c9ca; | ||
} | } | ||
div.vectorTabs span > a { | div.vectorTabs span > a { | ||
background-color: | background-color: #c8c9ca; | ||
color: | color: #26671a; | ||
} | } | ||
div.vectorTabs { | div.vectorTabs { | ||
background-image: none; | background-image: none; | ||
background-color: | background-color: #26671a; | ||
} | } | ||
Line 53: | Line 53: | ||
div#content { | div#content { | ||
color: | color: #111;; | ||
background-color: | background-color: #c8c9ca; | ||
border-color: | border-color: #26671a; | ||
} | } | ||
Line 63: | Line 63: | ||
h1, h2, h3, h4, h5, h6 { | h1, h2, h3, h4, h5, h6 { | ||
border-color: | border-color: #26671a; | ||
} | } | ||
h1, h2, h3, h4, h5, h6 { | h1, h2, h3, h4, h5, h6 { | ||
color: | color: #2667a1; | ||
} | } | ||
div#mw-panel div.portal div.body ul li a, a { | div#mw-panel div.portal div.body ul li a, a { | ||
color: | color: #26671a; | ||
} | } | ||
div#mw-panel div.portal div.body ul li a:visited, a:visited { | div#mw-panel div.portal div.body ul li a:visited, a:visited { | ||
color: | color: #26671a; | ||
} | } | ||
Line 87: | Line 87: | ||
div.editOptions a:visited { | div.editOptions a:visited { | ||
color: var( | color: var(#c8c9ca); | ||
} | } | ||
Line 95: | Line 95: | ||
table.wikitable { | table.wikitable { | ||
background-color: | background-color: #c8c9ca; | ||
color: | color: #111;; | ||
} | } | ||
table.wikitable thead tr th, table.wikitable tbody tr th { | table.wikitable thead tr th, table.wikitable tbody tr th { | ||
background-color: var(--darker-bg-color); | background-color: var(--darker-bg-color); | ||
color: | color: #111;; | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
Line 131: | Line 131: | ||
} | } | ||
table.sidebar td.class { | table.sidebar td.class { | ||
background-color: | background-color: #c8c9ca; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
font-variant: small-caps; | font-variant: small-caps; | ||
font-size: large; | font-size: large; | ||
color: # | color: #2667a1; | ||
margin: 1em 0 0 1em; | margin: 1em 0 0 1em; | ||
line-height: 130%; | line-height: 130%; | ||
Line 143: | Line 143: | ||
} | } | ||
table.sidebar td.class a:link { | table.sidebar td.class a:link { | ||
color: | color: #c8c9ca !important; | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
Line 151: | Line 151: | ||
} | } | ||
table.sidebar td.classname { | table.sidebar td.classname { | ||
background-color: | background-color: #c8c9ca; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
font-variant: small-caps; | font-variant: small-caps; | ||
Line 174: | Line 174: | ||
} | } | ||
table.sidebar td.image { | table.sidebar td.image { | ||
background-color: | background-color: #c8c9ca; | ||
color: #aecdee; | color: #aecdee; | ||
text-align: center; | text-align: center; | ||
border: 1px outset | border: 1px outset #c8c9ca; | ||
} | } | ||
table.sidebar td.name { | table.sidebar td.name { | ||
Line 203: | Line 203: | ||
} | } | ||
table.sidebar td.left { | table.sidebar td.left { | ||
background-color: | background-color: #c8c9ca; | ||
color: | color: #111; | ||
line-height: 130%; | line-height: 130%; | ||
text-align: right; | text-align: right; | ||
border: 1px outset | border: 1px outset #c8c9ca; | ||
} | } | ||
table.sidebar td.left a:link { | table.sidebar td.left a:link { |
Revision as of 14:14, 3 April 2022
/* CSS placed here will be applied to all skins */
:root {
--main-bg-color: #c8c9ca; /*was d0d1d2*/
--lighter-bg-color: #e1e2e3;
--main-color: #111;
--non-red-link-color: #2667a1;
--trim-color: #2667a1;
--minor-link: #88898a;
--banner-fix: brightness(100%) sepia(1) hue-rotate(178deg) brightness(55%) saturate(155%)
}
/*
Values pre-Silver Jubilee
:root {
--main-bg-color: #222;
--darker-bg-color: #333;
--main-color: #fff;
--non-red-link-color: #990;
--trim-color: #990;
}
*/
body {
background-color: #c8c9ca;
color: #111;;
}
p {
color: #111;;
}
div#mw-head {
background-color: #c8c9ca;
}
div#mainContent, div#side, div#footer {
background-color: #c8c9ca;
}
div.vectorTabs span > a {
background-color: #c8c9ca;
color: #26671a;
}
div.vectorTabs {
background-image: none;
background-color: #26671a;
}
div.vectorMenu h3 a {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAACMCAIAAAAyWVTYAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gkSEjAndg7eHAAAABRJREFUKM9j+P+fgYmBYRSPYqIwAIsuAxUaCAlMAAAAAElFTkSuQmCC);
}
div#content {
color: #111;;
background-color: #c8c9ca;
border-color: #26671a;
}
#mw-panel.collapsible-nav .portal {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIwAAAABCAIAAACDjNFvAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gkSEjYnIFR5mgAAABBJREFUGNNj/P+fYRQMcgAARzACALHHhMYAAAAASUVORK5CYII=);
}
h1, h2, h3, h4, h5, h6 {
border-color: #26671a;
}
h1, h2, h3, h4, h5, h6 {
color: #2667a1;
}
div#mw-panel div.portal div.body ul li a, a {
color: #26671a;
}
div#mw-panel div.portal div.body ul li a:visited, a:visited {
color: #26671a;
}
div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited {
color: var(--minor-link);
}
div.editOptions {
color: var(--darker-bg-color);
}
div.editOptions a:visited {
color: var(#c8c9ca);
}
div.thumbcaption {
color: #000 !important;
}
table.wikitable {
background-color: #c8c9ca;
color: #111;;
}
table.wikitable thead tr th, table.wikitable tbody tr th {
background-color: var(--darker-bg-color);
color: #111;;
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: #c8c9ca;
border-collapse: collapse;
font-variant: small-caps;
font-size: large;
color: #2667a1;
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: #c8c9ca !important;
text-decoration: none;
}
table.sidebar td.class a:hover {
color: #ffffff !important;
text-decoration: none;
}
table.sidebar td.classname {
background-color: #c8c9ca;
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: #c8c9ca;
color: #aecdee;
text-align: center;
border: 1px outset #c8c9ca;
}
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: #c8c9ca;
color: #111;
line-height: 130%;
text-align: right;
border: 1px outset #c8c9ca;
}
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: #36b;
}
.wikiEditor-ui-toolbar .tabs, .wikiEditor-ui-toolbar .section-main {
height: auto;
}