MediaWiki:Common.css: Difference between revisions

From Vintage Story Wiki
No edit summary
(re add the dark theme that i think we all missed)
Line 1: Line 1:
/* VS Theming */
#p-logo a {
  filter: drop-shadow(5px 5px 5px #222222);
}
h1,h2,h3,h4,h5 {
  color: #F6F0EA;
}
body {
  background-image: url(https://wiki.vintagestory.at/images/e/e6/Shalebg.png);
  color: #F6F0EA;
}
.mw-body {
  border: 1px solid rgba(46, 35, 25);
  background-color: rgba(80, 60, 40, 0.9);
  color: #F6F0EA;
}
.mw-body-content {
    font-size: 0.9em;
}
code {
code {
background-color: #f7ffee;
    color: #F6F0EA;
border: 1px solid #6dac49;
    border: 1px solid #1A140E;
border-radius: 3px;
    border-radius: 2px;
    padding: 1px 4px;
    background: #423222;
}
 
table.gameplaynavbox img {
    filter: drop-shadow(2px 2px 2px #333);
}
 
ul {
  list-style-image: none;
}
 
#toc, .toc, .mw-warning, .toccolours {
  border: 1px solid rgba(46, 35, 25);
  background-color: rgba(80, 60, 40, 0.9);
}
}


pre {
table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td {
padding: 0.25em;
  border: 1px solid rgba(46, 35, 25);
background-color: #e5f5fb;
}
border: 1px solid #8699bd;
 
table.wikitable {
  color: #F6F0EA;
}
 
table td {
/*  background-color: rgba(80, 60, 40, 0.9);*/
}
 
#mw-page-base {
  background-image: none;
  background-color:transparent;
}
}


Line 41: Line 92:
}
}


.wikitable,
.wikitable,
Line 57: Line 104:
.wikitable th {
.wikitable th {
background-image: none;
background-image: none;
}
body {
background-image: url(https://account.vintagestory.at/public/images/background.jpg);
background-attachment: fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
}


Line 94: Line 132:
.vectorMenu h3 span {
.vectorMenu h3 span {
color: white;
color: white;
}
/* anchors */
a:visited {
color: #E5C29D;
}
a {
color: #E5C29D;
}
a:hover {
  color:navajowhite;
}
.mw-body a.external {
    color: #E5C29D;
}
.mw-body .external {
    background-image: url(/skins/Vector/images/external-link-ltr-icon.png) !important;
}
a.new, #p-personal a.new {
    color: indianred;
}
.mw-body a.external:visited {
    color: #E5C29D;
}
div.vectorTabs span a {
    padding-top: 1em !important;
    padding-bottom: 0.25em !important;
}
#ca-unwatch.icon a, #ca-watch.icon a {
    padding-top: 2.8em !important;
}
div.vectorTabs li a, .client-js #preftoc li.selected a {
  color: #E5C29D;
}
.client-js #preftoc a, .client-js #preftoc a:active {
color: #E5C29D;
}
.client-js #preftoc li.selected a {
background-image:none;
  background-color: rgba(80, 60, 40, 0.9);
}
.client-js #preftoc {
  background-image:none;
}
.client-js #preftoc li.selected {
  background-image:none;
  background-color: rgba(80, 60, 40, 0.9);
}
/* tabs and things */
div.vectorTabs li.selected {
  background-image:none;
  background-color: white !important;
}
div.vectorTabs span, .client-js #preftoc li {
  background-image:none;
  background-color: rgba(80, 60, 40, 0.9);
    border-right: 1px solid rgba(46, 35, 25);
    border-top: 1px solid rgba(46, 35, 25);
}
div.vectorTabs ul li:first-child span, .client-js #preftoc li:first-child {
    border-left: 1px solid rgba(46, 35, 25);
}
div.vectorTabs ul li {
  background-image:none;
  background-color:transparent;
}
div.vectorTabs ul {
  background-image:none;
  background-color:transparent;
}
div.vectorTabs {
  background-image:none;
  background-color:transparent;
}
div#mw-panel div.portal div.body ul li a {
    color: #E5C29D;
}
div#mw-panel div.portal div.body ul li a:visited {
    color: #E5C29D;
}
}


Line 119: Line 260:




/* For the modding overview tables? No idea */
/* For the modding overview tables? */


.treeview {
.treeview {
Line 298: Line 439:
}
}


.client-js #preferences legend, .htmlform-tip {
  color: #F6F0EA;
}


/* Keyboard key css */
/* Keyboard key css */