[opt] css

This commit is contained in:
xaoxuu 2022-12-12 20:39:07 +08:00
parent 0a2f0e6087
commit 801e3dc610
2 changed files with 7 additions and 6 deletions

View File

@ -1,7 +1,6 @@
.md-text
max-width: 100%
padding: 0 1rem
margin-top: 1rem
padding: 1rem
&:first-child
margin-top: 0
color: var(--text-p1)
@ -21,7 +20,7 @@ h1.article-title
.md-text.content
position: relative
margin-bottom: 2rem
padding-bottom: 2rem
overflow: hidden
&.indent
>p:not([class])

View File

@ -1,6 +1,6 @@
.related-wrap
padding: 1rem
margin: 2rem 0
padding: 0 1rem
margin: 4rem 0
&:empty
display: none
section.header
@ -17,7 +17,8 @@
border-radius: $border-block
color: var(--text-p1)
article.md-text.content+.related-wrap
margin-top: 0
.related-posts
max-width: 100%
@ -82,6 +83,7 @@
.related-wrap#comments
padding: 0 1rem
div.cmt-title
p
margin: 0