diff --git a/fira.css b/fira.css new file mode 100644 index 0000000..aa5193f --- /dev/null +++ b/fira.css @@ -0,0 +1,48 @@ +@font-face { + font-family: 'Fira Code'; + src: url('/fonts/FiraCode-Light.woff2') format('woff2'), + url("/fonts/FiraCode-Light.woff") format("woff"); + font-weight: 300; + font-style: normal; +} + +@font-face { + font-family: 'Fira Code'; + src: url('/fonts/FiraCode-Regular.woff2') format('woff2'), + url("/fonts/FiraCode-Regular.woff") format("woff"); + font-weight: 400; + font-style: normal; +} + +@font-face { + font-family: 'Fira Code'; + src: url('/fonts/FiraCode-Medium.woff2') format('woff2'), + url("/fonts/FiraCode-Medium.woff") format("woff"); + font-weight: 500; + font-style: normal; +} + +@font-face { + font-family: 'Fira Code'; + src: url('/fonts/FiraCode-SemiBold.woff2') format('woff2'), + url("/fonts/FiraCode-SemiBold.woff") format("woff"); + font-weight: 600; + font-style: normal; +} + +@font-face { + font-family: 'Fira Code'; + src: url('/fonts/FiraCode-Bold.woff2') format('woff2'), + url("/fonts/FiraCode-Bold.woff") format("woff"); + font-weight: 700; + font-style: normal; +} + +@font-face { + font-family: 'Fira Code VF'; + src: url('/fonts/FiraCode-VF.woff2') format('woff2-variations'), + url('/fonts/FiraCode-VF.woff') format('woff-variations'); + /* font-weight requires a range: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide#Using_a_variable_font_font-face_changes */ + font-weight: 300 700; + font-style: normal; +} diff --git a/fonts/FiraCode-Bold.woff b/fonts/FiraCode-Bold.woff new file mode 100644 index 0000000..74e57c4 Binary files /dev/null and b/fonts/FiraCode-Bold.woff differ diff --git a/fonts/FiraCode-Bold.woff2 b/fonts/FiraCode-Bold.woff2 new file mode 100644 index 0000000..349dc36 Binary files /dev/null and b/fonts/FiraCode-Bold.woff2 differ diff --git a/fonts/FiraCode-Light.woff b/fonts/FiraCode-Light.woff new file mode 100644 index 0000000..1c1ebc6 Binary files /dev/null and b/fonts/FiraCode-Light.woff differ diff --git a/fonts/FiraCode-Light.woff2 b/fonts/FiraCode-Light.woff2 new file mode 100644 index 0000000..eeaa303 Binary files /dev/null and b/fonts/FiraCode-Light.woff2 differ diff --git a/fonts/FiraCode-Medium.woff b/fonts/FiraCode-Medium.woff new file mode 100644 index 0000000..19251b0 Binary files /dev/null and b/fonts/FiraCode-Medium.woff differ diff --git a/fonts/FiraCode-Medium.woff2 b/fonts/FiraCode-Medium.woff2 new file mode 100644 index 0000000..7f1d770 Binary files /dev/null and b/fonts/FiraCode-Medium.woff2 differ diff --git a/fonts/FiraCode-Regular.woff b/fonts/FiraCode-Regular.woff new file mode 100644 index 0000000..8816b69 Binary files /dev/null and b/fonts/FiraCode-Regular.woff differ diff --git a/fonts/FiraCode-Regular.woff2 b/fonts/FiraCode-Regular.woff2 new file mode 100644 index 0000000..f8b63fb Binary files /dev/null and b/fonts/FiraCode-Regular.woff2 differ diff --git a/fonts/FiraCode-SemiBold.woff b/fonts/FiraCode-SemiBold.woff new file mode 100644 index 0000000..97857db Binary files /dev/null and b/fonts/FiraCode-SemiBold.woff differ diff --git a/fonts/FiraCode-SemiBold.woff2 b/fonts/FiraCode-SemiBold.woff2 new file mode 100644 index 0000000..ccbefc8 Binary files /dev/null and b/fonts/FiraCode-SemiBold.woff2 differ diff --git a/fonts/FiraCode-VF.woff b/fonts/FiraCode-VF.woff new file mode 100644 index 0000000..c3407ed Binary files /dev/null and b/fonts/FiraCode-VF.woff differ diff --git a/fonts/FiraCode-VF.woff2 b/fonts/FiraCode-VF.woff2 new file mode 100644 index 0000000..e755a9d Binary files /dev/null and b/fonts/FiraCode-VF.woff2 differ diff --git a/master.css b/master.css index b8d6e99..144201a 100644 --- a/master.css +++ b/master.css @@ -11,7 +11,8 @@ body { color: var(--foreground); background-color: var(--background); - font-family: monospace; + font-family: "Fira Code"; + font-size: 13px; } h1,