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

- old
+ new

@@ -66,10 +66,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 { @@ -77,10 +83,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; } @@ -303,10 +312,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 { @@ -314,10 +329,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; } @@ -905,31 +923,31 @@ .affiliation { font-style: italic; } /* Headings */ -h1, h2, h3, h4, h5, h6, .h1Annex { +h1, h2, h3, h4, h5, h6, .h1Annex, p.h1, .h2, .h3, .h4, .h5, .h6 { font-weight: 400; margin-top: 1.6em; margin-bottom: 0.3em; } @media print { - h1, h2, h3, h4, .h1Annex { + h1, h2, h3, h4, .h1Annex, p.h1, .h2, .h3, .h4 { page-break-after: avoid; margin-top: 1.2em; } } -h1, .h1Annex { +h1, .h1Annex, p.h1 { font-size: 1.4em; text-transform: uppercase; margin-top: 2em; } - h1#content, #content.h1Annex { + h1#content, #content.h1Annex, p#content.h1 { margin-top: 2em; } @media print { - h1, .h1Annex { + h1, .h1Annex, p.h1 { font-size: 1.5em; line-height: 1.5; } - h1.content, .h1Annex.content { + h1.content, .h1Annex.content, p.h1.content { margin-top: 2em; line-height: 2.5em; } } p.supertitle { font-size: 1.4em; text-transform: uppercase; @@ -939,24 +957,24 @@ font-size: 1.5em; line-height: 1.5; } p.supertitle.content { margin-top: 2em; line-height: 2.5em; } } -h2 { +h2, .h2 { margin-top: 1.7em; font-size: 1.5em; } - h2 p { + h2 p, .h2 p { display: inline; } @media print { - h2 { + h2, .h2 { font-size: 1.2em; } } -h3 { +h3, .h3 { margin-top: 1.5em; font-size: 1.4em; } @media print { - h3 { + h3, .h3 { font-size: 1em; } } -h4 { +h4, .h4 { font-size: 1.2em; } /* Terms */ .TermNum { font-weight: 400; }