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 {
@include margin-bottom(1.25);
&:last-child {
@include margin-bottom(0.5);
2018-11-09 18:08:48 +01:00
}
&-title {
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 {
color: $color-base;
&:hover,
&:focus {
border-bottom: 1px solid $color-base;
color: $color-base;
2018-11-09 18:08:48 +01:00
}
}
}
&-description {
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 {
color: $color-base;
font-size: $typographic-small-font-size;
2018-11-09 18:08:48 +01:00
font-weight: 600;
text-transform: uppercase;
}
&-divider {
margin: 0 5px;
}
&-category {
&-link {
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
}
}
}
}