MediaWiki:Common.css

From Pummel Party Mod Documentation
Revision as of 00:12, 6 December 2022 by RBAdmin (talk | contribs) (Color thumbnails and table of contents)
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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

/* Colors */
:root {
  --text: #eeeeee;
  --border: #eeeeee;

  --link: #768dcc;
  --link-visited: #a18dcc;
  

  --darkest-bg: #141417;
  --mid-bg: #212121;
  --light-bg: #404040;
}


/* Custom classes */
.main-page-section {
  border-left: 1px solid var(--text); 
  background-color: var(--darkest-bg); 
  padding: 0.5em 1em; 
  margin-bottom: 1em;
}


/* Override existing classes */

.wikitable {
    background-color: var(--mid-bg);
    color: var(--text);
    margin: 1em 0;
    border: 1px solid #a2a9b1;
    border-collapse: collapse;
}

#toc, div.thumbinner {
    border: 1px solid var(--border);
    background-color: var(--light-bg);
}

.vector-search-box-input {
  background-color: var(--light-bg);
  color: var(--text);
}


h1, h2, h3, h4, h5, h6, p {
  color: var(--text);
}

a, #mw-panel .vector-menu-content li a {
  color: var(--link);
}

a:visited, #mw-panel .vector-menu-content li a:visited {
  color: #a18dcc;
}

.mw-body {
  border: 1px solid var(--border);
}

body, #mw-head {
  background-color: var(--darkest-bg);
}

#content {
  background-color: var(--mid-bg);
}

.mw-list-item, .vector-menu-tabs li{
  background-color: var(--mid-bg);
  background-image: linear-gradient(to top, var(--light-bg) 0, var(--mid-bg) 100%);
}

.selected.mw-list-item{
  background-color: var(--mid-bg);
  background-image: none;
  
}

.vector-menu-tabs {
  background-image: linear-gradient(to bottom, var(--mid-bg) 0, var(--border) 100%);
}

.vector-menu-tabs .selected a {
  color: var(--text);
}

.vector-menu-tabs .selected a, .vector-menu-tabs .selected a:visited {
  color: var(--link-visited);
}