MediaWiki:Common.css: Difference between revisions

From SCA Lochac
Jump to navigation Jump to search
(Created page with "→‎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...")
(No difference)

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