MediaWiki:Common.css: Difference between revisions

From SCA Lochac
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


/* section-based ol numbering*/
/* section-based ol numbering*/
div.mw-content-text ol {
#mw-content-text ol {
   counter-reset: section;
   counter-reset: section;
   list-style-type: none;
   list-style-type: none;
}
}
div.mw-content-text li:before {
#mw-content-text li:before {
   list-style-type: none;
   list-style-type: none;
   counter-increment: section;
   counter-increment: section;
   content: counters(section, ".") ". ";
   content: counters(section, ".") ". ";
}
}

Revision as of 04:09, 11 April 2018

/* CSS placed here will be applied to all skins */

/* section-based ol numbering*/
#mw-content-text ol {
  counter-reset: section;
  list-style-type: none;
}
#mw-content-text li:before {
  list-style-type: none;
  counter-increment: section;
  content: counters(section, ".") ". ";
}