Jump to content

MediaWiki:Common.css

From VeraciaWiki
Revision as of 18:42, 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%;
}

/* General page background */
body {
  background-color: #2d241f;
  color: #e0d8c3;
}

/* Main content box */
#content, .mw-body, .vector-body, .mw-body-content {
  background-color: #3e322a;
  color: #e0d8c3;
  border: 1px solid #5a4c3d;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* Sidebars, panels */
.vector-sidebar-container,
.vector-toc, .mw-portlet {
  background-color: #4c3f33;
  color: #e0d8c3;
  border: 1px solid #5a4c3d;
}

/* Headings */
h1, h2, h3, h4, h5 {
  color: #f1e9ce;
}

/* Links */
a {
  color: #d8b365;
}
a:hover {
  color: #f4ca86;
}

/* Table backgrounds */
table, .wikitable {
  background-color: #40352d;
  color: #e0d8c3;
  border-color: #5a4c3d;
}

/* Search box + input fields */
input, textarea {
  background-color: #2b221c;
  color: #f5f0e1;
  border: 1px solid #5a4c3d;
}

/* Vector title bar (article header area) */
.vector-page-titlebar {
  background-color: #3a2f26;
  color: #e0d8c3;
  border-bottom: 1px solid #5a4c3d;
}