[opt] folding

This commit is contained in:
xaoxuu 2022-12-18 13:03:27 +08:00
parent 815c67d5c7
commit 0654b94f89
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,6 @@ details.folding
padding: 1rem
margin: 1rem 0
border-radius: $border-block
font-size: $fs-14
background: var(--theme-bg2)
border: 1px solid var(--theme-border)
summary
@ -12,6 +11,7 @@ details.folding
margin: -1rem
color: var(--text-p2)
font-weight: 500
font-size: $fs-14
position: relative
line-height: 1.2
outline: none
@ -43,7 +43,7 @@ details.folding[open]
>div.body
padding: 0 1rem 1rem
margin: 0 -1rem -1rem
font-size: $fs-15
color: var(--text-p1)
>:first-child
margin-top: 1rem
>:last-child