hacks-guide-minimal-mistake.../_assets/css/_archive.scss

49 lines
960 B
SCSS
Raw Normal View History

2016-03-10 19:06:59 +01:00
/* ==========================================================================
ARCHIVE
========================================================================== */
.archive {
@include container;
@include grid(12,10);
@include prefix(12,1);
@include suffix(12,1);
margin-bottom: 2em;
@include breakpoint($small) {
@include grid(12,8);
@include prefix(12,0);
@include suffix(12,0);
}
@include breakpoint($large) {
@include grid(12,6);
}
@include breakpoint($x-large) {
@include grid(12,5);
}
}
.archive__subtitle {
margin: 0;
padding-bottom: 0.5em;
2016-03-11 04:29:30 +01:00
font-family: $serif;
2016-03-10 19:06:59 +01:00
font-size: 28px;
border-bottom: 1px solid $border-color;
}
.archive__item-title {
margin-bottom: 4px;
2016-03-11 04:29:30 +01:00
font-family: $sans-serif-narrow;
2016-03-10 19:06:59 +01:00
font-size: 20px;
a {
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
}
.archive__item-excerpt {
font-size: 14px;
& + p {
text-indent: 0;
}
}