lib/isodoc/iho/html/htmlstyle.css in metanorma-iho-0.4.4 vs lib/isodoc/iho/html/htmlstyle.css in metanorma-iho-0.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; }
@@ -535,31 +544,32 @@
h1,
h2,
h3,
h4,
h5,
-h6 {
+h6,
+.h1, .h2, .h3, .h4, .h5, .h6 {
font-family: {{headerfont}};
color: #05164D;
font-weight: 300;
margin-top: 1.6em;
margin-bottom: 0.3em; }
-h1 {
+h1, .h1 {
font-size: 1.6em;
text-transform: uppercase;
margin-top: 2em; }
-h1#content {
+h1#content, #content.h1 {
margin-top: 2em; }
-h2 {
+h2, .h2 {
margin-top: 1.3em;
font-size: 1.3em;
font-weight: 400; }
-h3 {
+h3, .h3 {
margin-top: 1.1em;
font-size: 1.1em;
font-weight: 100; }
.TermNum,
@@ -840,11 +850,11 @@
*/
p {
margin-top: 1em;
margin-bottom: 1em; }
-h2 p {
+h2 p, .h2 p {
display: inline; }
/*
4.0 Page header
*/
@@ -973,11 +983,12 @@
nav {
page-break-after: always; }
h1,
h2,
h3,
- h4 {
+ h4,
+ .h1, .h2, .h3, .h4 {
page-break-after: avoid;
margin-top: 1.2em; }
.note,
.figure,
pre,
@@ -996,18 +1007,18 @@
margin-top: -5px; }
button#myBtn {
background-color: white; }
.container {
padding-left: 0; }
- h1.content {
+ h1.content, .h1.content {
margin-top: 2em;
line-height: 2.5em; }
- h1 {
+ h1, .h1 {
font-size: 1.5em;
line-height: 1.5; }
- h2 {
+ h2, .h2 {
font-size: 1.2em; }
- h3 {
+ h3, .h3 {
font-size: 1em; }
.Note {
background-color: #fedc5b;
color: #47430c;
padding: 5px;