Fix some styles

This commit is contained in:
2021-10-03 12:42:25 +02:00
parent 6c1dcf7535
commit dc11cd28ad
5 changed files with 40 additions and 19 deletions

View File

@@ -1,6 +1,6 @@
// TYPOGRAPHY
// Titles
/* ==========================================================================
TITLES
========================================================================== */
// Huge
.title-huge {
font-size: clamp(200px, 38vw, 700px);
@@ -8,6 +8,7 @@
font-weight: 200;
letter-spacing: -0.04em;
}
// Medium
.title-medium {
font-family: $font-serif;
@@ -26,13 +27,19 @@
}
// Texts
/* ==========================================================================
TEXT
========================================================================== */
// Large
.text-large {
font-size: rem(32px);
font-family: $font-sans;
font-weight: 400;
line-height: 1.5;
}
// Medium
.text-medium {
font-size: rem(20px);
font-family: $font-sans;
@@ -44,16 +51,25 @@
line-height: 1.5;
}
}
.text-small {
// Normal
.text-normal {
font-size: rem(22px);
font-weight: 400;
line-height: 1.5;
}
// Small
.text-small {
font-size: rem(20px);
font-weight: 400;
line-height: 1.5;
}
// Label
.text-label {
font-size: rem(12px);
line-height: 1.4;
text-transform: uppercase;
letter-spacing: 1px;
}
}