135 lines
2.5 KiB
SCSS
135 lines
2.5 KiB
SCSS
//Typography
|
|
p,
|
|
body {
|
|
font-size: 1rem;
|
|
line-height: 1.625;
|
|
font-weight: 400;
|
|
}
|
|
|
|
//Headings
|
|
//add helper fw-bold to any element to get bold style (500)
|
|
|
|
h1,
|
|
.h1 {
|
|
line-height: 1.325;
|
|
font-weight: 300;
|
|
}
|
|
|
|
h2,
|
|
.h2 {
|
|
line-height: 1.325;
|
|
font-weight: 300;
|
|
}
|
|
|
|
h3,
|
|
.h3 {
|
|
line-height: 1.375;
|
|
font-weight: 300;
|
|
}
|
|
|
|
h4,
|
|
.h4 {
|
|
line-height: 1.6;
|
|
font-weight: 300;
|
|
}
|
|
|
|
h5,
|
|
.h5 {
|
|
line-height: 1.325;
|
|
font-weight: 400;
|
|
@include responsive-font-size-md(1.25rem, 1.625rem);
|
|
}
|
|
|
|
h6,
|
|
.h6 {
|
|
line-height: 1.7;
|
|
letter-spacing: 0.75px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.small {
|
|
font-size: 0.875rem;
|
|
line-height: 1.7;
|
|
font-weight: 400;
|
|
}
|
|
|
|
label,
|
|
.label {
|
|
font-size: 1rem;
|
|
line-height: 1.5;
|
|
font-weight: 400;
|
|
}
|
|
|
|
caption,
|
|
.caption {
|
|
font-size: 0.75rem;
|
|
line-height: 1.7;
|
|
font-weight: 400;
|
|
}
|
|
|
|
// Font size
|
|
.fs-5 {
|
|
line-height: 2;
|
|
}
|
|
|
|
.fs-6 {
|
|
font-size: 1rem !important;
|
|
line-height: 1.4;
|
|
font-weight: 500;
|
|
}
|
|
|
|
// Averta Fonts
|
|
|
|
@font-face {
|
|
font-family: "AvertaBold";
|
|
src:
|
|
url("@/assets/fonts/averta-bold-webfont.woff2") format("woff2"),
|
|
url("@/assets/fonts/averta-bold-webfont.woff") format("woff");
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "AvertaBold_Italic";
|
|
src:
|
|
url("@/assets/fonts/averta-bolditalic-webfont.woff2") format("woff2"),
|
|
url("@/assets/fonts/averta-bolditalic-webfont.woff") format("woff");
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "AvertaExtraBold";
|
|
src:
|
|
url("@/assets/fonts/averta-extrabold-webfont.woff2") format("woff2"),
|
|
url("@/assets/fonts/averta-extrabold-webfont.woff") format("woff");
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "AvertaRegular";
|
|
src:
|
|
url("@/assets/fonts/averta-regular-webfont.woff2") format("woff2"),
|
|
url("@/assets/fonts/averta-regular-webfont.woff") format("woff");
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "AvertaRegular_Italic";
|
|
src:
|
|
url("@/assets/fonts/averta-regularitalic-webfont.woff2") format("woff2"),
|
|
url("@/assets/fonts/averta-regularitalic-webfont.woff") format("woff");
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "AvertaSemibold";
|
|
src:
|
|
url("@/assets/fonts/averta-semibold-webfont.woff2") format("woff2"),
|
|
url("@/assets/fonts/averta-semibold-webfont.woff") format("woff");
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|