MediaWiki: Foreground.css: Difference between revisions
From DivNull RPG
imported>Wordman (Created page with "→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 { ba...") |
imported>Wordman No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* 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 */ | /* Custom Foreground menubar colors */ | ||
.top-bar, | .top-bar, | ||
| Line 5: | Line 20: | ||
.top-bar-section li a:not(.button), | .top-bar-section li a:not(.button), | ||
.top-bar-section .has-form { | .top-bar-section .has-form { | ||
background: # | background: #553355; | ||
color: | color: white; | ||
} | } | ||
.top-bar-section > ul > .divider, | .top-bar-section > ul > .divider, | ||
.top-bar-section > ul > [role="separator"] { | .top-bar-section > ul > [role="separator"] { | ||
border-color: # | border-color: #553355; | ||
} | } | ||
| Line 17: | Line 32: | ||
.top-bar-section ul li.hover > a, | .top-bar-section ul li.hover > a, | ||
.top-bar-section ul li ul.dropdown li.hover > a{ | .top-bar-section ul li ul.dropdown li.hover > a{ | ||
background: # | background: #331133; | ||
} | } | ||
/* Slightly darker color for the dropdowns */ | /* Slightly darker color for the dropdowns */ | ||
.top-bar-section ul li ul.dropdown li > a { | .top-bar-section ul li ul.dropdown li > a { | ||
background: # | background: #442244; | ||
} | } | ||
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;
}