From f30c75cb3e32bd15c54a028cc07b78a7e9809bfe Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Mon, 12 Jan 2026 20:45:16 -0500 Subject: webfonts --- resume.html | 3 +++ style.css | 11 ++++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/resume.html b/resume.html index 34729b1..c462c8e 100644 --- a/resume.html +++ b/resume.html @@ -4,6 +4,9 @@ + + + Sam Anthony — Résumé 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; -- cgit v1.2.3