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 edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
// 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;} |
|||
// 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; |
|||
} |
Revision as of 17:12, 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;}