MediaWiki:Common.less/treelists.less

From The Kingkiller Chronicle Wiki
< MediaWiki:Common.less
Revision as of 12:09, 20 December 2018 by Corey (talk | contribs) (Created page with "→‎Tree style lists: .treeview ul { padding: 0; margin: 0; } .treeview li { padding: 0; margin: 0; list-style-type: none; list-style-image: none; } ....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump 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.

/* Tree style lists */ .treeview ul {

   padding: 0;
   margin: 0;

} .treeview li {

   padding: 0;
   margin: 0;
   list-style-type: none;
   list-style-image: none;

} .treeview li li {

   background: url("//thecrockery.org/wiki/images/f/f2/Treeview-grey-line.png") no-repeat 0 -2981px;
   /* @noflip */
   padding-left: 20px;
   text-indent: 0.3em;

} .treeview li li.lastline {

   background-position: 0 -5971px

} .treeview li.emptyline > ul {

   /* @noflip */
   margin-left: -1px;

} .treeview li.emptyline > ul > li:first-child {

   background-position: 0 9px

}