From c47117bb94925099749b5e23974f23f190ec6ddf Mon Sep 17 00:00:00 2001 From: "fred.boniface" Date: Sat, 29 Oct 2022 19:59:37 +0100 Subject: [PATCH] Set font-family for content --- style/new_style.css | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/style/new_style.css b/style/new_style.css index cafcb4d..ef852de 100644 --- a/style/new_style.css +++ b/style/new_style.css @@ -15,6 +15,30 @@ font-weight: normal; font-style: normal; } +@font-face { + font-family: 'oxygen'; + src: url('/style/fonts/oxygen/oxygen-regular.woff2') format('woff2'), + url('/style/fonts/oxygen/oxygen-regular.woff') format('woff'), + url('/style/fonts/oxygen/oxygen-regular.ttf') format('truetype'); + font-weight: normal; + font-style: normal; +} +@font-face { + font-family: 'oxygen'; + src: url('/style/fonts/oxygen/oxygen-bold.woff2') format('woff2'), + url('/style/fonts/oxygen/oxygen-bold.woff') format('woff'), + url('/style/fonts/oxygen/oxygen-bold.ttf') format('truetype'); + font-weight: 700; + font-style: normal; +} +@font-face { + font-family: 'oxygen'; + src: url('/style/fonts/oxygen/oxygen-light.woff2') format('woff2'), + url('/style/fonts/oxygen/oxygen-light.woff') format('woff'), + url('/style/fonts/oxygen/oxygen-light.ttf') format('truetype'); + font-weight: 300; + font-style: normal; +} /* HTML & BODY */ html {height: 100%;} body { @@ -162,6 +186,8 @@ body { .content h2 { color: var(--main-text-color); text-align: center; + font-family: oxygen, sans-serif; + font-weight: 700; } .content p { width: 90%; @@ -169,6 +195,8 @@ body { margin-top: 20px; margin-bottom: 40px; color: var(--main-text-color); + font-family: oxygen, sans-serif; + font-weight: normal; } /* FOOTER */ footer {