Actions

MediaWiki

Common.css: Difference between revisions

From DT Online

m (A bit more padding to the left of right floated items)
(Colouring the top bar)
Line 8: Line 8:
{
{
  margin-top: 0.5em;
  margin-top: 0.5em;
}
/* 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: #006699;
  color: #ffffff;
}
.top-bar-section > ul > .divider,
.top-bar-section > ul > [role="separator"] {
  border-color: #006699;
}
/* 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: #004567;
}
/* Slightly darker color for the dropdowns */
.top-bar-section ul li ul.dropdown li > a {
    background: #006699;
}
}

Revision as of 13:55, 26 February 2015

/* CSS placed here will be applied to all skins */
div.floatright
{
 padding-left: 2em;
}

div.group
{
 margin-top: 0.5em;
}

/* 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: #006699;
   color: #ffffff;
}

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

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

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