Difference between revisions of "MediaWiki:Common.css"

From Baka-Tsuki
Jump to navigation Jump to search
Line 12: Line 12:
 
#p-navigation {
 
#p-navigation {
 
clear:left;
 
clear:left;
margin-top:40px;
+
margin-top:55px;
 
}
 
}
   

Revision as of 08:17, 20 October 2013

/** CSS placed here will be applied to all skins */


/*<pre><nowiki>*/
/* putting the search box above the rest */
#p-search {
  position:absolute;
  top:150px;
  left:0;
}

#p-navigation {
  clear:left;
  margin-top:55px;
}


/* Standard Navigationsleisten, aka box hiding thingy from .de.  Documentation at [[Wikipedia:NavFrame]]. */

div.Boxmerge,
div.NavFrame {
        margin: 0px;
        padding: 4px;
        border: 1px solid #aaa;
        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: #fff;
        margin: 0px;
        padding: 2px;
        float: left;
}
div.NavFrame div.NavHead {
        height: 1.6em;
        font-weight: bold;
        background-color: #ccf;
        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:3px;
        font-weight:normal;
        font-size:smaller;
}

/* When <div class="nonumtoc"> is used on the table of contents, the ToC will display without numbers */
/* From http://en.wikipedia.org/wiki/MediaWiki:Common.css on Feb 15 09 by tlg */
.nonumtoc .tocnumber { display:none; }
.nonumtoc #toc ul,
.nonumtoc .toc ul {
    line-height: 1.5em;
    list-style: none;
    margin: .3em 0 0;
    padding: 0;
}
.nonumtoc #toc ul ul, 
.nonumtoc .toc ul ul { 
    margin: 0 0 0 2em; 
}

/* From http://www.mediawiki.org/wiki/Extension:Google_AdSense_2 on Mar 17 by tlg */
/* Pad Google AdSense box in portlet in sidebar */
#p-googleadsense .pBody {
    padding-top: 5px;
    text-align:  center;
}

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


/*</nowiki></pre>*/