mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-16 20:30:53 +08:00
update
This commit is contained in:
@@ -5,12 +5,12 @@
|
||||
background-position: bottom
|
||||
background-size: cover
|
||||
|
||||
if hexo-config('footer_bg') != false
|
||||
if hexo-config('footer_bg') != false && hexo-config('mask.footer')
|
||||
&:before
|
||||
position: absolute
|
||||
width: 100%
|
||||
height: 100%
|
||||
background-color: alpha($dark-black, .5)
|
||||
background-color: var(--mark-bg)
|
||||
content: ''
|
||||
|
||||
#footer-wrap
|
||||
|
||||
@@ -7,12 +7,13 @@
|
||||
background-repeat: no-repeat
|
||||
transition: all .5s
|
||||
|
||||
&:not(.not-top-img):before
|
||||
position: absolute
|
||||
width: 100%
|
||||
height: 100%
|
||||
background-color: alpha($dark-black, .3)
|
||||
content: ''
|
||||
if hexo-config('mask.header')
|
||||
&:not(.not-top-img):before
|
||||
position: absolute
|
||||
width: 100%
|
||||
height: 100%
|
||||
background-color: var(--mark-bg)
|
||||
content: ''
|
||||
|
||||
// index
|
||||
&.full_page
|
||||
@@ -97,9 +98,6 @@
|
||||
+maxWidth768()
|
||||
height: 360px
|
||||
|
||||
&:before
|
||||
background-color: alpha($dark-black, .5)
|
||||
|
||||
#post-info
|
||||
position: absolute
|
||||
bottom: 100px
|
||||
|
||||
@@ -65,6 +65,9 @@ beautify()
|
||||
|
||||
ul > li
|
||||
list-style-type: circle
|
||||
|
||||
hr
|
||||
@extend .custom-hr
|
||||
|
||||
#article-container
|
||||
word-wrap: break-word
|
||||
@@ -156,14 +159,6 @@ beautify()
|
||||
else if hexo-config('beautify.field') == 'post'
|
||||
&.post-content
|
||||
beautify()
|
||||
else
|
||||
hr
|
||||
margin: 20px 0
|
||||
border: 1px inset
|
||||
width 100%
|
||||
|
||||
&:before
|
||||
content: none
|
||||
|
||||
#post
|
||||
.tag_share
|
||||
|
||||
@@ -82,15 +82,22 @@ if hexo-config('waline.bg')
|
||||
display: none
|
||||
|
||||
// Mathjax
|
||||
.mathjax-overflow
|
||||
mjx-container
|
||||
overflow-x: auto
|
||||
overflow-y: hidden
|
||||
|
||||
span.mathjax-overflow
|
||||
display: inline-block
|
||||
padding: 0 2px
|
||||
padding-bottom: 4px
|
||||
max-width: 100%
|
||||
vertical-align: bottom
|
||||
|
||||
&[display]
|
||||
display: block !important
|
||||
min-width: auto !important
|
||||
|
||||
&:not([display])
|
||||
display: inline-grid !important
|
||||
|
||||
mjx-assistive-mml
|
||||
right: 0
|
||||
bottom: 0
|
||||
|
||||
.aplayer
|
||||
color: $font-black
|
||||
|
||||
Reference in New Issue
Block a user