Fix some styles
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
// TYPOGRAPHY
|
/* ==========================================================================
|
||||||
|
TITLES
|
||||||
// Titles
|
========================================================================== */
|
||||||
// Huge
|
// Huge
|
||||||
.title-huge {
|
.title-huge {
|
||||||
font-size: clamp(200px, 38vw, 700px);
|
font-size: clamp(200px, 38vw, 700px);
|
||||||
@@ -8,6 +8,7 @@
|
|||||||
font-weight: 200;
|
font-weight: 200;
|
||||||
letter-spacing: -0.04em;
|
letter-spacing: -0.04em;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Medium
|
// Medium
|
||||||
.title-medium {
|
.title-medium {
|
||||||
font-family: $font-serif;
|
font-family: $font-serif;
|
||||||
@@ -26,13 +27,19 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Texts
|
|
||||||
|
/* ==========================================================================
|
||||||
|
TEXT
|
||||||
|
========================================================================== */
|
||||||
|
// Large
|
||||||
.text-large {
|
.text-large {
|
||||||
font-size: rem(32px);
|
font-size: rem(32px);
|
||||||
font-family: $font-sans;
|
font-family: $font-sans;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Medium
|
||||||
.text-medium {
|
.text-medium {
|
||||||
font-size: rem(20px);
|
font-size: rem(20px);
|
||||||
font-family: $font-sans;
|
font-family: $font-sans;
|
||||||
@@ -44,16 +51,25 @@
|
|||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.text-small {
|
|
||||||
|
// Normal
|
||||||
|
.text-normal {
|
||||||
font-size: rem(22px);
|
font-size: rem(22px);
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Small
|
||||||
|
.text-small {
|
||||||
|
font-size: rem(20px);
|
||||||
|
font-weight: 400;
|
||||||
|
line-height: 1.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Label
|
||||||
.text-label {
|
.text-label {
|
||||||
font-size: rem(12px);
|
font-size: rem(12px);
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
letter-spacing: 1px;
|
letter-spacing: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,21 +1,21 @@
|
|||||||
.badge {
|
.badge {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
min-height: 16px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 0 6px;
|
padding: 0 6px;
|
||||||
background-color: $color-secondary-light;
|
text-align: center;
|
||||||
border-radius: 100vh;
|
background: $color-secondary-light;
|
||||||
text-transform: uppercase;
|
|
||||||
color: $color-primary-darker;
|
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
text-transform: uppercase;
|
||||||
letter-spacing: 1px;
|
letter-spacing: 1px;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
min-height: 16px;
|
color: $color-primary-darker;
|
||||||
|
border-radius: 100vh;
|
||||||
|
|
||||||
// Small size
|
// Small size
|
||||||
&--small {
|
&--small {
|
||||||
span {
|
font-size: rem(7px);
|
||||||
font-size: rem(7px);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -18,9 +18,10 @@
|
|||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
color: $color-secondary;
|
color: $color-secondary;
|
||||||
|
margin-bottom: 16px;
|
||||||
}
|
}
|
||||||
p {
|
p {
|
||||||
margin: 12px 0 40px;
|
margin-bottom: 40px;
|
||||||
color: $color-text;
|
color: $color-text;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -42,12 +42,12 @@
|
|||||||
// Title
|
// Title
|
||||||
.title-medium {
|
.title-medium {
|
||||||
color: $color-lightpurple;
|
color: $color-lightpurple;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
margin-bottom: 28px;
|
margin-bottom: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.detail {
|
.detail {
|
||||||
|
|||||||
@@ -146,7 +146,11 @@
|
|||||||
// CTAS
|
// CTAS
|
||||||
&__ctas {
|
&__ctas {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-bottom: 72px;
|
margin-bottom: 96px;
|
||||||
|
|
||||||
|
@include bp (sm) {
|
||||||
|
margin-bottom: 160px;
|
||||||
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
font-family: $font-sans;
|
font-family: $font-sans;
|
||||||
|
|||||||
Reference in New Issue
Block a user