浏览代码

Add list style modifiers emulating type attribute values different then decimal to ol element in content class - fixes #1940

slawekrewaj 6 年之前
父节点
当前提交
c12a649c93
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      sass/elements/content.sass

+ 9 - 0
sass/elements/content.sass

@@ -73,6 +73,15 @@ $content-table-foot-cell-color: $text-strong !default
     list-style: decimal outside
     margin-left: 2em
     margin-top: 1em
+    // list style modifiers emulating ol[type] attribute values different then decimal
+    &.is-lower-roman
+      list-style-type: lower-roman
+    &.is-upper-roman
+      list-style-type: upper-roman
+    &.is-lower-alpha
+      list-style-type: lower-alpha
+    &.is-upper-alpha
+      list-style-type: upper-alpha
   ul
     list-style: disc outside
     margin-left: 2em