mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2025-09-15 12:58:48 +08:00
✨ 可設置取消谷歌自動廣告代碼加載 🐛 修復pjax下側邊欄分類打開/收縮按鈕 直接跳轉的bugs 🐛 修復代碼塊向右偏移的bugs 🐛 修復子目錄下,404頁面的回到首頁鏈接錯誤的bugs
85 lines
1.3 KiB
Stylus
85 lines
1.3 KiB
Stylus
#vcomment
|
|
.vbtn
|
|
border: none
|
|
background: var(--btn-bg)
|
|
color: var(--btn-color)
|
|
|
|
&:hover
|
|
background: var(--btn-hover-color)
|
|
|
|
if hexo-config('valine.bg')
|
|
textarea
|
|
background: url(hexo-config('valine.bg')) 100% 100% no-repeat
|
|
|
|
.vimg
|
|
transition: all .3s
|
|
|
|
&:hover
|
|
transform: rotate(360deg)
|
|
|
|
.vcards .vcard .vcontent.expand
|
|
&:before,
|
|
&:after
|
|
z-index: 22
|
|
|
|
.fireworks
|
|
position: fixed
|
|
top: 0
|
|
left: 0
|
|
z-index: $fireworks-zIndex
|
|
pointer-events: none
|
|
|
|
.medium-zoom-image--opened
|
|
z-index: 99999 !important
|
|
margin: 0 !important
|
|
|
|
.medium-zoom-overlay
|
|
z-index: 99999 !important
|
|
|
|
.mermaid
|
|
overflow: auto
|
|
margin: 0 0 1rem
|
|
background: $white
|
|
text-align: center
|
|
opacity: 0
|
|
transition: all .3s
|
|
|
|
&[data-processed]
|
|
opacity: 1
|
|
|
|
.utterances,
|
|
.fb-comments iframe
|
|
width: 100% !important
|
|
|
|
#gitalk-container
|
|
.gt-meta
|
|
margin: 0 0 .8em
|
|
padding: .3rem 0 .8em
|
|
|
|
// mathjax
|
|
mjx-container[jax='CHTML'][display='true']
|
|
overflow-x: auto
|
|
overflow-y: hidden
|
|
padding-bottom: .5rem
|
|
outline: 0
|
|
line-height: 2
|
|
|
|
.aplayer
|
|
color: $font-black
|
|
|
|
#article-container
|
|
.aplayer
|
|
margin: 0 0 1rem
|
|
|
|
if hexo-config('beautify.enable')
|
|
ol,
|
|
ul
|
|
margin: 0
|
|
padding: 0
|
|
|
|
li
|
|
margin: 0
|
|
padding: 0 15px
|
|
|
|
&:before
|
|
content: none |