mirror of
https://github.com/Mikaela/cv.git
synced 2024-11-22 16:39:26 +01:00
css: specify line-height and code-font alongside it's size
This commit is contained in:
parent
f2a6e6154f
commit
95baa3fa87
@ -1,11 +1,13 @@
|
|||||||
---
|
---
|
||||||
# front-end
|
# front-matter
|
||||||
---
|
---
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
color-scheme: dark light;
|
color-scheme: dark light;
|
||||||
font-family: "Liberation Serif", "Tinos", "Times New Roman", serif;
|
font-family: "Liberation Serif", "Tinos", "Times New Roman", serif;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
|
line-height: 1.2;
|
||||||
|
//letter-spacing: 0.5px;
|
||||||
// A4 paper
|
// A4 paper
|
||||||
max-width: 210mm;
|
max-width: 210mm;
|
||||||
}
|
}
|
||||||
@ -17,3 +19,10 @@
|
|||||||
a {
|
a {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pre,
|
||||||
|
code {
|
||||||
|
font-family: "Liberation Mono", "Cousine", "Courier New", monospace;
|
||||||
|
// rem, root element, em, current element
|
||||||
|
font-size: 0.8em;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user