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
(attribute and tag were reversed)
(try with ul->ol)
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
ul.tree {
+
ol {
 
   counter-reset: listNum;
 
   counter-reset: listNum;
 
   list-style-type: none;
 
   list-style-type: none;
 
}
 
}
  
ul.tree > li:before {
+
ol > li:before {
 
   counter-increment: listNum;
 
   counter-increment: listNum;
 
   content: counters(listNum, ".") ".";
 
   content: counters(listNum, ".") ".";
 
}
 
}

Revision as of 17:01, 15 April 2014

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

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