MediaWiki:Common.less/floornumber.less: Difference between revisions
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
Line 1: | Line 1: | ||
// default |
|||
// 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;} |
|||
.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; |
|||
} |
Latest revision as of 17:14, 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;
}