MediaWiki:Gadget-NavboxStyle.css: Difference between revisions
From Destinypedia, the Destiny wiki
(Created page with "→Navbox templates, with mobile support: ") |
No edit summary |
||
Line 1: | Line 1: | ||
/* Navbox templates, with mobile support */ | /* Navbox templates, with mobile support */ | ||
/* Halo/Destiny */ | |||
.navbox-heading { | |||
clear: both !important; | |||
} | |||
.mobile.skin-timeless .navbox-heading, | |||
body:not(.skin-minerva) .navbox + .navbox-heading { | |||
border: 0 !important; | |||
font-size: 0 !important; | |||
line-height: 0 !important; | |||
padding: 0 !important; | |||
} | |||
.mobile.skin-timeless .navbox-heading::after, | |||
body:not(.skin-minerva) .navbox + .navbox-heading::after { | |||
border: 0 !important; | |||
} | |||
.navbox .navbox-heading, | |||
.toc a[href^="#See_also_"], | |||
.mobile.skin-timeless .navbox-heading > .mw-ui-icon { | |||
display: none !important; | |||
} | |||
.mobile.skin-timeless .navbox-heading + .collapsible-block { | |||
display: block !important; | |||
} | |||
.mobile.skin-timeless .navbox { | |||
margin-top: 2px !important; | |||
} | |||
.mobile.skin-timeless .navbox .navbox { | |||
margin-top: 0 !important; | |||
} | |||
.mobile.skin-timeless h2:not(.navbox-heading) + section + .navbox-heading + section > .navbox { | |||
margin-top: 25px !important; | |||
} | |||
.skin-timeless .navbox td { | |||
padding-top: 0 !important; | |||
} | |||
.navbox-title, | |||
.navbox-title a, | |||
.navbox-title span { | |||
color: white !important; | |||
} | |||
.navbox-title.light, | |||
.navbox-title.light a, | |||
.navbox-title.light span { | |||
color: black !important; | |||
} | |||
body:not(.skin-minerva) .navbox-title { | |||
padding-right: 5px; | |||
} | |||
.navbox { | |||
clear: both; | |||
border-spacing: 0; | |||
margin: 15px auto 2px !important; | |||
width: 100% !important; | |||
} | |||
.navbox table { | |||
border-spacing: 0; | |||
} | |||
.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 .mw-collapsible-toggle-expanded { | |||
padding-left: 5px; | |||
} | |||
/* Custom */ | |||
.hide .mw-collapsible-toggle-expanded { | |||
padding-left: 5px; | |||
} |
Revision as of 04:29, April 11, 2021
/* Navbox templates, with mobile support */
/* Halo/Destiny */
.navbox-heading {
clear: both !important;
}
.mobile.skin-timeless .navbox-heading,
body:not(.skin-minerva) .navbox + .navbox-heading {
border: 0 !important;
font-size: 0 !important;
line-height: 0 !important;
padding: 0 !important;
}
.mobile.skin-timeless .navbox-heading::after,
body:not(.skin-minerva) .navbox + .navbox-heading::after {
border: 0 !important;
}
.navbox .navbox-heading,
.toc a[href^="#See_also_"],
.mobile.skin-timeless .navbox-heading > .mw-ui-icon {
display: none !important;
}
.mobile.skin-timeless .navbox-heading + .collapsible-block {
display: block !important;
}
.mobile.skin-timeless .navbox {
margin-top: 2px !important;
}
.mobile.skin-timeless .navbox .navbox {
margin-top: 0 !important;
}
.mobile.skin-timeless h2:not(.navbox-heading) + section + .navbox-heading + section > .navbox {
margin-top: 25px !important;
}
.skin-timeless .navbox td {
padding-top: 0 !important;
}
.navbox-title,
.navbox-title a,
.navbox-title span {
color: white !important;
}
.navbox-title.light,
.navbox-title.light a,
.navbox-title.light span {
color: black !important;
}
body:not(.skin-minerva) .navbox-title {
padding-right: 5px;
}
.navbox {
clear: both;
border-spacing: 0;
margin: 15px auto 2px !important;
width: 100% !important;
}
.navbox table {
border-spacing: 0;
}
.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 .mw-collapsible-toggle-expanded {
padding-left: 5px;
}
/* Custom */
.hide .mw-collapsible-toggle-expanded {
padding-left: 5px;
}