diff options
author | 2024-03-20 01:08:31 +0100 | |
---|---|---|
committer | 2024-03-20 01:42:26 +0100 | |
commit | 08da60202c64aafcf0000c892ac64383cf79e728 (patch) | |
tree | 18d81b6d7b3bfd073b5737e80ddc0c26df24551c /src/components | |
parent | Set monospace font to Recursive (diff) | |
download | blog-08da60202c64aafcf0000c892ac64383cf79e728.tar.gz blog-08da60202c64aafcf0000c892ac64383cf79e728.tar.zst blog-08da60202c64aafcf0000c892ac64383cf79e728.zip |
Typographical improvements
* Use custom font subsetting for OpenType features
* Tighter tracking for headings
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/landing/sections/Hero.module.css | 2 | ||||
-rw-r--r-- | src/components/landing/sections/Resume.module.css | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/components/landing/sections/Hero.module.css b/src/components/landing/sections/Hero.module.css index 4c55001..67e7d54 100644 --- a/src/components/landing/sections/Hero.module.css +++ b/src/components/landing/sections/Hero.module.css | |||
@@ -58,6 +58,7 @@ | |||
58 | font-weight: 500; | 58 | font-weight: 500; |
59 | --casl: 0; | 59 | --casl: 0; |
60 | font-size: 1.5rem; | 60 | font-size: 1.5rem; |
61 | letter-spacing: normal; | ||
61 | } | 62 | } |
62 | 63 | ||
63 | .introduction__name { | 64 | .introduction__name { |
@@ -65,6 +66,7 @@ | |||
65 | font-weight: var(--ifm-heading-font-weight); | 66 | font-weight: var(--ifm-heading-font-weight); |
66 | --casl: 1; | 67 | --casl: 1; |
67 | font-size: 2.5rem; | 68 | font-size: 2.5rem; |
69 | letter-spacing: var(--marussy-heading-tracking); | ||
68 | white-space: pre; | 70 | white-space: pre; |
69 | } | 71 | } |
70 | 72 | ||
diff --git a/src/components/landing/sections/Resume.module.css b/src/components/landing/sections/Resume.module.css index 762d12f..b1ae29e 100644 --- a/src/components/landing/sections/Resume.module.css +++ b/src/components/landing/sections/Resume.module.css | |||
@@ -45,7 +45,11 @@ | |||
45 | position: absolute; | 45 | position: absolute; |
46 | width: 0.25rem; | 46 | width: 0.25rem; |
47 | top: 0.5rem; | 47 | top: 0.5rem; |
48 | bottom: 0; | 48 | /* |
49 | * Shorten line so it is always covered if the last line contains | ||
50 | * a CV item circle. | ||
51 | */ | ||
52 | bottom: 0.125rem; | ||
49 | left: 0.5rem; | 53 | left: 0.5rem; |
50 | background: var(--ifm-color-primary); | 54 | background: var(--ifm-color-primary); |
51 | transform: skew(0, -30deg); | 55 | transform: skew(0, -30deg); |