diff options
author | Francesco <tomaselli.fr@gmail.com> | 2024-05-20 20:57:57 +0200 |
---|---|---|
committer | Francesco <tomaselli.fr@gmail.com> | 2024-05-20 21:05:35 +0200 |
commit | 510d1d706f262471396612c9cd5d6bf8eedd0dd4 (patch) | |
tree | a5755032ba75dea92d1edcd221275c2b876260bb /assets/css/vars.css | |
parent | 8d53a665ca3543023c73806ae669f4c37e98eef2 (diff) |
Increased font to match Medium-like size, fixed code missing padding on scroll
Diffstat (limited to 'assets/css/vars.css')
-rw-r--r-- | assets/css/vars.css | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/assets/css/vars.css b/assets/css/vars.css index 84feb83..7956909 100644 --- a/assets/css/vars.css +++ b/assets/css/vars.css @@ -1,6 +1,6 @@ :root { - --main-width: 750px; - --main-padding: 1rem; + --main-width: 780px; + --main-padding: 1.4em; --main-padding-bottom: 3rem; /* header settings */ @@ -21,6 +21,12 @@ --code-margin-top: 2rem; --code-margin-bottom: 2rem; + --h1-font-size: 2em; + --h2-font-size: 1.8em; + --hx-font-size: 1.3em; + --p-font-size: 1em; + --p-line-height: 1.5em; + /* List indentation */ --li-indent: 1.5rem; --ul-margin-top: 1rem; |