Difference between revisions of "MediaWiki:Common.css"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
(make it class-specific)
Line 5: Line 5:
 
}
 
}
  
tree.ul > li:before {
+
tree.ul > tree.li:before {
 
   counter-increment: listNum;
 
   counter-increment: listNum;
 
   content: counters(listNum, ".") ".";
 
   content: counters(listNum, ".") ".";
 
}
 
}

Revision as of 19:30, 14 April 2014

/* CSS placed here will be applied to all skins */
tree.ul {
  counter-reset: listNum;
  list-style-type: none;
}

tree.ul > tree.li:before {
  counter-increment: listNum;
  content: counters(listNum, ".") ".";
}