MediaWiki:Common.css

From MakeICT Wiki
Revision as of 17:46, 9 September 2016 by Dominic Canare (talk | contribs) (Created page with "→‎CSS placed here will be applied to all skins: .toclimit li { display: none; } .tocshow-1 li.toclevel-1 { display: block; } .tocshow-2 li.toclevel-1, .tocshow-2...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */
.toclimit li {
    display: none;
}

.tocshow-1 li.toclevel-1 {
    display: block;
}

.tocshow-2 li.toclevel-1,
.tocshow-2 li.toclevel-2 {
    display: block;
}

.tocshow-3 li.toclevel-1,
.tocshow-3 li.toclevel-2,
.tocshow-3 li.toclevel-3 {
    display: block;
}

.tocshow-4 li.toclevel-1,
.tocshow-4 li.toclevel-2,
.tocshow-4 li.toclevel-3,
.tocshow-4 li.toclevel-4 {
    display: block;
}