MediaWiki: Foreground.css: Difference between revisions

From DivNull RPG
Jump to: navigation, search
imported>Wordman
No edit summary
imported>Wordman
No edit summary
Line 22: Line 22:
h3 {
h3 {
   font-size: 1.7em;
   font-size: 1.7em;
}
h4 {
    font-variant: small-caps;
}
}


Line 27: Line 31:
   background-color: #eee;
   background-color: #eee;
   padding-left: 5px;
   padding-left: 5px;
  padding-right: 5px;
   border: 1px solid #777;
   border: 1px solid #777;
}
}

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

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