You are here

xbbcode_list.css in Extensible BBCode 8

ol.sectioned {
    counter-reset: section;
    list-style-type:none;
}

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

ol.upper-alpha 
{
	list-style-type:upper-alpha;
}

ol.lower-alpha 
{
	list-style-type:lower-alpha;
}

ol.decimal 
{
	list-style-type:decimal;
} 

ol.upper-roman 
{
	list-style-type:upper-roman;
}

ol.lower-roman 
{
	list-style-type:lower-roman;
}

File

xbbcode_list/xbbcode_list.css
View source
  1. ol.sectioned {
  2. counter-reset: section;
  3. list-style-type:none;
  4. }
  5. ol.sectioned li:before {
  6. counter-increment: section;
  7. content: counters(section, ".") ": ";
  8. }
  9. ol.upper-alpha
  10. {
  11. list-style-type:upper-alpha;
  12. }
  13. ol.lower-alpha
  14. {
  15. list-style-type:lower-alpha;
  16. }
  17. ol.decimal
  18. {
  19. list-style-type:decimal;
  20. }
  21. ol.upper-roman
  22. {
  23. list-style-type:upper-roman;
  24. }
  25. ol.lower-roman
  26. {
  27. list-style-type:lower-roman;
  28. }