lib/isodoc/iec/html/htmlstyle.css in metanorma-iec-2.1.1 vs lib/isodoc/iec/html/htmlstyle.css in metanorma-iec-2.1.2
- old
+ new
@@ -675,38 +675,38 @@
#toc-list ol li {
list-style-type: none; }
/* https://github.com/metanorma/metanorma-iso/issues/319 : ordered list rendering */
-ol[type="alphabet"] {
+ol[class="alphabet"] {
counter-reset: alphabet; }
-ol[type="arabic"] {
+ol[class="arabic"] {
counter-reset: arabic; }
-ol[type="roman"] {
+ol[class="roman"] {
counter-reset: roman; }
-ol[type="alphabet_upper"] {
+ol[class="alphabet_upper"] {
counter-reset: alphabet_upper; }
-ol[type="roman_upper"] {
+ol[class="roman_upper"] {
counter-reset: roman_upper; }
-ol[type="alphabet"] ol[type="alphabet"] {
+ol[class="alphabet"] ol[class="alphabet"] {
counter-reset: alphabet2; }
-ol[type="arabic"] ol[type="arabic"] {
+ol[class="arabic"] ol[class="arabic"] {
counter-reset: arabic2; }
-ol[type="roman"] ol[type="roman"] {
+ol[class="roman"] ol[class="roman"] {
counter-reset: roman2; }
-ol[type="alphabet_upper"] ol[type="alphabet_upper"] {
+ol[class="alphabet_upper"] ol[class="alphabet_upper"] {
counter-reset: alphabet_upper2; }
-ol[type="roman_upper"] ol[type="roman_upper"] {
+ol[class="roman_upper"] ol[class="roman_upper"] {
counter-reset: roman_upper2; }
ol {
counter-reset: alphabet; }
@@ -716,57 +716,57 @@
ol > li:before {
position: absolute;
left: -1.4em; }
-ol[type="roman"] > li:before {
+ol[class="roman"] > li:before {
left: -2.0em; }
-ol[type="roman_upper"] > li:before {
+ol[class="roman_upper"] > li:before {
left: -2.3em; }
-ol[type="alphabet"] > li:before {
+ol[class="alphabet"] > li:before {
counter-increment: alphabet;
content: counter(alphabet, lower-alpha) ") "; }
-ol[type="arabic"] > li:before {
+ol[class="arabic"] > li:before {
counter-increment: arabic;
content: counter(arabic, decimal) ") "; }
-ol[type="roman"] > li:before {
+ol[class="roman"] > li:before {
counter-increment: roman;
content: counter(roman, lower-roman) ") "; }
-ol[type="alphabet_upper"] > li:before {
+ol[class="alphabet_upper"] > li:before {
counter-increment: alphabet_upper;
content: counter(alphabet_upper, upper-alpha) ") "; }
-ol[type="roman_upper"] > li:before {
+ol[class="roman_upper"] > li:before {
counter-increment: roman_upper;
content: counter(roman_upper, upper-roman) ") "; }
ol > li:before {
counter-increment: alphabet;
content: counter(alphabet, lower-alpha) ") "; }
-ol[type="alphabet"] ol[type="alphabet"] > li:before {
+ol[class="alphabet"] ol[class="alphabet"] > li:before {
counter-increment: alphabet2;
content: counter(alphabet2, lower-alpha) ") "; }
-ol[type="arabic"] ol[type="arabic"] > li:before {
+ol[class="arabic"] ol[class="arabic"] > li:before {
counter-increment: arabic2;
content: counter(arabic2, decimal) ") "; }
-ol[type="roman"] ol[type="roman"] > li:before {
+ol[class="roman"] ol[class="roman"] > li:before {
counter-increment: roman2;
content: counter(roman2, lower-roman) ") "; }
-ol[type="alphabet_upper"] ol[type="alphabet_upper"] > li:before {
+ol[class="alphabet_upper"] ol[class="alphabet_upper"] > li:before {
counter-increment: alphabet_upper2;
content: counter(alphabet_upper2, upper-alpha) ") "; }
-ol[type="roman_upper"] ol[type="roman_upper"] > li:before {
+ol[class="roman_upper"] ol[class="roman_upper"] > li:before {
counter-increment: roman_upper2;
content: counter(roman_upper2, upper-roman) ") "; }
/*
3.4 Rules
@@ -816,9 +816,15 @@
.RecommendationTitle {
font-weight: 700;
font-size: 1em;
text-align: center; }
+
+.ListTitle {
+ font-weight: 700;
+ font-size: 1em;
+ text-align: center;
+ text-align: left; }
.FigureTitle,
.SourceTitle {
font-weight: 700;
font-size: 1em;