MediaWiki: Foreground.css: Difference between revisions

From DivNull RPG
Jump to: navigation, search
imported>Wordman
No edit summary
imported>Wordman
No edit summary
Line 12: Line 12:
h2 {
h2 {
   border-bottom: 1px solid #777;
   border-bottom: 1px solid #777;
  font-size: 2em;
}
h2.title {
  font-size: 2.3125em;
  border-bottom: none;
}
h3 {
  font-size: 1.8em;
}
}



Revision as of 19:52, 23 December 2014

/* 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.8em;
}

/* 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;
}