(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
div.navbox {
clear: both;
border: 1px solid #aaa;
padding: 3px !important;
box-sizing: border-box;
}
.navbox .navbox {
border: none;
padding: 0 !important;
margin-top: 2px;
}
div.navbox .navbar {
position: absolute;
font-size: 90.91%;
left: calc(1em + 3px);
}
div.navbox .mw-collapsible-toggle {
font-weight: bold;
position: absolute;
right: 1em;
}
div.navbox > .mw-collapsible-toggle {
right: calc(1em + 3px);
}
.navbox .navbox > .mw-collapsible-toggle {
right: 1em;
}
div.navbox .navbox-title, div.navbox td:not(:last-child) {
font-weight: bold;
}
div.navbox caption, div.navbox .navbox-group {
text-align: center;
}
div.navbox caption {
background-color: #c0ecc0;
}
div.navbox, div.navbox > div > table.mw-collapsible {
position: relative;
}
div.navbox > .navbox-title {
background-color: #a5e4a5;
font-size: 110%;
}
div.navbox.mw-collapsible > .navbox-title {
padding: 0 calc(4em + 6ch);
}
div.navbox table.mw-collapsible > caption {
padding: 0 calc(3em + 2ch);
}
div.navbox > .mw-collapsible-content > table {
width: 100%;
margin-top: 2px !important;
border-collapse: collapse;
}
div.navbox tr {
border-top: 2px solid #fdfdfd;
}
div.navbox .navbox-subgroup, div.navbox caption + tbody .navbox-group {
background-color: #e6f6e6;
}
div.navbox td:not(:last-child) {
border-right: 2px solid #fdfdfd;
width: 1px;
white-space: nowrap;
padding: 0 1em;
}
div.navbox td:last-child {
padding: 0 0.25em;
text-align: left;
}
div.navbox tr:nth-child(even) > td:last-child {
background-color: #f5fcf5;
}
@media screen and (max-width:1000px) {
div.navbox td:not(:last-child) {
width: unset;
white-space: normal;
}
}
@media screen and (max-width:640px) {
div.navbox tbody, div.navbox tr, div.navbox tr > td:nth-child(n) {
display: block;
width: auto;
}
div.navbox .navbox-subgroup, div.navbox .navbox-subgroup + td {
margin-left: 0.75em;
}
div.navbox td:not(:last-child) {
border-right: none;
}
div.navbox td:not(:first-child) {
margin-top: 2px;
border-top: none;
}
div.navbox .mw-collapsible-toggle, .navbox .navbox > .mw-collapsible-toggle {
right: 0;
top: 0;
}
div.navbox > .mw-collapsible-toggle {
right: 3px;
top: 3px;
}
div.navbox.mw-collapsible > .navbox-title, div.navbox table.mw-collapsible > caption {
padding: 0 calc(2em + 2ch);
}
}
div.navbox .navbar > .in-page-edit-article-link-group {
position: static;
}
/* [[Category:CSS pages under template namespace]] */