mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2025-09-15 12:58:48 +08:00
feat: snackbar 增加圓角 feat: 增加 flink 標籤外掛 fix: 修復點擊 toc 外圍,控制檯報錯的 bug fix: Facebook Comments 無法使用 #787 fix: chat_btn 聊天按鈕翻譯缺失 #791 fix: local search 的 content 設爲 false, 搜索無法運行的 bug #764 fix: Mermaid 圖表渲染後元素高度過大 #773 fix: 文章頁分享按鈕另開一行時, 導航頁寬度沒有 100% 的 bug #765 improvement: 語義化 toggle 標籤外掛 improvement: darkmode 下 toc 背景顏色更改
114 lines
1.8 KiB
Stylus
114 lines
1.8 KiB
Stylus
#vcomment
|
|
font-size: 1.1em
|
|
|
|
.vbtn
|
|
border: none
|
|
background: var(--btn-bg)
|
|
color: var(--btn-color)
|
|
|
|
&:hover
|
|
background: var(--btn-hover-color)
|
|
|
|
.vimg
|
|
transition: all .3s
|
|
|
|
&:hover
|
|
transform: rotate(360deg)
|
|
|
|
.vcards .vcard .vcontent.expand
|
|
&:before,
|
|
&:after
|
|
z-index: 22
|
|
|
|
#waline-wrap
|
|
--waline-font-size: 1.1em
|
|
--waline-theme-color: $button-bg
|
|
--waline-active-color: $button-hover-color
|
|
|
|
.vuser
|
|
transition: all .5s
|
|
|
|
&:hover
|
|
transform: rotate(360deg)
|
|
|
|
if hexo-config('valine.bg')
|
|
#vcomment
|
|
textarea
|
|
background: url(hexo-config('valine.bg')) 100% 100% no-repeat
|
|
|
|
&:focus
|
|
background-image: none
|
|
|
|
if hexo-config('waline.bg')
|
|
#waline-wrap
|
|
textarea
|
|
background: url(hexo-config('waline.bg')) 100% 100% no-repeat
|
|
|
|
&:focus
|
|
background-image: none
|
|
|
|
.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-wrap
|
|
margin: 0 0 20px
|
|
text-align: center
|
|
|
|
& > svg
|
|
height: 100%
|
|
|
|
.utterances,
|
|
.fb-comments iframe
|
|
width: 100% !important
|
|
|
|
#gitalk-container
|
|
.gt-meta
|
|
margin: 0 0 .8em
|
|
padding: 6px 0 16px
|
|
|
|
.katex-wrap
|
|
overflow: auto
|
|
|
|
if hexo-config('katex') && hexo-config('katex.hide_scrollbar')
|
|
&::-webkit-scrollbar
|
|
display: none
|
|
|
|
// mathjax
|
|
mjx-container[display],
|
|
.has-jax
|
|
overflow-x: auto
|
|
overflow-y: hidden
|
|
|
|
.aplayer
|
|
color: $font-black
|
|
|
|
#article-container
|
|
.aplayer
|
|
margin: 0 0 20px
|
|
|
|
if hexo-config('beautify.enable')
|
|
ol,
|
|
ul
|
|
margin: 0
|
|
padding: 0
|
|
|
|
li
|
|
margin: 0
|
|
padding: 0 15px
|
|
|
|
&:before
|
|
content: none
|
|
|
|
.snackbar-css
|
|
border-radius: 5px !important |