summaryrefslogtreecommitdiffstats
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
parent2e88321504df2fe0f3427f19bb84251926bb3140 (diff)
downloadresume-f30c75cb3e32bd15c54a028cc07b78a7e9809bfe.zip
webfonts
-rw-r--r--resume.html3
-rw-r--r--style.css11
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 @@
<meta charset="utf-8">
<link rel="stylesheet" href="style.css">
<!-- <link rel="stylesheet" href="preview.css"> -->
+ <link rel="stylesheet" href="/fonts/plex/packages/plex-serif/fonts/split/woff2/IBMPlexSerif-Medium.css">
+ <link rel="stylesheet" href="/fonts/plex/packages/plex-serif/fonts/split/woff2/IBMPlexSerif-Regular.css">
+ <link rel="stylesheet" href="/fonts/plex/packages/plex-serif/fonts/split/woff2/IBMPlexSerif-Text.css">
<title>Sam Anthony &mdash; Résumé</title>
</head>
<body>
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;