lib/isodoc/iec/html/htmlstyle.css in metanorma-iec-2.2.13 vs lib/isodoc/iec/html/htmlstyle.css in metanorma-iec-2.2.14
- old
+ new
@@ -95,11 +95,11 @@
.h1, .h2, .h3, .h4, .h5, .h6 {
font-family: {{headerfont}}; }
blockquote, q {
quotes: none; }
- blockquote:before, blockquote:after, q:before, q:after {
+ blockquote::before, blockquote::after, q::before, q::after {
content: '';
content: none; }
.h2Annex {
font-family: {{headerfont}}; }
@@ -118,18 +118,22 @@
font-weight: bold; }
div.document-stage-band, div.document-type-band {
background-color: #333333; }
-a.FootnoteRef + a.FootnoteRef:before {
+a.FootnoteRef + a.FootnoteRef::before {
content: ", ";
vertical-align: super; }
-a.TableFootnoteRef + a.TableFootnoteRef:before {
+a.TableFootnoteRef + a.TableFootnoteRef::before {
content: ", ";
vertical-align: super; }
+a.TableFootnoteRef, span.TableFootnoteRef,
+a.FootnoteRef, span.FootnoteRef {
+ vertical-align: super; }
+
.addition {
color: blue; }
.deletion {
color: red;
@@ -383,11 +387,11 @@
display: inline; }
ul > li {
list-style: none; }
-ul > li > p:first-child:before {
+ul > li > p:first-child::before {
content: "\2014";
display: inline-block;
width: 1em;
margin-left: -1.5em;
margin-right: 0.5em; }
@@ -395,11 +399,11 @@
li p {
/* display: inline-block; */
margin-bottom: 0.6em;
line-height: 1.2; }
-#toc li:before {
+#toc li::before {
content: " ";
display: none; }
p.AltTerms {
margin-bottom: 0;
@@ -755,61 +759,61 @@
ol > li {
list-style: none;
position: relative; }
-ol > li:before {
+ol > li::before {
position: absolute;
left: -1.4em; }
-ol[class="roman"] > li:before {
+ol[class="roman"] > li::before {
left: -2.0em; }
-ol[class="roman_upper"] > li:before {
+ol[class="roman_upper"] > li::before {
left: -2.3em; }
-ol[class="alphabet"] > li:before {
+ol[class="alphabet"] > li::before {
counter-increment: alphabet;
content: counter(alphabet, lower-alpha) ") "; }
-ol[class="arabic"] > li:before {
+ol[class="arabic"] > li::before {
counter-increment: arabic;
content: counter(arabic, decimal) ") "; }
-ol[class="roman"] > li:before {
+ol[class="roman"] > li::before {
counter-increment: roman;
content: counter(roman, lower-roman) ") "; }
-ol[class="alphabet_upper"] > li:before {
+ol[class="alphabet_upper"] > li::before {
counter-increment: alphabet_upper;
content: counter(alphabet_upper, upper-alpha) ") "; }
-ol[class="roman_upper"] > li:before {
+ol[class="roman_upper"] > li::before {
counter-increment: roman_upper;
content: counter(roman_upper, upper-roman) ") "; }
-ol > li:before {
+ol > li::before {
counter-increment: alphabet;
content: counter(alphabet, lower-alpha) ") "; }
-ol[class="alphabet"] ol[class="alphabet"] > li:before {
+ol[class="alphabet"] ol[class="alphabet"] > li::before {
counter-increment: alphabet2;
content: counter(alphabet2, lower-alpha) ") "; }
-ol[class="arabic"] ol[class="arabic"] > li:before {
+ol[class="arabic"] ol[class="arabic"] > li::before {
counter-increment: arabic2;
content: counter(arabic2, decimal) ") "; }
-ol[class="roman"] ol[class="roman"] > li:before {
+ol[class="roman"] ol[class="roman"] > li::before {
counter-increment: roman2;
content: counter(roman2, lower-roman) ") "; }
-ol[class="alphabet_upper"] ol[class="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[class="roman_upper"] ol[class="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
@@ -992,10 +996,10 @@
margin-top: 2em; }
ol.footnotes-list p, aside.footnote p {
display: inline; }
-ol > li > p:before {
+ol > li > p::before {
content: "";
display: none; }
/*
3.11 Blockquotes