Difference between revisions of "MediaWiki:Common.css"
(added content template to common.css) |
m (Added NavFrame) |
||
| Line 5: | Line 5: | ||
max-width:1000px; | max-width:1000px; | ||
margin-left:0px; | margin-left:0px; | ||
| + | } | ||
| + | |||
| + | /* Standard Navigationsleisten, aka box hiding thingy | ||
| + | from .de. Documentation at [[Wikipedia:NavFrame]]. */ | ||
| + | div.NavFrame { | ||
| + | margin: 0; | ||
| + | padding: 4px; | ||
| + | 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; | ||
| + | /* @noflip */ | ||
| + | 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; | ||
| + | /* @noflip */ | ||
| + | right: 3px; | ||
| + | font-weight: normal; | ||
| + | font-size: 90%; | ||
} | } | ||
Revision as of 13:40, 2 February 2017
/* CSS placed here will be applied to all skins */
/* content template */
div.content1 {
max-width:1000px;
margin-left:0px;
}
/* Standard Navigationsleisten, aka box hiding thingy
from .de. Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
margin: 0;
padding: 4px;
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;
/* @noflip */
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;
/* @noflip */
right: 3px;
font-weight: normal;
font-size: 90%;
}