136 lines
No EOL
2.5 KiB
SCSS
136 lines
No EOL
2.5 KiB
SCSS
//Typography
|
|
p,
|
|
body {
|
|
font-size: 1rem;
|
|
line-height: 1.625;
|
|
font-weight: 400;
|
|
letter-spacing: 0.03rem;
|
|
}
|
|
|
|
//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.03rem;
|
|
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;
|
|
}
|
|
|
|
// Urbanist Fonts
|
|
|
|
@font-face {
|
|
font-family: "UrbanistRegular";
|
|
src:
|
|
url("@/assets/fonts/Urbanist-Regular.woff") format("woff2"),
|
|
url("@/assets/fonts/Urbanist-Regular.woff2") format("woff");
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "UrbanistSemibold";
|
|
src:
|
|
url("@/assets/fonts/Urbanist-SemiBold.woff") format("woff2"),
|
|
url("@/assets/fonts/Urbanist-SemiBold.woff2") format("woff");
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "UrbanistBold";
|
|
src:
|
|
url("@/assets/fonts/Urbanist-Bold.woff") format("woff2"),
|
|
url("@/assets/fonts/Urbanist-Bold.woff2") format("woff");
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "UrbanistExtraBold";
|
|
src:
|
|
url("@/assets/fonts/Urbanist-ExtraBold.woff") format("woff2"),
|
|
url("@/assets/fonts/Urbanist-ExtraBold.woff2") format("woff");
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "UrbanistMedium_Italic";
|
|
src:
|
|
url("@/assets/fonts/Urbanist-MediumItalic.woff") format("woff2"),
|
|
url("@/assets/fonts/Urbanist-MediumItalic.woff2") format("woff");
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "UrbanistBold_Italic";
|
|
src:
|
|
url("@/assets/fonts/Urbanist-BoldItalic.woff") format("woff2"),
|
|
url("@/assets/fonts/Urbanist-BoldItalic.woff2") format("woff");
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
} |