From 95baa3fa8731ec966cd4ae7adb7765dc8cec11bd Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sun, 26 May 2024 07:48:56 +0300 Subject: [PATCH] css: specify line-height and code-font alongside it's size --- assets/css/style.scss | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/assets/css/style.scss b/assets/css/style.scss index 6ee5540..131bf4f 100644 --- a/assets/css/style.scss +++ b/assets/css/style.scss @@ -1,11 +1,13 @@ --- -# front-end +# front-matter --- :root { color-scheme: dark light; font-family: "Liberation Serif", "Tinos", "Times New Roman", serif; margin: auto; + line-height: 1.2; + //letter-spacing: 0.5px; // A4 paper max-width: 210mm; } @@ -17,3 +19,10 @@ a { text-decoration: underline; } + +pre, +code { + font-family: "Liberation Mono", "Cousine", "Courier New", monospace; + // rem, root element, em, current element + font-size: 0.8em; +}