feat: theme and resources
This commit is contained in:
44
themes/hugo-theme-m10c/assets/css/components/_post.scss
Normal file
44
themes/hugo-theme-m10c/assets/css/components/_post.scss
Normal file
@@ -0,0 +1,44 @@
|
||||
.post-title {
|
||||
color: $lightest-color;
|
||||
}
|
||||
|
||||
.post-meta > div {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.2em;
|
||||
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