diff --git a/firebase.json b/firebase.json index b0fa4d3..39aa4ae 100644 --- a/firebase.json +++ b/firebase.json @@ -17,7 +17,7 @@ ] }, { - "source": "**/*.@(js|css)", + "source": "**/*.@(js|css|woff2)", "headers": [ { "key": "Cache-Control", diff --git a/public/css/style.css b/public/css/style.css index 578c1e5..fd1c841 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -3,6 +3,63 @@ Aesthetic: Terminal-editorial. Dark. Electric. ============================================= */ +/* SELF-HOSTED FONTS */ +@font-face { + font-family: 'Bebas Neue'; + src: url('../fonts/BebasNeue-Regular.woff2') format('woff2'); + font-weight: 400; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'DM Mono'; + src: url('../fonts/DMMono-Light.woff2') format('woff2'); + font-weight: 300; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'DM Mono'; + src: url('../fonts/DMMono-LightItalic.woff2') format('woff2'); + font-weight: 300; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: 'DM Mono'; + src: url('../fonts/DMMono-Regular.woff2') format('woff2'); + font-weight: 400; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'DM Mono'; + src: url('../fonts/DMMono-Medium.woff2') format('woff2'); + font-weight: 500; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Instrument Serif'; + src: url('../fonts/InstrumentSerif-Regular.woff2') format('woff2'); + font-weight: 400; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Instrument Serif'; + src: url('../fonts/InstrumentSerif-Italic.woff2') format('woff2'); + font-weight: 400; + font-style: italic; + font-display: swap; +} + :root { --black: #080808; --dark: #0f0f0f; diff --git a/public/fonts/BebasNeue-Regular.woff2 b/public/fonts/BebasNeue-Regular.woff2 new file mode 100644 index 0000000..b4099a9 Binary files /dev/null and b/public/fonts/BebasNeue-Regular.woff2 differ diff --git a/public/fonts/DMMono-Light.woff2 b/public/fonts/DMMono-Light.woff2 new file mode 100644 index 0000000..7adb64b Binary files /dev/null and b/public/fonts/DMMono-Light.woff2 differ diff --git a/public/fonts/DMMono-LightItalic.woff2 b/public/fonts/DMMono-LightItalic.woff2 new file mode 100644 index 0000000..80281de Binary files /dev/null and b/public/fonts/DMMono-LightItalic.woff2 differ diff --git a/public/fonts/DMMono-Medium.woff2 b/public/fonts/DMMono-Medium.woff2 new file mode 100644 index 0000000..5772d89 Binary files /dev/null and b/public/fonts/DMMono-Medium.woff2 differ diff --git a/public/fonts/DMMono-Regular.woff2 b/public/fonts/DMMono-Regular.woff2 new file mode 100644 index 0000000..cd83295 Binary files /dev/null and b/public/fonts/DMMono-Regular.woff2 differ diff --git a/public/fonts/InstrumentSerif-Italic.woff2 b/public/fonts/InstrumentSerif-Italic.woff2 new file mode 100644 index 0000000..5b4c382 Binary files /dev/null and b/public/fonts/InstrumentSerif-Italic.woff2 differ diff --git a/public/fonts/InstrumentSerif-Regular.woff2 b/public/fonts/InstrumentSerif-Regular.woff2 new file mode 100644 index 0000000..8c021b0 Binary files /dev/null and b/public/fonts/InstrumentSerif-Regular.woff2 differ diff --git a/public/index.html b/public/index.html index 3a8529e..9c3aa8f 100644 --- a/public/index.html +++ b/public/index.html @@ -6,9 +6,6 @@