summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-03-28 10:57:20 -0400
committerBradley Taunt <bt@btxx.org>2024-03-28 10:57:20 -0400
commita617929fa99e05af664fe5aaf84a8af5ac1abcd9 (patch)
tree964eb8e08bf32bf90692204dbd045301dd314214
parent2adbd7ea1731cfadaef6aa4b3ca564a972d8d231 (diff)
Custom serif open source font
-rw-r--r--local.css19
-rw-r--r--public/fonts/Alegreya-Bold.ttfbin0 -> 258792 bytes
-rw-r--r--public/fonts/Alegreya-Italic.ttfbin0 -> 254808 bytes
-rw-r--r--public/fonts/Alegreya-Regular.ttfbin0 -> 256112 bytes
4 files changed, 18 insertions, 1 deletions
diff --git a/local.css b/local.css
index ed14561..0305a3f 100644
--- a/local.css
+++ b/local.css
@@ -18,7 +18,7 @@ pre,code{font-size:12pt;}
.pageheader .actions ul li a{display:none;}
.pageheader .actions ul li a[href="./#comments"]{display:inline;}
.pageheader .actions, #searchform{right:1em;}
-#content{font-family:"Palatino",serif;font-size:13pt;margin:1em 0;}
+#content{font-family:"Alegreya","Palatino",serif;font-size:15pt;margin:1em 0;}
#content p{text-align:justify;}
.sidebar{background:none;border:0;border-bottom:1px solid #999;float:none;padding:0;width:100%;}
.sidebar p{font-size:1rem;margin-top:0;}
@@ -27,6 +27,7 @@ pre,code{font-size:12pt;}
.blogform{display:none;margin-bottom:1em;}
.pageheader .trails{display:none;}
.pagedate{margin-top:4rem;}
+.title{font-size:160%}
.inlinepage{overflow-y:hidden;}
.trail{display:flex;justify-content:space-between;}
.trailprev,.trailnext{position:relative;width:30%;}
@@ -46,3 +47,19 @@ pre,code{font-size:12pt;}
a{color:goldenrod;}
pre,code{background:black;}
}
+
+@font-face {
+ font-family: 'Alegreya';
+ font-style: normal;
+ src: url(./public/fonts/Alegreya-Regular.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Alegreya';
+ font-style: italic;
+ src: url(./public/fonts/Alegreya-Italic.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Alegreya';
+ font-style: bold;
+ src: url(./public/fonts/Alegreya-Bold.ttf) format('truetype');
+}
diff --git a/public/fonts/Alegreya-Bold.ttf b/public/fonts/Alegreya-Bold.ttf
new file mode 100644
index 0000000..a078845
--- /dev/null
+++ b/public/fonts/Alegreya-Bold.ttf
Binary files differ
diff --git a/public/fonts/Alegreya-Italic.ttf b/public/fonts/Alegreya-Italic.ttf
new file mode 100644
index 0000000..b6a9618
--- /dev/null
+++ b/public/fonts/Alegreya-Italic.ttf
Binary files differ
diff --git a/public/fonts/Alegreya-Regular.ttf b/public/fonts/Alegreya-Regular.ttf
new file mode 100644
index 0000000..a176e13
--- /dev/null
+++ b/public/fonts/Alegreya-Regular.ttf
Binary files differ