lib/isodoc/csa/html/htmlstyle.css in metanorma-csa-1.9.4 vs lib/isodoc/csa/html/htmlstyle.css in metanorma-csa-1.9.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; }
@@ -504,30 +513,30 @@
3. TYPOGRAPHY
*/
/*
3.1 Titles
*/
-h1, h2, h3, h4, h5, h6 {
+h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
font-family: {{headerfont}};
line-height: 1.2em;
color: black;
font-weight: 600;
margin-top: 1.5em;
margin-bottom: 0.3em; }
-h1 {
+h1, .h1 {
font-size: 1.8em;
text-transform: uppercase;
/* margin-top: 2em;*/ }
-h1#content {
+h1#content, #content.h1 {
margin-top: 2em; }
-h2 {
+h2, .h2 {
font-size: 1.6em; }
-h3 {
+h3, .h3 {
font-size: 1.5em; }
/*
span[id^="toc"]:after {
float: left;
@@ -602,11 +611,11 @@
height: 1px;
background-color: #00427e;
margin: 2em 0; }
/*
-h2 p {
+h2 p,.h2 p {
display: inline;
}
*/
/*
3.5 Bibliograhy
@@ -962,23 +971,23 @@
line-height: 1em;
margin: 0;
color: white;
text-transform: uppercase; }
-.section-title h1 {
+.section-title h1, .section-title .h1 {
font-size: 2em;
font-weight: 800;
line-height: 1em;
margin-top: 0.5em;
margin-bottom: 0;
color: white;
text-transform: none; }
-h2 {
+h2, .h2 {
border-bottom: solid 1px #4D7EA5;
color: #4D7EA5; }
-h3, h4, h5, h6 {
+h3, h4, h5, h6, .h3, .h4, .h5, .h6 {
color: #EE9C4F; }
/*
4.3 Draft Warning
*/