This commit is contained in:
xaoxuu 2022-10-23 22:41:09 +08:00
parent 2f92ac62df
commit 9a02adad9a
2 changed files with 23 additions and 15 deletions

View File

@ -25,19 +25,6 @@ h6
.fs12 .fs12
font-size: $fs-12 font-size: $fs-12
.post-list
.post-title
font-weight: 500
margin: .75rem 0
line-height: 1.2
font-size: $fs-h3
border-bottom: none
color: var(--text-p0)
trans1 color
.wiki .post-title
margin-top: 0.5rem
font-weight: 700
.widgets .widgets
.post-title .post-title
margin: 0.75rem 0 margin: 0.75rem 0

View File

@ -6,6 +6,22 @@
.post-title:first-child .post-title:first-child
margin-top: .5rem margin-top: .5rem
.post-list
.post-title
font-weight: 500
margin: .75rem 0
line-height: 1.2
font-size: $fs-h3
border-bottom: none
color: var(--text-p0)
trans1 color
@media screen and (max-width: $device-mobile)
font-size: $fs-h4
margin: 0.5rem 0
.wiki .post-title
margin-top: 0.5rem
font-weight: 700
// card // card
.post-list .post-card .post-list .post-card
display: block display: block
@ -18,8 +34,12 @@
position: relative position: relative
.excerpt .excerpt
margin: 1rem 0 margin: 1rem 0
@media screen and (max-width: $device-mobile)
margin: 0.5rem 0
>p >p
margin: 1rem 0 margin: 1rem 0
@media screen and (max-width: $device-mobile)
margin: 0.5rem 0
line-height: 1.5 line-height: 1.5
.meta.cap .meta.cap
display: flex display: flex
@ -41,9 +61,10 @@
// common article // common article
.post-list article.md .post-list article.md
padding: 1rem padding: 1rem
@media screen and (max-width: $device-mobile)
padding: 0.5rem 1rem
p p
color: var(--text-p2) color: var(--text-p2)
@media screen and (min-width: $device-mobile)
font-size: $fs-14 font-size: $fs-14