Bauke/tildes-issue-log
Bauke
/
tildes-issue-log
Archived
1
Fork 0
This repository has been archived on 2022-10-04. You can view files and clone it, but cannot push or open issues or pull requests.
tildes-issue-log/source/pages/scss/_posts.scss

50 lines
628 B
SCSS
Raw Permalink Normal View History

#posts {
display: grid;
grid-template-columns: repeat(3, 1fr);
h2 {
grid-column: 1 / 4;
}
@media (max-width: $medium-breakpoint) {
grid-template-columns: repeat(2, 1fr);
h2 {
grid-column: 1 / 3;
}
}
@media (max-width: $small-breakpoint) {
grid-template-columns: repeat(1, 1fr);
h2 {
grid-column: 1 / 1;
}
}
.year {
padding-bottom: 2rem;
h3 {
margin: 0;
}
}
.posts {
list-style: none;
}
.post {
margin-bottom: 0;
&.newest {
font-weight: bolder;
}
a {
display: block;
padding: 0.5rem;
}
}
}