Difference between revisions of "MediaWiki:Common.css"
From James Dooley's Wiki
| Line 24: | Line 24: | ||
.mbox_ubuntu{ | .mbox_ubuntu{ | ||
border-color: #DD4814; | border-color: #DD4814; | ||
| + | } | ||
| + | * 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%; | ||
} | } | ||
Latest revision as of 13:11, 8 April 2015
/* CSS placed here will be applied to all skins */
.mbox_default {
padding: 0 0 0 25px;
border: ridge 5px;
}
.mbox_warning {
border-color: red;
}
.mbox_caution {
border-color: yellow;
}
.mbox_info {
border-color: blue;
}
.mbox_centos{
border-color: gold;
}
.mbox_ubuntu{
border-color: #DD4814;
}
* 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%;
}