MediaWiki:Vector.css

From Pathway Wiki
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 */


/* Body Styling */
body {
    background: url("https://pathwaywiki.com/mediawiki/skins/Vector/pathwayimages/background.png") no-repeat fixed center center / cover;
    image-rendering: optimizeSpeed;
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: pixelated;
    image-rendering: optimize-contrast;
    -ms-interpolation-mode: nearest-neighbor;
    font-family: sans-serif;
}

.mw-body {
  border: 1px solid #A7D7F9;
  margin-right: 15px;
  background-color: rgba(209, 230, 255, 0.67);
  min-height:500px;
  margin-bottom: 60px;
}

div#footer {
  background: rgba(0, 0, 0, 0.8) none repeat scroll 0% 0%;
  width: 100%;
  padding: 0px !important;
  margin-top: 20px !important;
  bottom: 0px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  color: #C2C8CF;
}

div#footer #footer-icons {
    margin-top: -18px;
}

div#mw-panel {
   border: 6px solid transparent;
   left: -12px;
   background-color: rgba(209, 230, 255, 0.67);
   padding-bottom: 15px;
   border-top-right-radius: 8px;
   border-bottom-right-radius: 8px;
}

#p-logo a {
   display:block;
}

div#footer a {
  color:white;
}

div#footer ul {
  padding-left: 190px;
  padding-right: 15px;
}

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

.catlinks {
    border: 1px solid #84AEEC;
    background-color: rgba(199, 242, 254, 0.53);
}

#toc, .toc {
  background-color: rgba(255,255,255,0.58);
}

.mw-body h1, .mw-body h2 {
    font-family: 'Open Sans', sans-serif;
}

div.thumbinner {
   border: 1px solid #8DCAF0;
   background-color: rgba(255,255,255,0.58);
}

/* Mediawiki page tabs */
#mw-page-base {
  background:none;
}

div#mw-head div.vectorMenu h3, div.vectorTabs ul, div.vectorTabs li.selected, div.vectorTabs ul li, div.vectorTabs, div.vectorTabs span {
  background:none;
}

div.vectorTabs li a {
  color: #B7D2FF;
}

div.vectorTabs li.new a, div.vectorTabs li.new a:visited, div.vectorMenu h3 span {
  color: #99BFFF;
}

div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited {
  color: #C6DBFF;
}

div.vectorMenu div.menu {
  background-color: rgba(30, 17, 102, 0.67);
}

div.vectorMenu div.menu a {
  color: #C6DBFF;
}

#p-personal a, #p-personal a.new, p-personal a:visited, #p-personal a.new:visited {
   color: #99BFFF;
}

#p-personal a.hover, p-personal a:focus {
   color: #C6DBFF;
   text-decoration:none;
}

/* Account Creation Page */
.mw-createacct-benefits-list {
   padding: 10px 10px 10px 60px;
   border-radius: 12px;
   background-color: rgba(255,255,255,0.58);
   border: 1px solid #8DCAF0;
}

.mw-number-text.icon-edits, .mw-number-text.icon-pages, .mw-number-text.icon-contributors {
   filter: brightness(0.7);
}

/* Social Media Links */
div.sociallinks {
   float: right;
   padding-top: 9px;
}

.sociallinks img {
   -webkit-filter: opacity(25%) brightness(0);  /* Chrome, Safari, Opera */
   filter: opacity(25%) brightness(0);
}

.sociallinks img:hover {
   -webkit-filter: opacity(100%) brightness(100%);  /* Chrome, Safari, Opera */
   filter: opacity(100%) brightness(100%);
}

body.page-Pathway_Wiki div.sociallinks {
   display:none;
}

/* Preferences Pages*/

#preferences {
   background-color: rgba(209,248,255,0.67);
}

#preftoc li.selected a {
   background: rgba(209,248,255,0.67);
}

/* Main Page */

.main_header img {
   max-width: 100%;
   height: auto;
}

#main_menu {
   width:100%;
}

#main_menu th {
   width:25%;
}

#main_menu td {
   vertical-align: top;
}

#twitterframe {
    background-color: rgba(0, 141, 240, 0.15);
}

#twitterframe iframe {
    max-height: 854px;
}

body.page-Pathway_Wiki .mw-body .firstHeading {
   display: none;
}

.mainpagetable, .mainpagetable img {
   max-width: 100%;
   height: auto;
}

body.page-Wiki h1.firstHeading, body.page-Wiki #contentSub, body.page-Wiki #contentSub2 {
   display: none;
}

.main_header img {
   max-width: 100%;
   height: auto;
}

#mainbannerleft {
   text-align:center;
}

#mainbannerright {
   text-align:center;
}

#mainbannerright img {
   min-width: 243px;
   height: auto;
}

#mainbannerleft img {
   min-width: 245px;
   height: auto;
}

#mainlinks {
    width: 100%;
}

/* Navboxstyling */
#navbox {
   margin:auto;
   width:80%;
   border: 1px solid rgb(132, 174, 236);
   padding: 5px; 
   border-radius:11px;
   clear: both;
   margin-top: 15px;
}

/* Gallery Styling */
li.gallerybox div.thumb {
  border: none;
  background-color: transparent;
}

/* Table Styling */
table.wikitable {
  background-color: transparent;
  border-collapse: separate;
  border: none;
}

table#overflow {
  display: block;
  overflow: auto;
}

table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td {
   border: 1px solid #8DCAF0;
   padding: 0.2em;
   background-color: rgba(255, 255, 255, 0.58);
}

table.wikitable > tr > th, table.wikitable > * > tr > th {
   background-color: #374b69;
   text-align: center;
   border-color: #19222f;
   box-shadow: 0px 1px rgba(0,0,0,0.3);
   color: white;
   text-shadow: 0px 2px #19222f;
}

table.wikitable > tr > th a, table.wikitable > * > tr > th a {
   color:white;
}

/* Infobox Styling */

div#infoboxtable {
   max-width:325px;
   width:100%;
   float:right;
   margin-left: 30px;
}

#infoboxheader {
   background-color: #a47750;
   text-align:center;
   font-size: 48px;
   line-height: 1.1em;
   padding-top:5px;
   color: white;
   text-shadow: 0px 2px 0px rgba(0,0,0,0.5);
}

#infoboxheader img {
   vertical-align: text-bottom;
}

#infoboxtable img {
   max-width:100%;
   height:auto;
}

div.noautonum .tocnumber { display: none; }

/* Responsive Styling */

@media screen and (max-width: 1600px) {
    #mainbannerleft {
        display: none;
    }
    #mainbannermiddle {
        width: 60%;
    }
    #devblog {
        display: none;
    }
}

@media screen and (max-width: 1400px) {
    #menucontent {
        font-size:12px;
    }
}

@media screen and (max-width: 1150px) {
    th#sidebar, td#sidebar, td#mainbannerright {
        display: none;
    }
}

@media screen and (max-width: 700px) {
    .mw-body, #left-navigation {
        margin-left: 8px;
        margin-right: 8px;
    }
    div#mw-panel {
        display: none;
    }
    div#footer ul {
        padding-left: 15px;
    }
}