diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-08-03 19:22:40 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 12:31:29 +0100 |
commit | ed74f4cde74ed8594edec851bb0ffe027e482d4d (patch) | |
tree | ecb3d8e92da57099a8489a334dd380c76cc7a588 | |
parent | cb598dd992dc13d1e9902a7b1f60b1a5fc410763 (diff) | |
download | pax-pamir-ed74f4cde74ed8594edec851bb0ffe027e482d4d.tar.gz |
Don't use google fonts for Libre Baskerville in rulebook.
-rw-r--r-- | fonts/LibreBaskerville-Bold.woff2 | bin | 0 -> 43476 bytes | |||
-rw-r--r-- | fonts/LibreBaskerville-Italic.woff2 | bin | 0 -> 50676 bytes | |||
-rw-r--r-- | fonts/LibreBaskerville-Regular.woff2 | bin | 0 -> 42600 bytes | |||
-rw-r--r-- | fonts/LibreBaskerville.css | 18 | ||||
-rw-r--r-- | info/rules.html | 2 |
5 files changed, 19 insertions, 1 deletions
diff --git a/fonts/LibreBaskerville-Bold.woff2 b/fonts/LibreBaskerville-Bold.woff2 Binary files differnew file mode 100644 index 0000000..cc40f4b --- /dev/null +++ b/fonts/LibreBaskerville-Bold.woff2 diff --git a/fonts/LibreBaskerville-Italic.woff2 b/fonts/LibreBaskerville-Italic.woff2 Binary files differnew file mode 100644 index 0000000..eb8df97 --- /dev/null +++ b/fonts/LibreBaskerville-Italic.woff2 diff --git a/fonts/LibreBaskerville-Regular.woff2 b/fonts/LibreBaskerville-Regular.woff2 Binary files differnew file mode 100644 index 0000000..c497ef2 --- /dev/null +++ b/fonts/LibreBaskerville-Regular.woff2 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} |