MediaWiki:Vector.css

From Regiapædia
Revision as of 20:13, 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 */


/* 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%;
}


/* Top, side panel & footer background */

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: #ffffff;
}

/* Top Tabs */

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: #ffffff;
}

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

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

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

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

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

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


/* Left Side Panel */

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

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

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

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


/* Content Panel */
div#content {
    background: -moz-linear-gradient(top, #000 0, #FFFFD5 8px,  #FFFFD5 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #000), color-stop(8px,  #FFFFD5), color-stop(100%,  #FFFFD5));
    background: -webkit-linear-gradient(top, #000 0, #FFFFD5 8px,  #FFFFD5 100%);
    background: -o-linear-gradient(top, #000 0, #FFFFD5 8px,  #FFFFD5 100%);
    background: -ms-linear-gradient(top, #000 0, #FFFFD5 8px,  #FFFFD5 100%);
    background: linear-gradient(to bottom, #000 0, #FFFFD5 8px,  #FFFFD5 100%);
    color: #000000;
    border: 0px solid #00000;
    padding: 0.5em 1em 1em;
}


h1, h2, h3, h4, h5, h6 {
    color: #800000; 
    font-weight: bold;
    font-family: sans-serif;
}

/* Footer */
div#footer {
  margin-left: 160px !important;
  border: none;
  background: transparent;
  color: #ffffff;
}

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

div#footer a {
    color: #ffffff;
}

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