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
try with ul->ol
one status style to start with
Line 8: Line 8:
   counter-increment: listNum;
   counter-increment: listNum;
   content: counters(listNum, ".") ".";
   content: counters(listNum, ".") ".";
}
  /* status styles */
.stat-ok {
  background-color: #44ff44;
}
}

Revision as of 20:31, 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, ".") ".";
}

  /* status styles */
.stat-ok {
  background-color: #44ff44;
}