MediaWiki: Foreground.css: Difference between revisions

From DivNull RPG
Jump to: navigation, search
imported>Wordman
No edit summary
imported>Wordman
No edit summary
Line 2: Line 2:
body {
body {
   font-size: 90%;
   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;
}
}



Revision as of 19:47, 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;
}

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