66 lines
1.5 KiB
Stylus
66 lines
1.5 KiB
Stylus
|
.md-text .tag-list
|
||
|
display: flex
|
||
|
flex-wrap: wrap
|
||
|
padding: 0
|
||
|
margin-top: 2rem
|
||
|
a.tag
|
||
|
display: inline-flex
|
||
|
align-items: center
|
||
|
position: relative
|
||
|
color: var(--text-p2)
|
||
|
margin: 4px
|
||
|
padding: .5em .75rem
|
||
|
border-radius: 4px
|
||
|
background: var(--block)
|
||
|
font-size: $fs-13
|
||
|
font-weight: 500
|
||
|
&:before
|
||
|
content: "#"
|
||
|
margin-left: -2px
|
||
|
margin-right: 2px
|
||
|
opacity: .4
|
||
|
&:hover
|
||
|
&:before
|
||
|
color $color-theme
|
||
|
opacity: 1
|
||
|
color: var(--text)
|
||
|
background: var(--block-hover)
|
||
|
|
||
|
.post-list .post-card .meta.cap .tag
|
||
|
&:before
|
||
|
content: "#"
|
||
|
margin-left: -2px
|
||
|
margin-right: 2px
|
||
|
opacity: .4
|
||
|
|
||
|
.widget-body.tag-tree .tag-subtree > a > .tag-switcher-wrapper
|
||
|
width: 1.75rem
|
||
|
height: 0.875rem
|
||
|
display: flex
|
||
|
justify-content: end
|
||
|
align-items: center
|
||
|
&:hover
|
||
|
color: $color-theme
|
||
|
|
||
|
.widget-body.tag-tree .tag-subtree.parent-tag > a .tag-switcher
|
||
|
display: inline-block
|
||
|
height: 0.5rem
|
||
|
width: 0.5rem
|
||
|
border-width: 1px
|
||
|
border-style: none solid solid none
|
||
|
transform: translateX(-25%) rotate(-45deg)
|
||
|
|
||
|
.widget-body.tag-tree .tag-subtree.parent-tag.expanded > a .tag-switcher
|
||
|
transform: translateY(-25%) rotate(45deg)
|
||
|
|
||
|
.widget-body.tag-tree .tag-subtree.parent-tag > .tag-subtree
|
||
|
display: none
|
||
|
|
||
|
.widget-body.tag-tree .tag-subtree.parent-tag.expanded > .tag-subtree
|
||
|
display: block
|
||
|
|
||
|
.widget-body.tag-tree .tag-subtree .tagcon
|
||
|
font-size: smaller
|
||
|
opacity: 0.4
|
||
|
margin-right: 0.25rem
|