lib/isodoc/iec/html/htmlstyle.css in metanorma-iec-1.4.4 vs lib/isodoc/iec/html/htmlstyle.css in metanorma-iec-1.4.5

- old
+ new

@@ -73,10 +73,16 @@ code *, pre *, tt *, kbd *, samp * { font-family: {{monospacefont}} !important; font-variant-ligatures: none; } +p code, dt code, li code, label code, legend code, caption code, th code, td code, +p tt, dt tt, li tt, label tt, legend tt, caption tt, th tt, td tt, +p kbd, dt kbd, li kbd, label kbd, legend kbd, caption kbd, th kbd, td kbd, +p samp, dt samp, li samp, label samp, legend samp, caption samp, th samp, td samp { + font-size: {{monospacefontsize}}; } + article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } table { @@ -84,10 +90,13 @@ border-spacing: 0; } h1, h2, h3, h4, h5, h6 { font-family: {{headerfont}}; } +.h1, .h2, .h3, .h4, .h5, .h6 { + font-family: {{headerfont}}; } + blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } @@ -296,23 +305,23 @@ #boilerplate-message, #boilerplate-name, #boilerplate-address { font-size: 0.9em; } /* TYPOGRAPHY */ -h1 { +h1, .h1 { font-size: 1.5em; line-height: 2em; margin-top: 2em; margin-bottom: 1em; } -h2 { +h2, .h2 { font-size: 1.2em; line-height: 1.5em; margin-top: 2em; margin-bottom: 1em; } -h1, h2, h3, h4, h5, h6 { +h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { line-height: 1.2; } p { margin-top: 1em; margin-bottom: 1em; } @@ -335,10 +344,10 @@ nav a { text-decoration: none; color: black; } -h2 p { +h2 p, .h2 p { display: inline; } ul > li { list-style: none; }