summaryrefslogtreecommitdiffstats
path: root/themes/aoidh/assets
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2026-01-13 09:19:51 -0500
committerSam Anthony <sam@samanthony.xyz>2026-01-13 09:19:51 -0500
commit4df097eee94449eedc226e785afd753bb5747cc3 (patch)
treeac36eea8e355be07f457988ec4007e9198cf18ca /themes/aoidh/assets
parentfd4634688b17b4232c2b4814e9e008645493a6ee (diff)
downloadsamanthony.xyz-4df097eee94449eedc226e785afd753bb5747cc3.zip
revert to using system fonts (webfonts too slow)
This reverts commits 098292edefb338bd9e968d32ba4502bdb3ecb5a8 fd4634688b17b4232c2b4814e9e008645493a6ee
Diffstat (limited to 'themes/aoidh/assets')
-rw-r--r--themes/aoidh/assets/aoidh.css46
m---------themes/aoidh/assets/fonts/plex0
2 files changed, 8 insertions, 38 deletions
diff --git a/themes/aoidh/assets/aoidh.css b/themes/aoidh/assets/aoidh.css
index 6eb1e9b..a761a50 100644
--- a/themes/aoidh/assets/aoidh.css
+++ b/themes/aoidh/assets/aoidh.css
@@ -1,5 +1,4 @@
:root {
- /* Colors */
--paper-color: #ffffea;
--light-yellow: #eeee9e;
--dark-yellow: #99994c;
@@ -8,22 +7,10 @@
--light-gray: #eee;
--dark-gray: #888;
- /* Spacing */
--pagewidth: 60rem;
--textwidth: 45rem;
--parspace: .6em;
- /* IBM Plex Serif weights */
- --thinweight: 100;
- --extralightweight: 200;
- --lightweight: 300;
- --regularweight: 400;
- --textweight: 450;
- --mediumweight: 500;
- --semiboldweight: 600;
- --boldweight: 700;
-
- /* US letter page dimensions */
--letter-page-width: 8.5in;
--letter-page-height: 11in;
}
@@ -41,10 +28,8 @@ body {
}
body {
- font-family: 'IBM Plex Serif', serif;
- font-weight: 400;
- font-size: 1rem;
line-height: 1.35em;
+ font-family: serif;
text-rendering: optimizeLegibility;
color: #000;
background: #fff;
@@ -82,12 +67,12 @@ nav a {
}
li.nav-active a {
- font-weight: var(--semiboldweight);
+ font-weight: bold;
box-shadow: .2rem .2rem var(--dark-yellow);
}
li.nav-ancestor a {
- font-weight: var(--semiboldweight);
+ font-weight: bold;
}
nav a:active {
@@ -103,7 +88,6 @@ p {
}
a {
- font-weight: var(--textweight);
text-decoration: none;
border: 1px solid transparent;
}
@@ -123,27 +107,23 @@ a:active {
.title {
font-size: 1.4rem;
- font-weight: var(--boldweight);
}
h1 {
- font-size: 1.15rem;
- font-weight: var(--semiboldweight);
+ font-size: 1.3rem;
}
h2 {
- font-size: 1.10rem;
- font-weight: var(--mediumweight);
+ font-size: 1.2rem;
}
h3 {
- font-size: 1.05rem;
- font-weight: var(--textweight);
+ font-size: 1.1rem;
}
h1, h2, h3 {
- margin-block-start: .8em;
- margin-block-end: .4em;
+ margin-block-end: .4em; /* above */
+ margin-block-start: .8em; /* below */
}
table {
@@ -166,10 +146,6 @@ th, td {
vertical-align: middle;
}
-th {
- font-weight: var(--mediumweight);
-}
-
footer {
margin-top: 2rem;
}
@@ -228,9 +204,3 @@ iframe {
border: 1px solid var(--dark-yellow);
box-shadow: 2px 2px var(--dark-yellow);
}
-
-code {
- font-family: 'IBM Plex Mono', monospace;
- font-weight: var(--regularweight);
- font-size: .9em;
-}
diff --git a/themes/aoidh/assets/fonts/plex b/themes/aoidh/assets/fonts/plex
deleted file mode 160000
-Subproject bb3ab6404e1881ea286f8742dc839e09057db6d