From ce71920763e09a8078cb70c54365b8add37882ad Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 24 Nov 2025 02:32:45 +0000 Subject: website: Add CSS. --- website/style.css | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 website/style.css (limited to 'website') diff --git a/website/style.css b/website/style.css new file mode 100644 index 0000000..ae17e5f --- /dev/null +++ b/website/style.css @@ -0,0 +1,48 @@ +@font-face { + font-family: 'Charter'; + src: url('/fonts/charter_regular.woff2') format('woff2'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'Fira Code'; + src: url('/fonts/FiraCode-Regular.woff2') format('woff2'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'Fira Code'; + src: url('/fonts/FiraCode-SemiBold.woff2') format('woff2'); + font-weight: 600; + font-style: normal; +} + +body { + margin: 40px auto; + max-width: 900px; + line-height: 1.6; + font-family: 'Charter'; + font-size: 20px; + padding: 0 10px; +} + +pre, code, samp { + font-family: 'Fira Code'; +} + +pre { + background-color: #f0f0f0; + padding: 1em; + font-size: 0.9em; +} + +code, samp { + font-size: 0.8em; + font-weight: 600; +} + +img { + max-width: 100%; +} -- cgit 1.4.1