Difference between revisions of "MediaWiki:Common.css"

From BRGS Wiki
Jump to: navigation, search
(I think this is the right code now)
m
 
Line 1: Line 1:
/* Standard Navigationsleisten, aka box hiding thingy
+
.collapseButton {          /* 'show'/'hide' buttons created dynamically */
  from .de.  Documentation at [[Wikipedia:NavFrame]]. */
+
     float: right;         /* by the CollapsibleTables javascript in    */
div.NavFrame {
+
     font-weight: normal;   /* [[MediaWiki:Common.js]]are styled here    */
    margin: 0;
+
     text-align: right;    /* so they can be customised.               */
    padding: 4px;
+
     width: auto;
    border: 1px solid #aaa;
+
    text-align: center;
+
    border-collapse: collapse;
+
    font-size: 95%;
+
}
+
div.NavFrame + div.NavFrame {
+
    border-top-style: none;
+
    border-top-style: hidden;
+
}
+
div.NavPic {
+
    background-color: #fff;
+
    margin: 0;
+
    padding: 2px;
+
     float: left;
+
}
+
div.NavFrame div.NavHead {
+
    height: 1.6em;
+
     font-weight: bold;
+
    background-color: #ccf;
+
    position: relative;
+
}
+
div.NavFrame p,
+
div.NavFrame div.NavContent,
+
div.NavFrame div.NavContent p {
+
     font-size: 100%;
+
}
+
div.NavEnd {
+
     margin: 0;
+
    padding: 0;
+
    line-height: 1px;
+
    clear: both;
+
}
+
a.NavToggle {
+
     position: absolute;
+
    top: 0;
+
    right: 3px;
+
    font-weight: normal;
+
    font-size: 90%;
+
 
}
 
}

Latest revision as of 17:19, 27 October 2010

.collapseButton {          /* 'show'/'hide' buttons created dynamically */
    float: right;          /* by the CollapsibleTables javascript in    */
    font-weight: normal;   /* [[MediaWiki:Common.js]]are styled here    */
    text-align: right;     /* so they can be customised.                */
    width: auto;
}