MediaWiki:Common.less/floornumber.less

From RuneRealm Wiki

This is the current revision of this page, as edited by Alex (talk | contribs) at 17:14, 17 October 2024. The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

// default .floornumber > .floornumber-us,

  1. 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;

}