MediaWiki:Common.css

From coraldigest
Revision as of 14:20, 6 December 2012 by BrianNaess (talk | contribs)
Jump to: navigation, search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
h1.firstHeading { display:none; }

#nav, #nav ul {
    float: left;
    list-style: none outside none;
    margin: 0;
    padding: 0;
    width: 11em;
}
#nav li {
    float: left;
    line-height: 1.25em;
    margin-bottom: -1px;
    position: relative;
    width: 11em;
}
#nav li ul {
    left: -999em;
    margin-left: 11.05em;
    margin-top: -1.35em;
    position: absolute;
}
#nav li ul ul {
    left: -999em;
}
#nav li a {
    background-color: white;
    border: 1px solid black;
    color: black;
    display: block;
    font-weight: bold;
    padding: 0 0.5em;
    text-decoration: none;
    width: 10em;
}
#nav li a:hover {
    background-color: black;
    color: white;
}
#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
    left: -999em;
}
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul {
    left: auto;
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.