Jump to content

MediaWiki:Common.css

From VeraciaWiki
Revision as of 13:58, 29 March 2025 by DM (talk | contribs)

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.
/* CSS placed here will be applied to all skins */

/* Header */
#p-search {
    margin-left: 3rem !important;
}


/* Sidebar */
/* Disable "Switch to old look" menu item */
.vector-main-menu-action { display: none!important; }



/* All pages */
/* Hide unnecessary Tabs */
#ca-talk { display: none !important; }
#ca-history { display: none !important; }

.vector-body h2 {
    font-size: 1.5em;
}

.vector-body h3 {
    font-size: 1.25em;
}

.vector-body h4 {
    font-size: 1.1em;
}

.vector-body h5 {
    font-size: 0.9em;
}


 /* Change links to be another color. */
a,
a:visited {
    color: #264d9e !important;
}

/* Change redlinks to be another color. */
a.new,
a.new:visited {
    color: #6d6d6d !important;
}



/* Navbox */
/* Always put Navbox at the bottom of the page */
#navbox {
    position: absolute;
    bottom: 0;
    width: 100%;
}


/* Banner Images */
/* === Banner styling behind article titles === */

.page-Retsu-Rei-Zhin .vector-page-titlebar {
  background-image: url("/wiki/Special:FilePath/Retsu-Rei-Zhin_Banner.jpg");
  background-size: cover;
  background-position: center;
  padding-top: 6em; /* height of banner */
  padding-bottom: 2em;
  margin-bottom: 2em;
}

.page-Retsu-Rei-Zhin .vector-page-titlebar .firstHeading {
  color: white;
  text-shadow:
    -1px -1px 0 #fff,
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff,
     2px  2px 4px rgba(0,0,0,0.7);
  font-size: 2.8em;
  margin-left: 1em;
}