mirror of
https://github.com/metagov/govarch-website.git
synced 2025-06-19 09:33:09 +00:00
add option to show post excerpts on posts with a title
This commit is contained in:
@ -9,27 +9,26 @@
|
||||
flex-direction: column-reverse;
|
||||
text-decoration: none;
|
||||
padding: .25em 0;
|
||||
.post-title {
|
||||
display: block;
|
||||
padding: .25em 0;
|
||||
}
|
||||
&:hover .post-title,
|
||||
&:focus .post-title {
|
||||
text-decoration: underline;
|
||||
}
|
||||
@media (min-width: $on-tablet) {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
.post-title {
|
||||
margin-right: 4em;
|
||||
}
|
||||
.post-date {
|
||||
margin-left: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.post-link__heading {
|
||||
display: block;
|
||||
margin-right: 4em;
|
||||
padding: .25em 0;
|
||||
}
|
||||
|
||||
.post-link__title + .post-link__excerpt {
|
||||
opacity: .6;
|
||||
}
|
||||
|
||||
.post-pagination {
|
||||
margin-top: 4rem;
|
||||
font-size: .75em;
|
||||
|
Reference in New Issue
Block a user