MediaWiki:Common.css: Difference between revisions

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
make it class-specific
No edit summary
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, ".") ".";
}