diff options
author | Francesco <tomaselli.fr@gmail.com> | 2024-05-23 13:09:47 +0200 |
---|---|---|
committer | Francesco <tomaselli.fr@gmail.com> | 2024-05-23 13:09:47 +0200 |
commit | 721a958eafc3ab5c921cb3f95ac1538c0e8964a6 (patch) | |
tree | b7e0574be7d3baa39f9f3e2fda8b0c6cb8cdd83a /assets/css/vars.css | |
parent | 379c37e43ae51cc6823e00c2ce4a6d8bad241592 (diff) |
Image tags for sizing
Diffstat (limited to 'assets/css/vars.css')
-rw-r--r-- | assets/css/vars.css | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/assets/css/vars.css b/assets/css/vars.css index 7956909..5e4625a 100644 --- a/assets/css/vars.css +++ b/assets/css/vars.css @@ -3,6 +3,8 @@ --main-padding: 1.4em; --main-padding-bottom: 3rem; + --caption-padding: calc(.25 * var(--main-padding)); + /* header settings */ --header-top-gap: 2rem; --header-bottom-gap: 2rem; @@ -26,6 +28,7 @@ --hx-font-size: 1.3em; --p-font-size: 1em; --p-line-height: 1.5em; + --caption-font-size: .8em; /* List indentation */ --li-indent: 1.5rem; @@ -68,6 +71,7 @@ :root { --main-width: 750px; --header-top-gap: 1rem; + --caption-padding: calc(.25 * var(--main-padding)); } } @@ -75,5 +79,6 @@ :root { --header-top-gap: 1rem; --social-icons-bottom-margin: 0rem; + --caption-padding: calc(2 * var(--main-padding)); } }
\ No newline at end of file |