MediaWiki:Gadget-NavboxStyle.css: Difference between revisions
From Destinypedia, the Destiny wiki
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
/* Halo/Destiny styles */ | /* Halo/Destiny styles */ | ||
body.mediawiki .navbox-title a, | body.mediawiki .navbox-title a, | ||
body.mediawiki .navbox-group a { | body.mediawiki .navbox-group a, | ||
body.mediawiki .navbox-abovebelow a { | |||
color: inherit !important; | color: inherit !important; | ||
} | } |
Revision as of 17:16, September 20, 2022
/* Navbox template CSS */
/* Halo/Destiny styles */
body.mediawiki .navbox-title a,
body.mediawiki .navbox-group a,
body.mediawiki .navbox-abovebelow a {
color: inherit !important;
}
.navbox-title .mw-collapsible-toggle {
padding-right: 5px;
}
.navbox-title {
border-radius: 0.5em;
}
.navbox-group {
font-weight: bold;
text-align: center;
border-radius: 0.5em 0 0 0.5em;
padding: 0 4px;
}
.navbox-list {
border-radius: 0 0.5em 0.5em 0;
}
.navbox-abovebelow,
.navbox-list[colspan="2"] {
text-align: center;
border-radius: 0.5em;
}
.navbox {
color: #000;
clear: both;
border-spacing: 0;
border-radius: 0.5em !important;
margin: 15px auto 2px !important;
}
.navbox table {
border-spacing: 0;
}
.navbox p {
margin: 0 !important;
}
.navbox:last-of-type {
margin-bottom: 0 !important;
}
.navbox .navbox {
margin: 0 auto !important;
}
.navbox + .navbox-heading + .navbox,
.navbox + div + p + .navbox,
.navbox + p + .navbox,
.navbox + .navbox {
margin-top: 0 !important;
}
.navbox .navbox + .navbox,
.mobile.skin-timeless .navbox + .navbox {
margin-top: 2px !important;
}
.skin-timeless .navbox-title {
padding-bottom: 0 !important;
}
.skin-timeless .navbox td {
padding-top: 0 !important;
}
.navbox .center-template {
margin: 0 !important;
}