summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-08-03 19:22:40 +0200
committerTor Andersson <tor@ccxvii.net>2023-02-18 12:31:29 +0100
commited74f4cde74ed8594edec851bb0ffe027e482d4d (patch)
treeecb3d8e92da57099a8489a334dd380c76cc7a588
parentcb598dd992dc13d1e9902a7b1f60b1a5fc410763 (diff)
downloadpax-pamir-ed74f4cde74ed8594edec851bb0ffe027e482d4d.tar.gz
Don't use google fonts for Libre Baskerville in rulebook.
-rw-r--r--fonts/LibreBaskerville-Bold.woff2bin0 -> 43476 bytes
-rw-r--r--fonts/LibreBaskerville-Italic.woff2bin0 -> 50676 bytes
-rw-r--r--fonts/LibreBaskerville-Regular.woff2bin0 -> 42600 bytes
-rw-r--r--fonts/LibreBaskerville.css18
-rw-r--r--info/rules.html2
5 files changed, 19 insertions, 1 deletions
diff --git a/fonts/LibreBaskerville-Bold.woff2 b/fonts/LibreBaskerville-Bold.woff2
new file mode 100644
index 0000000..cc40f4b
--- /dev/null
+++ b/fonts/LibreBaskerville-Bold.woff2
Binary files differ
diff --git a/fonts/LibreBaskerville-Italic.woff2 b/fonts/LibreBaskerville-Italic.woff2
new file mode 100644
index 0000000..eb8df97
--- /dev/null
+++ b/fonts/LibreBaskerville-Italic.woff2
Binary files differ
diff --git a/fonts/LibreBaskerville-Regular.woff2 b/fonts/LibreBaskerville-Regular.woff2
new file mode 100644
index 0000000..c497ef2
--- /dev/null
+++ b/fonts/LibreBaskerville-Regular.woff2
Binary files differ
diff --git a/fonts/LibreBaskerville.css b/fonts/LibreBaskerville.css
new file mode 100644
index 0000000..844d0d2
--- /dev/null
+++ b/fonts/LibreBaskerville.css
@@ -0,0 +1,18 @@
+@font-face {
+ font-family: 'Libre Baskerville';
+ font-style: italic;
+ font-weight: 400;
+ src: url(LibreBaskerville-Italic.woff2) format('woff2');
+}
+@font-face {
+ font-family: 'Libre Baskerville';
+ font-style: normal;
+ font-weight: 400;
+ src: url(LibreBaskerville-Regular.woff2) format('woff2');
+}
+@font-face {
+ font-family: 'Libre Baskerville';
+ font-style: normal;
+ font-weight: 700;
+ src: url(LibreBaskerville-Bold.woff2) format('woff2');
+}
diff --git a/info/rules.html b/info/rules.html
index 8525c42..701a108 100644
--- a/info/rules.html
+++ b/info/rules.html
@@ -3,7 +3,7 @@
<head>
<title>Pax Pamir Rules</title>
<link rel="stylesheet" href="/fonts/fonts.css">
-<link href="https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap" rel="stylesheet">
+<link rel="stylesheet" href="../fonts/LibreBaskerville.css">
<style>
body{background-color:slategray}
div{position:relative;background-color:white;margin:1em auto;box-shadow:1px 1px 8px -2px black}