MediaWiki:Common.css: Porovnání verzí
(navboxy) |
m (navigační tlačítka - Jiří Sedláček) |
||
Řádek 162: | Řádek 162: | ||
width: auto; | width: auto; | ||
} | } | ||
+ | |||
+ | /* Standard Navigationsleisten, aka box hiding thingy | ||
+ | from .de. Documentation at [[Wikipedia:NavFrame]]. */ | ||
+ | div.NavFrame { | ||
+ | margin: 0; | ||
+ | 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 { | ||
+ | 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%; | ||
+ | } |
Aktuální verze z 11. 12. 2014, 22:50
/* Zde uvedené CSS bude ovlivňovat všechny styly */
/* Navboxy */
div.navbox {
border: 1px solid transparent;
clear: both;
font-size: 88%;
padding: 2px;
text-align: center;
margin-top: 2em;
}
div.navbox + div.navbox {
margin-top: 0;
}
div.navbox tr.navbox-padding {
height: 2px;
}
div.navbox th.navbox-title,
div.navbox td.navbox-abovebelow,
div.navbox th {
padding-left: 1em;
padding-right: 1em;
text-align: center;
}
div.navbox td.navbox-group {
font-weight: bold;
padding-left: 1em;
padding-right: 1em;
text-align: right;
white-space: nowrap;
}
div.navbox table.navbox-navbox,
div.navbox table.navbox-subgroup,
div.navbox td.navbox-group + th.navbox-title,
div.navbox td.navbox-list {
width: 100%;
}
div.navbox td.navbox-list {
padding: 0;
}
div.navbox td.navbox-group + td.navbox-list {
border-left: 2px solid transparent;
text-align: left;
}
div.navbox td.navbox-list div {
padding: 0 .25em;
}
div.navbox td.navbox-group + th.navbox-title {
border-left: 2px solid transparent;
}
div.navbox table.navbox-navbox th.navbox-title span.navbox-titletext {
font-size: 110%;
}
div.navbox table.navbox-subgroup th.navbox-title span.navbox-titletext {
font-size: 100%;
}
div.navbox td.navbox-imageleft {
padding: 0 2px 0 0;
width: 0;
}
div.navbox td.navbox-image {
padding: 0 0 0 2px;
width: 0;
}
div.navbox .collapseButton {
width: 6em;
}
/* barvy */
div.navbox {
border-color: #aaa;
}
div.navbox,
div.navbox table.navbox-subgroup {
background-color: #fdfdfd;
}
div.navbox table.navbox-navbox {
background-color: transparent;
color: inherit;
}
div.navbox td.navbox-group + th.navbox-title ,
div.navbox td.navbox-group + td.navbox-list {
border-color: #fdfdfd;
}
div.navbox th.navbox-title,
div.navbox th {
background-color: #e0e0e0;
}
div.navbox td.navbox-abovebelow,
div.navbox td.navbox-group,
div.navbox table.navbox-subgroup td.navbox-title {
background-color: #e7e7e7;
}
div.navbox table.navbox-subgroup td.navbox-group,
div.navbox table.navbox-subgroup td.navbox-abovebelow {
background-color: #f0f0f0;
}
div.navbox td.navbox-even {
background-color: #f7f7f7;
}
div.navbox td.navbox-odd {
background-color: transparent;
}
table.navboxes {
border: 1px solid #aaa;
clear: both;
font-size: 88%;
text-align: center;
width: 100%;
}
table.navboxes th {
background-color: #e0e0e0;
padding-left: 1em;
padding-right: 1em;
}
table.navboxes .collapseButton {
width: 6em;
}
table.navboxes div.navbox {
font-size: 88%;
}
table.navboxes + table.navboxes,
table.navboxes + div.navbox,
div.navbox + table.navboxes,
div.navbox + div.navbox {
margin-top: -1px;
}
.collapseButton {
float: right;
font-weight: normal;
text-align: right;
width: auto;
}
/* Standard Navigationsleisten, aka box hiding thingy
from .de. Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
margin: 0;
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 {
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%;
}