refactor(starter): upgrade to new version of gatsby

This commit is contained in:
Alexander Shelepenok
2022-01-09 20:12:31 +00:00
parent 84bdc5899d
commit 67ebabbaac
397 changed files with 26665 additions and 34984 deletions

View File

@@ -1,43 +1,41 @@
@import '../../assets/scss/variables';
@import '../../assets/scss/mixins';
@import "../../assets/scss/variables";
@import "../../assets/scss/mixins";
.feed {
&__item {
@include margin-bottom(1.25);
&:last-child {
@include margin-bottom(.5);
@include margin-bottom(0.5);
}
&-title {
font-size: $typographic-base-font-size * 1.6875;
@include line-height(1.5);
@include margin-top(0);
@include margin-bottom(.5);
@include margin-bottom(0.5);
&-link {
color: $color-base;
&:hover,
&:focus {
color: $color-base;
border-bottom: 1px solid $color-base;
color: $color-base;
}
}
}
&-description {
font-size: $typographic-base-font-size;
@include line-height(1);
@include margin-bottom(.75);
@include margin-bottom(0.75);
}
&-meta {
&-time {
font-size: $typographic-small-font-size;
color: $color-base;
font-size: $typographic-small-font-size;
font-weight: 600;
text-transform: uppercase;
}
@@ -48,8 +46,8 @@
&-category {
&-link {
font-size: $typographic-small-font-size;
color: $color-secondary;
font-size: $typographic-small-font-size;
font-weight: 600;
text-transform: uppercase;
@@ -57,25 +55,19 @@
&:focus {
color: $color-primary;
}
}
}
}
&-readmore {
font-size: $typographic-base-font-size;
&-more {
color: $color-primary;
font-size: $typographic-base-font-size;
&:hover,
&:focus {
color: $color-primary;
border-bottom: 1px solid $color-primary;
color: $color-primary;
}
}
}
}
}