diff options
author | Julien Dessaux | 2023-06-30 07:28:00 +0200 |
---|---|---|
committer | Julien Dessaux | 2023-06-30 07:38:41 +0200 |
commit | f9cc3f9926b81a67835f96b8433891ace2bf0f87 (patch) | |
tree | 804dfba3a5e70b3e3b79d3c330676fe4045cecfe /assets | |
parent | go mod tidy (diff) | |
download | www-f9cc3f9926b81a67835f96b8433891ace2bf0f87.tar.gz www-f9cc3f9926b81a67835f96b8433891ace2bf0f87.tar.bz2 www-f9cc3f9926b81a67835f96b8433891ace2bf0f87.zip |
css font tweaks
Diffstat (limited to '')
-rw-r--r-- | assets/base.css | 3 | ||||
-rw-r--r-- | assets/header.css | 7 | ||||
-rw-r--r-- | assets/home.css | 4 |
3 files changed, 5 insertions, 9 deletions
diff --git a/assets/base.css b/assets/base.css index ae3d0c0..94cfb9c 100644 --- a/assets/base.css +++ b/assets/base.css @@ -77,6 +77,7 @@ html { background-color: var(--bg-0); color: var(--fg-0); + font-size: 150%; } body { background-color: var(--bg-1); @@ -86,7 +87,7 @@ body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", - sans-serif; + system-ui, sans-serif; font-feature-settings: "kern" 1; font-kerning: normal; diff --git a/assets/header.css b/assets/header.css index c725b06..f52a863 100644 --- a/assets/header.css +++ b/assets/header.css @@ -14,8 +14,7 @@ header nav ol { } header nav ol li a { display: block; - font-size: 1.25rem; - padding: 4px 16px 14px 16px; + padding: 4px 12px 14px 12px; text-align: center; text-decoration: none; } @@ -34,7 +33,7 @@ header nav ol li a:hover { background-color: var(--bg-1); } #title { - font-weight: 700; + font-weight: bold; text-transform: uppercase; } #themes { @@ -42,7 +41,7 @@ header nav ol li a:hover { border: none; color: var(--fg-1); display: none; - font-size: 1.25rem; + font-size: 100%; margin: 0; padding: 0; } diff --git a/assets/home.css b/assets/home.css deleted file mode 100644 index 7e91c20..0000000 --- a/assets/home.css +++ /dev/null @@ -1,4 +0,0 @@ -.home-page p { - font-size: 1.25rem; - font-weight: 300; -} |