Repo for my website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

108 lines
2.0 KiB

4 years ago
.posts {
width: 100%;
max-width: 1000px;
text-align: left;
padding: 20px;
margin: 20px auto;
@media #{$media-size-medium} {
max-width: 800px;
4 years ago
}
@media #{$media-size-tablet} {
max-width: 660px;
}
4 years ago
&:not(:last-of-type) {
border-bottom: 1px solid $light-border-color;
4 years ago
.dark-theme & {
border-color: $dark-border-color;
}
}
&-group {
display: flex;
margin-bottom: 1.9em;
line-height: normal;
4 years ago
@media #{$media-size-tablet} {
display: block;
}
4 years ago
}
&-list {
flex-grow: 1;
margin: 0;
padding: 0;
list-style: none;
4 years ago
}
&-breadcrumbs {
margin: 0 0 -25px;
@media #{$media-size-phone} {
font-size: 0.9rem;
margin: 0 0 -15px;
}
}
.post {
&-title {
font-size: 1.9rem;
margin: 5px 0 5px 0;
}
&-subtitle {
font-size: 1.1rem;
margin: 5px 0 10px 0;
font-weight: 600;
.breadcrumbs {
li:last-child::after {
display: none;
}
}
}
&-year {
padding-top: 6px;
margin-right: 1.8em;
font-size: 1.6em;
@include dimmed;
@media #{$media-size-tablet} {
margin: -6px 0 4px;
}
}
&-item {
border-bottom: 1px grey dashed;
a {
display: flex;
justify-content: space-between;
align-items: baseline;
padding: 12px 0;
text-decoration: none;
}
}
&-day {
flex-shrink: 0;
margin-left: 1em;
@include dimmed;
}
&-cover {
margin-top: 20px;
margin-bottom: 20px;
}
&-content {
margin-top: 10px;
margin-bottom: 10px;
}
}
}