Set font size in root element so that rem can be used for font size
This commit is contained in:
parent
f26fe0ea1b
commit
afbd01aa62
|
@ -14,6 +14,7 @@
|
||||||
--transparent: #FFFFFFDD;
|
--transparent: #FFFFFFDD;
|
||||||
|
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
font-size: calc(8px + 1vmin);
|
||||||
}
|
}
|
||||||
|
|
||||||
*, ::before, ::after { box-sizing: inherit; }
|
*, ::before, ::after { box-sizing: inherit; }
|
||||||
|
@ -22,13 +23,12 @@ body {
|
||||||
background-image: url('/images/background2.gif');
|
background-image: url('/images/background2.gif');
|
||||||
width: 95vmin;
|
width: 95vmin;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
font-size: calc(8px + 1vmin);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
background-color: black;
|
background-color: black;
|
||||||
color: lime;
|
color: lime;
|
||||||
font-size: 0.75em; /* Why tho?? */
|
font-size: 0.75rem; /* Why tho?? */
|
||||||
}
|
}
|
||||||
|
|
||||||
pre > code {
|
pre > code {
|
||||||
|
|
Loading…
Reference in a new issue