kestrelsnest-blog/themes/kestrel/assets/css/components/_post.scss

43 lines
590 B
SCSS
Raw Normal View History

2022-12-03 19:26:48 +00:00
.post-title {
color: $lightest-color;
}
.post-meta > div {
display: flex;
align-items: center;
font-size: 0.8em;
> .icon {
margin-right: 0.4em;
}
}
.post-content {
& > pre,
.highlight {
margin: 1em 0;
}
& > pre,
.highlight > pre,
.highlight > div {
border-left: 0.4em solid rgba($primary-color, .8);
padding: 1em 1em;
}
blockquote {
border-left: 0.4em solid rgba($primary-color, .8);
margin: 1em 0em;
padding: .5em 1em;
background: $darkest-color;
p {
margin: .5em 0;
}
}
img {
max-width: 100%;
}
}