MediaWiki:Vector.css

From Argonath RPG Wiki
Jump to navigation Jump to 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 / Edge: 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.
/* Additions to the Vector skin */

html, body {
  font-family: Noto Sans, Verdana, Arial, Helvetica, sans-serif !important;
}

body {
  background: #eee !important;
  margin: 0 auto !important;
  position: relative;
  width: 90% !important;
  overflow-y: scroll;
}

#content {
  background: #fff !important;
  border: 1px solid #ccc !important;
  margin-top: -1px;
}

#bodyContent {
  font-size: 0.9em;
}

#mw-page-base {
  background: none !important;
  border:     none !important;
}
#mw-head-base { border: none !important; }

.vectorTabs, 
.vectorTabs ul,
.vectorTabs li,
.vectorTabs span,
.vectorTabs a,
.vectorMenu
.vectorMenu h5,
.vectorMenu span,
.vectorMenu a { background: none !important; }
  .vectorTabs {
    border-right: 1px solid #ccc;
    float: left;
    height: 35px;
  }
    .vectorTabs ul li {
      background: #f3f3f3 !important;
      border: 0;
      border-bottom: 1px solid #ccc;
      display: inline-block;
      height: 100%;
      line-height: 20px;
      margin: -1px 0 0 -1px !important;
    }
    .vectorTabs li a {
      border-left: 1px solid #ccc;
      border-top: 1px solid #ccc;
      display: inline-block;
      line-height: 7px !important;
      padding-left:  0.8em !important;
      padding-right: 0.8em !important;
    }
    .vectorTabs li.selected a {
      background: #fff !important;
      font-weight: bold;
    }
  .vectorMenu { margin-left: 5px; }

#footer {
  background: none !important;
  border:     none !important;
}

#mw-panel { padding-top: 30px !important; }
  #mw-panel h5    { font-weight: bold !important; }
  #mw-panel .body { background: none !important; }

.catlinks {
  background: #f5f5f5 !important;
  border: 1px solid #ddd !important;
  padding: 10px 12px 8px 12px !important;
}

#mw-searchButton {
  display: none !important;
}

.mw-headline,
.firstHeading {
  font-weight: bold;
}

.tocnumber:after {
  content: ".";
}

/* Consult [[Template:K]] */
kbd {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
  display: inline-block;
  font: bold 90%/1 consolas, monospace;
  margin: 0 2px;
  padding: 2px 5px;
}