summaryrefslogtreecommitdiffstats
path: root/style.css
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2026-01-12 20:45:16 -0500
committerSam Anthony <sam@samanthony.xyz>2026-01-12 20:45:16 -0500
commitf30c75cb3e32bd15c54a028cc07b78a7e9809bfe (patch)
tree6baf32eb9b7db01cb9cb7c622f184bd7ef875f75 /style.css
parent2e88321504df2fe0f3427f19bb84251926bb3140 (diff)
downloadresume-f30c75cb3e32bd15c54a028cc07b78a7e9809bfe.zip
webfonts
Diffstat (limited to 'style.css')
-rw-r--r--style.css11
1 files changed, 8 insertions, 3 deletions
diff --git a/style.css b/style.css
index 9e02ce4..5401662 100644
--- a/style.css
+++ b/style.css
@@ -1,13 +1,17 @@
* {
margin: 0;
paddding: 0;
- font-weight: normal;
}
:root {
--linewid: 7in;
--col1wid: 1.5in;
--col2wid: 4.15in;
+
+ /* IBM Plex Serif woff2 weights */
+ --regular-weight: 400;
+ --text-weight: 450;
+ --medium-weight: 500;
}
body {
@@ -20,6 +24,7 @@ body {
body {
font-size: 12pt;
font-family: 'IBM Plex Serif', sans-serif;
+ font-weight: var(--regular-weight);
font-kerning: normal;
text-rendering: optimizeLegibility;
color: #000;
@@ -66,7 +71,7 @@ a {
}
h1 {
- font-family: 'IBM Plex Serif Medium', sans-serif;
+ font-weight: var(--medium-weight);
font-size: 1.07em;
letter-spacing: .07em;
margin-bottom: .4em;
@@ -77,7 +82,7 @@ h2 {
}
h2, h3 {
- font-family: 'IBM Plex Serif Text', sans-serif;
+ font-weight: var(--text-weight);
font-size: 1.05em;
letter-spacing: .02em;
margin-bottom: .2em;