MediaWiki:Vector.css

From XMission Wiki
Revision as of 19:35, 31 March 2025 by Squarshy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Note: After publishing, 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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* All CSS here will be loaded for users of the Vector skin */

#XMission_Support_Wiki {
  height: 34px;
  padding-top: 6px;
  display: inline-block;
  font-family: Arvo, sans-serif;
}

#XMission_Support_Wiki img {
  margin-top: -12px !important;
}

h1.superHeader {margin: 5px -5px 15px -10px;}

#p-logo {margin-bottom:-54px}
#p-logo a {height:110px}

#ca-talk, #ca-nstab-mediawiki, #ca-nstab-special, #ca-nstab-main {display:none}

#p-namespaces.vector-menu-tabs {background-image:none}

#home-block h2 {
  font-family:Arvo;
  width:calc(100% - 30px);
}

#home-block a {
  text-decoration:none;
  display:inline-block;
  border:1px solid #aaa;
  border-radius:4px;
  padding:8px 12px;
  color:#444;
  background:#eee;
  margin:0 0 10px 4px;
  font-size:15px;
}

#home-block a:hover {
  color:black;
  border-color:#888;
  box-shadow:1px 1px 0px #999;
}


/** responsive **/

@media (max-width: 570px) {
  div#mw-panel { display: none; }
  .mw-body, #mw-head-base, #left-navigation, #mw-data-after-content, .mw-footer {margin-left: 0;}
  #p-personal .vector-menu-content {display:none !important;  visiblity:hidden;}
  #mw-head::before {
    content: "XMission Wiki";
    font-family: 'Arvo';
    font-size: 20px;
    position: absolute;
    top: 8px;
    left: 8px;
  }
}