master
xaoxuu 4 years ago
parent bc30e306e2
commit 154be6079d
  1. 8
      source/css/_tag-plugins/folding.styl

@ -14,6 +14,7 @@ details
color: alpha($color-p, .7) color: alpha($color-p, .7)
font-size: $fontsize-meta font-size: $fontsize-meta
font-weight: bold font-weight: bold
position: relative
> >
p,h1,h2,h3,h4,h5,h6 p,h1,h2,h3,h4,h5,h6
display: inline display: inline
@ -21,8 +22,13 @@ details
&:hover &:hover
color: $color-p color: $color-p
&:after &:after
float: right position: absolute
content: '+' content: '+'
text-align: center
top: 50%
transform: translateY(-50%)
right: $gap
border: 1px solid $color-block border: 1px solid $color-block
>summary >summary
background: $color-block background: $color-block

Loading…
Cancel
Save