MediaWiki:Vector.css

From Regiapædia
Revision as of 18:14, 11 June 2017 by Gav (talk | contribs)

Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will affect users of the Vector skin */

/*based on the code from http://towns.gamepedia.com */

/* Suppress main page title */

body.page-Main_Page h1.firstHeading { display:none; }
body.page-Regiapædia_Home h1.firstHeading { display:none; }

html {
    height: auto;
    min-height: 100%;
}

body {
    background: -moz-linear-gradient(top, #000 0, #333 979px, #333 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #000), color-stop(979px, #333), color-stop(100%, #333));
    background: -webkit-linear-gradient(top, #000 0, #333 979px, #333 100%);
    background: -o-linear-gradient(top, #000 0, #333 979px, #333 100%);
    background: -ms-linear-gradient(top, #000 0, #333 979px, #333 100%);
    background: linear-gradient(to bottom, #000 0, #333 979px, #333 100%);
    margin-right: 5px;
}

#p-personal a {
    color: #eef7d2;
}

div.vectorTabs {
  background: transparent;
  font-size: 110%;
}

div.vectorTabs ul {
  background: transparent;
}

div.vectorTabs ul li, div.vectorTabs ul li.selected {
  background: transparent;
  border: none;
}

div.vectorTabs ul li span, div.vectorTabs ul li.selected span {
  background: transparent;
  border: none;
}

div.vectorTabs li span a {
  color: #eef7d2;
}

div.vectorTabs span a:visited {
  color: #eef7d2;
}

div.vectorTabs li span a:hover, div.vectorTabs span a:visited:hover {
  color: #ffffff;
}

div.vectorTabs li.selected span a {
  color: #eef7d2 !important;
}

div.vectorTabs li.new span a {
  color: #ce2020;
}

div.vectorTabs li.new span a:visited {
  color: #eef7d2;
}

div.vectorTabs li.new span a:hover, div.vectorTabs li.new span a:visited:hover {
  color: #ffffff;
}

div.vectorTabs span a:active {
  color: #ffffff;
}

div.vectorMenu h5 a {
  border: none;
  background: transparent;
}

div#mw-page-base {
  background: transparent !important;
}

div#mw-panel div.portal h5 {
  color: #ffffff;
  font-weight: bold;
}

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

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

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

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

div#content {
    background-image: none;
    background-color: #fafdec;
    color: #000000;
    border: 1px solid #494d47;
    border-top: 0px solid #6d7478;
    box-shadow: rgba(73, 77, 71, 1) 0 0.1em 0.75em;
    padding: 0.5em 1em 1em;
}

div#footer {
  margin-left: 160px !important;
  border: none;
  background: transparent;
  color: #eef7d2;
}

div#footer ul li {
  color: #eef7d2;
}

div#footer a {
    color: #eef7d2;
}

div#footer a:visited {
    color: #eef7d2;
}