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

89 lines
1.5 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 {
font-family: 'Hajime Sans', sans-serif;
color: var(--bs-primary);
font-weight: 400;
line-height: 1;
}
h1 {
text-align: center;
font-size: 3rem;
@media (min-width: $breakpoint-md) {
font-size: 4.5rem;
}
}
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: 2rem;
@media (min-width: $breakpoint-md) {
font-size: 3rem;
}
}
h3 {
font-size: 1.125rem;
font-weight: 600;
@media (min-width: $breakpoint-md) {
font-size: 1.5rem;
}
}
h4 {
font-size: 1.125rem;
font-weight: 600;
@media (min-width: $breakpoint-md) {
font-size: 1.5rem;
}
}
p {
margin-bottom: 1rem;
}
a {
color: var(--bs-primary);
text-decoration: none;
font-weight: 700;
&:hover {
color: var(--bs-primary-light)
}
}
button, .btn {
font-family: 'Hajime Sans', sans-serif;
font-weight: 400;
}