MediaWiki:Navbox.css

From BelegarthWiki

Revision as of 01:47, 3 April 2014 by Thurat (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Note: After saving, 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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
/*  
Borrowing from http://powerrangers.wikia.com/wiki/MediaWiki%3ANavbox.css
=================
    NAVBOXES
    =================
    This is for simple navigation,
    as with seasonal nav boxes,
    species nav boxes, etc.
    =================
    The core of this originally
    came from wowwiki.com,
    but it seemed to be a tweak
    of code originally taken
    from the English Wikipedia.
    ================== */
 
/*  ++++++++++++++++
    General tweak for navboxes
    +++++++++++++++++ */
 
.nowraplinks a { 
    white-space: nowrap;
}
 
/*  ++++++++++++++++
    NAVFRAME STUFF 
    ++++++++++++++++
    Standard Navigationsleisten, 
    aka box hiding thingy from .de.wikipedia 
    Documentation at 
    [[wikipedia:Wikipedia:NavFrame]]. 
    ++++++++++++++++ */
 
div.Boxmerge,
div.NavFrame {
    margin: 0px;
    padding: 4px;
    /* border: 1px solid #aaa; Border unnecessary and uncurved */
    text-align: center;
    border-collapse: collapse;
    font-size: 95%;
}
div.Boxmerge div.NavFrame {
    border-style: none;
    border-style: hidden;
}
div.NavFrame + div.NavFrame {
    border-top-style: none;
    border-top-style: hidden;
}
div.NavPic {
    background-color: background-color:#f1f1f1
}
div.NavFrame div.NavHead {
    height: 1.6em;
    font-weight: bold;
    background-color: red;
    position:relative;
}
div.NavFrame p {
    font-size: 100%;
}
 
div.NavFrame div.NavContent {
    font-size: 100%;
}
 
div.NavFrame div.NavContent p {
    font-size: 100%;
}
 
div.NavEnd {
    margin: 0px;
    padding: 0px;
    line-height: 1px;
    clear: both;
}
 
a.NavToggle {
    position:absolute;
    top:0px;
    right:10px;
    font-weight:normal;
    font-size:smaller;
    margin-left:25px;
}
 
.NavToggle .collapseButton,
.NavToggle collapseButton {
    right:10px;
    font-weight:normal;
    font-size:smaller;
    text-align:right;
    margin-left:25px;
}
 
.collapseButton {
    float: right;
    font-weight: normal;
    margin-left: 0.5em;
    text-align: right;
    width: auto;
}
 
/*  +++++++++++++++
    DEFAULT SKIN
    FOR NAVBOXES
    +++++++++++++++
 
    =-=-=-=-=-=-=-=
    Navbox container style
    =-=-=-=-=-=-=-= */
 
table.navbox {    
background-color:lightgray;
}
 
/*  =-=-=-=-=-=-=-=
    Single pixel border between
    adjacent navboxes
    (doesn't work for IE6, but that's okay)
    =-=-=-=-=-=-=-= */
 
table.navbox + table.navbox { 
    margin-top:-1px;
}
 
/*  =-=-=-=-=-=-=-=-
    Title and above/below styles
    =-=-=-=-=-=-=-=- */
 
.navbox-title, 
.navbox-abovebelow, 
table.navbox th {
    background-color:#012d59;
    font-color:white;
   }
 
/*  =-=--=-=-=-=-=-
    Group style
    =-=-=-=-=-=-=-= */
 
.navbox-group {    
    white-space:nowrap;
    text-align:right;
    font-weight:normal;
    padding-left:1em;
    padding-right:1em;
}
 
.navbox, 
.navbox-subgroup { 
    background:#slategrey;
}
 
.navbox-list { 
    border-left:2px solid #fdfdfd;
}
 
.navbox-title, 
table.navbox th {     
    -webkit-border-radius: 10px 0px 0px 10px;
       -moz-border-radius: 10px 0px 0px 10px;
        -ms-border-radius: 10px 0px 0px 10px;
         -o-border-radius: 10px 0px 0px 10px;
            border-radius: 10px 0px 0px 10px;
       -moz-box-shadow: inset -0px 0px 25px 4px #D5D4F0;
    -webkit-box-shadow: inset -0px 0px 25px 4px #D5D4F0;
        -ms-box-shadow: inset -0px 0px 25px 4px #D5D4F0;
         -o-box-shadow: inset -0px 0px 25px 4px #D5D4F0;
            box-shadow: inset -0px 0px 25px #D5D4F0 4px;
    color:#1F1E38;
    padding:5px;
    font-family: 'Lucida Grande', 'Trebuchet MS', 'Gill Sans', Verdana, 'URW Gothic L','Nimbus Sans L',sans-serif;
    text-align:left;
    line-height:120%;
    margin-left:auto;
    margin-right:auto;
    margin-top:5px;
}
 
.navbox-abovebelow, 
.navbox-group { 
    background-color:#D5D4F0;
}
 
.navbox-subgroup .navbox-title { 
    -webkit-border-radius: 10px 0px 0px 10px;
       -moz-border-radius: 10px 0px 0px 10px;
        -ms-border-radius: 10px 0px 0px 10px;
         -o-border-radius: 10px 0px 0px 10px;
            border-radius: 10px 0px 0px 10px;
       -moz-box-shadow: inset -0px 0px 25px 4px #D5D4F0;
    -webkit-box-shadow: inset -0px 0px 25px 4px #D5D4F0;
        -ms-box-shadow: inset -0px 0px 25px 4px #D5D4F0;
         -o-box-shadow: inset -0px 0px 25px 4px #D5D4F0;
            box-shadow: inset -0px 0px 25px #D5D4F0 4px;
    color:#1F1E38;
    padding:5px;
    font-family: 'Lucida Grande', 'Trebuchet MS', 'Gill Sans', Verdana, 'URW Gothic L','Nimbus Sans L',sans-serif;
    text-align:left;
    line-height:120%;
    margin-left:auto;
    margin-right:auto;
    margin-top:5px;
}
 
.navbox-subgroup .navbox-group, 
.navbox-subgroup .navbox-abovebelow { 
    background:#e6e6ff;
}
 
.navbox-even { 
    background:#f7f7f7;
}
 
.navbox-odd { 
    background:transparent;
}
 
@media print { .navbox { display: none; } }
Personal tools
For Fighters
For Craftsman
Leadership