Set font-family for content

This commit is contained in:
Fred Boniface 2022-10-29 19:59:37 +01:00
parent 133f31765e
commit c47117bb94

View File

@ -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 {