rickvanlieshout.com/src/components/Feed/Feed.module.scss

74 lines
1.4 KiB
SCSS
Raw Normal View History

@import "../../assets/scss/variables";
@import "../../assets/scss/mixins";
2018-11-09 18:08:48 +01:00
.feed {
.item {
2018-11-09 18:08:48 +01:00
@include margin-bottom(1.25);
&:last-child {
@include margin-bottom(0.5);
2018-11-09 18:08:48 +01:00
}
.title {
2018-11-09 18:08:48 +01:00
font-size: $typographic-base-font-size * 1.6875;
@include line-height(1.5);
@include margin-top(0);
@include margin-bottom(0.5);
2018-11-09 18:08:48 +01:00
.link {
2018-11-09 18:08:48 +01:00
color: $color-base;
&:hover,
&:focus {
border-bottom: 1px solid $color-base;
color: $color-base;
2018-11-09 18:08:48 +01:00
}
}
}
.description {
2018-11-09 18:08:48 +01:00
font-size: $typographic-base-font-size;
@include line-height(1);
@include margin-bottom(0.75);
2018-11-09 18:08:48 +01:00
}
.meta {
.time {
2018-11-09 18:08:48 +01:00
color: $color-base;
font-size: $typographic-small-font-size;
2018-11-09 18:08:48 +01:00
font-weight: 600;
text-transform: uppercase;
}
.divider {
@include margin(0, 0.5);
2018-11-09 18:08:48 +01:00
}
.category {
.link {
2018-11-09 18:08:48 +01:00
color: $color-secondary;
font-size: $typographic-small-font-size;
2018-11-09 18:08:48 +01:00
font-weight: 600;
text-transform: uppercase;
&:hover,
&:focus {
color: $color-primary;
}
}
}
}
.more {
2018-11-09 18:08:48 +01:00
color: $color-primary;
font-size: $typographic-base-font-size;
2018-11-09 18:08:48 +01:00
&:hover,
&:focus {
border-bottom: 1px solid $color-primary;
color: $color-primary;
2018-11-09 18:08:48 +01:00
}
}
}
}