This commit is contained in:
xaoxuu 2021-11-20 13:18:52 +08:00
parent f2d61f06a0
commit fdd228e073
3 changed files with 12 additions and 3 deletions

View File

@ -1,6 +1,8 @@
h1,.h1 h1,.h1
font-size: $fs-h1 font-size: $fs-h1
font-weight: 500 font-weight: 700
@media screen and (max-width: $device-mobile)
font-size: $fs-h1
h2,.h2 h2,.h2
font-size: $fs-h2 font-size: $fs-h2
h3,.h3 h3,.h3

View File

@ -86,6 +86,8 @@
display: flex display: flex
width: 200px width: 200px
margin: 1rem .5rem margin: 1rem .5rem
@media screen and (min-width: 950px)
margin: 1rem
align-items: center align-items: center
img img
object-fit: contain object-fit: contain
@ -93,7 +95,9 @@
trans1: transform 0.75s trans1: transform 0.75s
.post-list .post-card.wiki article .excerpt .post-list .post-card.wiki article .excerpt
margin: 1rem .5rem margin: 1rem .5rem
min-width: 220px @media screen and (min-width: 950px)
margin-right: 2rem
min-width: 280px
flex: 1 flex: 1
overflow: hidden overflow: hidden
word-wrap: break-word word-wrap: break-word

View File

@ -16,9 +16,12 @@ article.md.content
>:first-child >:first-child
margin-top: 0 margin-top: 0
h1.article-title h1.article-title
margin-top: 0.5rem margin-top: .5em
margin-bottom: 1em
line-height: 1.2 line-height: 1.2
color: var(--text-p0) color: var(--text-p0)
h1:not(:first-child)
margin-top: 2em
h2:first-child h2:first-child
margin-top: 0 margin-top: 0
h2,h3,h4,h5,h6 h2,h3,h4,h5,h6