lib/isodoc/gb/html/htmlcompliantstyle.scss in metanorma-gb-1.0.2 vs lib/isodoc/gb/html/htmlcompliantstyle.scss in metanorma-gb-1.0.3
- old
+ new
@@ -57,25 +57,29 @@
vertical-align: baseline;
}
html, body, div, span, applet, object, iframe,
-p, blockquote, pre,
-a, abbr, acronym, address, big, cite, code,
-del, dfn, em, img, ins, kbd, q, s, samp,
-small, strike, strong, sub, sup, tt, var,
+p, blockquote,
+a, abbr, acronym, address, big, cite,
+del, dfn, em, img, ins, q, s,
+small, strike, strong, sub, sup, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
font-family: $bodyfont;
}
-
+
+code, pre, tt, kbd, samp {
+ font-family: $monospacefont;
+}
+
h1, h2, h3, h4, h5, h6, .h2Annex {
margin-top: 1.5em;
margin-bottom: 0.3em;
color: #000000;
font-family: $headerfont;
@@ -639,11 +643,11 @@
margin: 0;
}
/* Navigation*/
-@media (min-width: 768px) {
+@media screen and (min-width: 768px) {
nav {
position: fixed;
top: 0;
bottom: 0;
left: 0;
@@ -693,10 +697,10 @@
padding:0;
margin:0;
}
}
-@media (max-width: 768px) {
+@media screen and (max-width: 768px) {
#toc {
padding: 0 1.5em 0 1.5em;
overflow: visible;
}