doc: update butterfly theme

This commit is contained in:
Leon Xu committed 2022-01-26 09:51:45 -08:00
1 parent b71987abfb
commit 20c5eb31dd
118 files changed
+2158 -2564

No files matched your search

@@ -23,39 +23,38 @@
transform: translate3d(-100%, 0, 0)
& > .avatar-img
margin: 1rem auto
margin: 20px auto
.site-data
display: table
padding: 0 .5rem
padding: 0 10px
width: 100%
table-layout: fixed
.data-item
display: table-cell
.data-item-link
& > a > div
@extend .limit-one-line
& > a > div
@extend .limit-one-line
.length-num
color: var(--text-highlight-color)
font-size: 1.28em
.length-num
color: var(--text-highlight-color)
font-size: 1.28em
.headline
color: var(--font-color)
.headline
color: var(--font-color)
hr
margin: 1rem auto
margin: 20px auto
.menus_items
padding: 0 .5rem 2rem
padding: 0 10px 40px
.site-page
@extend .limit-one-line
position: relative
display: block
padding: .3rem 1.5rem .3rem 1.1rem
padding: 6px 30px 6px 22px
color: var(--font-color)
font-size: 1.15em
@@ -66,18 +65,20 @@
width: 15%
text-align: left
.expand
position: absolute
top: .78em
right: .9rem
transition: transform .3s
&.group
& > i:last-child
position: absolute
top: .78em
right: 18px
transition: transform .3s
&.hide
transform: rotate(90deg) !important
&.hide
& > i:last-child
transform: rotate(90deg)
& + .menus_item_child
display: none
.menus_item_child
margin: 0
list-style: none
if hexo-config('hide_sidebar_menu_child')
display: none
list-style: none