Files
dialog-relations-website/packages/base/Resources/Public/Scss/abstracts/_fonts.scss

61 lines
1.1 KiB
SCSS

// Update font file names and ensure no spaces for better compatibility.
@font-face {
font-family: 'Hajime Sans';
src: url('../Fonts/Hajime-Sans.woff2') format('woff2');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Inter';
src: url('../Fonts/Inter.woff2') format('woff2');
font-weight: 100 900; // Adjust as needed for variable font range
font-style: normal;
font-display: swap;
}
body {
font-family: 'Inter', sans-serif;
font-weight: 500;
}
h1, h2, h3 {
font-family: 'Hajime Sans', sans-serif;
color: var(--bs-primary);
font-weight: 400;
}
h1 {
text-align: center;
}
h1 span.tapered {
background-size: 100% 15%;
background-repeat: repeat-x;
background-position: left 0% bottom 15%;
background-image: linear-gradient(179deg,var(--bs-yellow) 0%, var(--bs-yellow) 50%,transparent 54%, transparent 100%);
}
h2 {
font-size: 4rem;
}
h4 {
font-size: 1.5rem;
}
p {
margin-bottom: 1rem;
}
a {
color: var(--cl-primary);
text-decoration: none;
font-weight: 700;
}
button, .btn {
font-family: 'Hajime Sans', sans-serif;
font-weight: 400;
}