MediaWiki:Foreground.css

From DivNull RPG
Revision as of 19:57, 23 December 2014 by imported>Wordman
Jump to: navigation, 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.
/* Make default text size smaller */
body {
  font-size: 90%;
}

/* Fix the dumb margins for headers */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0.5em;
  margin-bottom: 0.2em;
}

h2 {
  border-bottom: 1px solid #777;
  font-size: 2em;
}

h2.title {
  font-size: 2.3125em;
  border-bottom: none;
}

h3 {
  font-size: 1.6em;
}

h4 {
    font-variant: small-caps;
}

div.toc {
  background-color: #eee;
  padding-left: 5px;
  padding-right: 5px;
  border: 1px solid #777;
}

/* Custom Foreground menubar colors */
.top-bar,
.top-bar-section ul,
.top-bar-section ul li.active > a,
.top-bar-section li a:not(.button),
.top-bar-section .has-form {
   background: #553355;
   color: white;
}

.top-bar-section > ul > .divider,
.top-bar-section > ul > [role="separator"] {
  border-color: #553355;
}

/* Darker color for the hover over items */
.top-bar-section ul li.hover > a,
.top-bar-section ul li ul.dropdown li.hover > a{
    background: #331133;
}

/* Slightly darker color for the dropdowns */
.top-bar-section ul li ul.dropdown li > a {
    background: #442244;
}