Add custom fonts
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Jannis Portmann 2023-07-09 14:59:41 +02:00
parent cf878441b9
commit 79f071f290

View file

@ -1,3 +1,5 @@
@import url('https://fonts.googleapis.com/css2?family=Aleo:wght@400;700&family=Lato:ital,wght@0,400;0,700;1,400;1,700&display=swap');
:root {
/* Primary */
--pfl-color: #4c6e4dff;
@ -20,6 +22,10 @@
--bs-heading-color: #000;
--pfl-logo: url('/static/light.png');
--pfl-home-background: url('/static/home/home-light.webp');
--bs-body-font-family: 'Lato', sans-serif;
--pfl-heading-font-family: 'Aleo', serif;
}
:root[data-bs-theme='dark'] {
@ -86,10 +92,19 @@ a {
text-decoration: none;
}
.btn,
.badge {
font-family: 'Lato', sans-serif;
}
.nav-tabs .nav-link {
color: var(--pfl-primary-text)
}
.navbar-brand {
font-family: var(--pfl-heading-font-family);
}
.pfl-logo {
height: 2rem;
width: 2rem;
@ -159,4 +174,13 @@ a {
--bs-btn-hover-bg: var(--bg-pfl-orange);
--bs-btn-hover-border-color: var(--bg-pfl-orange);
--bs-btn-active-bg: var(--pfl-orange);
}
h1,
h2,
h3,
h4,
h5 {
font-family: var(--pfl-heading-font-family);
font-weight: 500;
}