Apply correct fonts: Combined for titles, BBBDMSans for body text

This commit is contained in:
Pontoporeia
2026-04-07 14:14:33 +02:00
parent 572ef75a1e
commit 797eaf87d1
4 changed files with 50 additions and 10 deletions

View File

@@ -1,13 +1,45 @@
@import url("./variables.css");
@font-face {
font-family: "police1";
font-family: "Combined";
src: url("../fonts/Combinedd.otf") format("opentype");
font-style: normal;
font-weight: 400;
font-display: swap;
}
@font-face {
font-family: "BBBDMSans";
src: url("../fonts/BBBDMSans-Light.otf") format("opentype");
font-style: normal;
font-weight: 300;
font-display: swap;
}
@font-face {
font-family: "BBBDMSans";
src: url("../fonts/BBBDMSans-Regular.otf") format("opentype");
font-style: normal;
font-weight: 400;
font-display: swap;
}
@font-face {
font-family: "BBBDMSans";
src: url("../fonts/BBBDMSans-Medium.otf") format("opentype");
font-style: normal;
font-weight: 500;
font-display: swap;
}
@font-face {
font-family: "BBBDMSans";
src: url("../fonts/BBBDMSans-Bold.otf") format("opentype");
font-style: normal;
font-weight: 700;
font-display: swap;
}
*,
*::before,
*::after {
@@ -22,9 +54,7 @@ body {
}
body {
font-family:
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
Arial, sans-serif;
font-family: "BBBDMSans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
background: var(--bg-primary);
color: var(--text-primary);
}
@@ -78,7 +108,7 @@ header nav {
}
header nav > a {
font-family: "police1", sans-serif;
font-family: "Combined", sans-serif;
font-size: 1.1rem;
letter-spacing: 0.12em;
text-transform: uppercase;