Make discover into reusable class
This commit is contained in:
17
src/style/atoms/_discover.scss
Normal file
17
src/style/atoms/_discover.scss
Normal file
@@ -0,0 +1,17 @@
|
||||
.discover {
|
||||
font-family: $font-sans;
|
||||
font-size: rem(28px);
|
||||
color: $color-tertiary;
|
||||
font-weight: 300;
|
||||
line-height: 1.5;
|
||||
padding: 0 20px;
|
||||
|
||||
@include bp (sm) {
|
||||
font-size: rem(32px);
|
||||
}
|
||||
|
||||
strong {
|
||||
font-weight: 300;
|
||||
color: $color-secondary;
|
||||
}
|
||||
}
|
||||
@@ -183,24 +183,6 @@
|
||||
margin-bottom: 160px;
|
||||
}
|
||||
|
||||
p {
|
||||
font-family: $font-sans;
|
||||
font-size: rem(28px);
|
||||
color: $color-tertiary;
|
||||
font-weight: 300;
|
||||
line-height: 1.5;
|
||||
padding: 0 20px;
|
||||
|
||||
@include bp (sm) {
|
||||
font-size: rem(32px);
|
||||
}
|
||||
|
||||
strong {
|
||||
font-weight: 300;
|
||||
color: $color-secondary;
|
||||
}
|
||||
}
|
||||
|
||||
.cards {
|
||||
justify-content: center;
|
||||
margin-top: 48px;
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
@import "atoms/button";
|
||||
@import "atoms/badge";
|
||||
@import "atoms/arrow";
|
||||
@import "atoms/discover";
|
||||
@import "atoms/box-cta";
|
||||
@import "atoms/site-title";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user