aboutsummaryrefslogtreecommitdiff
path: root/website
diff options
context:
space:
mode:
authorArun Isaac2022-03-20 18:50:08 +0530
committerArun Isaac2022-03-20 19:05:17 +0530
commit25c04ddf9dc18ffcec2aeb8d031dc0085e323057 (patch)
tree9b0d72ee8b7d5d9ab674e92ec16bd8d1921aa9c9 /website
parent1c2ed989e5f5645814de67a767a6581e57bebf41 (diff)
downloadguix-forge-25c04ddf9dc18ffcec2aeb8d031dc0085e323057.tar.gz
guix-forge-25c04ddf9dc18ffcec2aeb8d031dc0085e323057.tar.lz
guix-forge-25c04ddf9dc18ffcec2aeb8d031dc0085e323057.zip
website: Use Charter as main body font.
* Makefile (fonts): New variable. (website/fonts): New target. (website): Depend on website/fonts. (clean): Clean website/fonts. * website/style.css (@font-face: Charter): New font face. (body): Set font-family to Charter. Set font-size to 20px. * .gitignore: Add website/fonts.
Diffstat (limited to 'website')
-rw-r--r--website/style.css10
1 files changed, 9 insertions, 1 deletions
diff --git a/website/style.css b/website/style.css
index 01c655e..5d8415c 100644
--- a/website/style.css
+++ b/website/style.css
@@ -1,8 +1,16 @@
+@font-face {
+ font-family: 'Charter';
+ src: url('/fonts/charter_regular.woff2') format('woff2');
+ font-weight: normal;
+ font-style: normal;
+}
+
body {
margin: 40px auto;
max-width: 900px;
line-height: 1.6;
- font-size: 18px;
+ font-family: 'Charter';
+ font-size: 20px;
padding: 0 10px;
}