Initial commit
This commit is contained in:
42
themes/kestrel/assets/css/components/_post.scss
Normal file
42
themes/kestrel/assets/css/components/_post.scss
Normal file
@@ -0,0 +1,42 @@
|
||||
.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%;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user