MediaWiki:Common.less/floornumber.less: Difference between revisions
(Created page with "// default .floornumber > .floornumber-us, #toc li a span.toctext span span:nth-child(2), // additional clarification .floornumber-setting-gb .floornumber > .floornumber-us, // toggled .floornumber-setting-gb #toc li a span.toctext span span:nth-child(2), .floornumber-setting-us .floornumber > .floornumber-gb, .floornumber-setting-us #toc li a span.toctext span span:nth-child(1) { display: none; } // display when setting is applied, always .floornumber-setting-gb .f...") |
(No difference)
|
Revision as of 00:09, 17 October 2024
// default .floornumber > .floornumber-us,
- toc li a span.toctext span span:nth-child(2),
// additional clarification .floornumber-setting-gb .floornumber > .floornumber-us, // toggled .floornumber-setting-gb #toc li a span.toctext span span:nth-child(2), .floornumber-setting-us .floornumber > .floornumber-gb, .floornumber-setting-us #toc li a span.toctext span span:nth-child(1) {
display: none;
}
// display when setting is applied, always .floornumber-setting-gb .floornumber > .floornumber-gb, .floornumber-setting-gb #toc li a span.toctext span span:nth-child(1), .floornumber-setting-us .floornumber > .floornumber-us, .floornumber-setting-us #toc li a span.toctext span span:nth-child(2) {
display: inline;
}
// for one-off overrides; using !important as this shouldn't be common .floornumber-override-gb .floornumber > .floornumber-us, .floornumber-override-gb #toc li a span.toctext span span:nth-child(2), .floornumber-override-us .floornumber > .floornumber-gb, .floornumber-override-us #toc li a span.toctext span span:nth-child(1) {
display: none !important;
}
.floornumber-override-gb .floornumber > .floornumber-gb, .floornumber-override-gb #toc li a span.toctext span span:nth-child(1), .floornumber-override-us .floornumber > .floornumber-us, .floornumber-override-us #toc li a span.toctext span span:nth-child(2) {
display: inline !important;
}