13,976
edits
No edit summary |
mNo edit summary |
||
(51 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* Navbox | /* Navbox template CSS */ | ||
/* | /* Shared styles */ | ||
. | body.mediawiki .navbox-group a, | ||
#mw-content-text .navbox-title a, | |||
body.mediawiki .navbox-abovebelow a { | |||
color: inherit !important; | |||
} | } | ||
.navbox-title .mw-collapsible-toggle { | |||
padding-right: 5px; | |||
padding-right: | |||
} | } | ||
.navbox-title { | |||
border-radius: 0.5em; | |||
} | } | ||
. | .navbox-group { | ||
width: 15%; | |||
font-weight: bold; | |||
text-align: center; | |||
border-radius: 0.5em 0 0 0.5em; | |||
padding: 0 4px; | |||
} | } | ||
.navbox . | .navbox-group + .navbox-list { | ||
border-radius: 0 0.5em 0.5em 0; | |||
} | } | ||
.navbox-abovebelow, | |||
.navbox-list[colspan="2"] { | |||
.navbox | text-align: center; | ||
border-radius: 0.5em; | |||
} | } | ||
.navbox-abovebelow { | |||
font-size: 90%; | |||
} | } | ||
.navbox { | .navbox { | ||
color: #000; | |||
width: 100%; | |||
clear: both; | clear: both; | ||
border-spacing: 0; | border-spacing: 0; | ||
margin: 15px auto | border-radius: 0.75em; | ||
overflow: hidden !important; | |||
margin: 15px auto 1px !important; | |||
} | } | ||
.navbox table { | .navbox table { | ||
border-spacing: 0; | border-spacing: 0; | ||
} | } | ||
.navbox:last- | .navbox p { | ||
margin: 0 !important; | |||
} | |||
.navbox:last-child { | |||
margin-bottom: 0 !important; | margin-bottom: 0 !important; | ||
} | } | ||
Line 91: | Line 52: | ||
margin: 0 auto !important; | margin: 0 auto !important; | ||
} | } | ||
.navbox + .navbox, | |||
.navbox + p + .navbox, | |||
.navbox + div + p + .navbox, | |||
.navbox + .navbox-heading + .navbox, | .navbox + .navbox-heading + .navbox, | ||
. | .content-table-wrapper + .content-table-wrapper .navbox { | ||
. | |||
margin-top: 0 !important; | margin-top: 0 !important; | ||
} | } | ||
.navbox-list > div > .navbox:first-of-type { | |||
margin-top: -1px !important; | |||
} | |||
.navbox-list:has(.navbox) { | |||
background: none !important; | |||
} | |||
.navbox .navbox + .navbox, | |||
.navbox .navbox + p + .navbox, | |||
.mobile.skin-timeless .navbox + .navbox { | .mobile.skin-timeless .navbox + .navbox { | ||
margin-top: | margin-top: 1px !important; | ||
} | } | ||
.skin-timeless .navbox-title { | .skin-timeless .navbox-title { | ||
Line 105: | Line 75: | ||
.skin-timeless .navbox td { | .skin-timeless .navbox td { | ||
padding-top: 0 !important; | padding-top: 0 !important; | ||
} | |||
.client-nojs .navspace-big, | |||
.client-nojs .navspace-small { | |||
display: none !important; | |||
} | |||
.navbox .center-template { | |||
margin: 0 !important; | |||
} | |||
@media print { | |||
.navbox { | |||
display: none; | |||
} | |||
} | } |