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

View File

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