mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2025-09-15 12:58:48 +08:00
2. Add the option to hidden the aside items #2 3. Add the option to change subtitle 4. Add the option to change the font 5. fix read-mode and night-mode 6. fix the bugs of the cover #2
117 lines
2.0 KiB
Stylus
117 lines
2.0 KiB
Stylus
if hexo-config("readmode") && hexo-config("readmode.enable")
|
|
.read-mode
|
|
background: $pale-yellow
|
|
padding: 0 !important
|
|
|
|
#sidebar,
|
|
#toggle-sidebar
|
|
display: none
|
|
|
|
#top-container
|
|
background-image: none !important
|
|
height: 14rem
|
|
background-color: $pale-yellow
|
|
|
|
a
|
|
color: #4c4948
|
|
|
|
|
|
&:before
|
|
opacity: 0
|
|
|
|
#site-name,
|
|
.site-page
|
|
text-shadow: none
|
|
color: #4c4948
|
|
|
|
#post-info
|
|
text-align: center
|
|
padding: 0
|
|
color: #4c4948
|
|
|
|
#post-title,
|
|
#post-meta
|
|
text-shadow: none
|
|
|
|
#page-header
|
|
&.fixed
|
|
background: none
|
|
box-shadow: none
|
|
|
|
&.open-sidebar
|
|
.site-page
|
|
display: inline-block
|
|
opacity: 1
|
|
|
|
.toggle-menu
|
|
.menu-icon-first,
|
|
.menu-icon-second,
|
|
.menu-icon-third
|
|
background-color: #4c4948
|
|
|
|
.layout_post
|
|
box-shadow: none
|
|
background: $pale-yellow
|
|
|
|
&:hover
|
|
box-shadow: none
|
|
|
|
.article-container
|
|
pre,
|
|
.highlight
|
|
background: darken($pale-yellow,5);
|
|
|
|
.highlight
|
|
&:after
|
|
background: darken($pale-yellow,10);
|
|
table
|
|
&:after
|
|
background: darken($pale-yellow,10);
|
|
|
|
|
|
blockquote
|
|
border-left: 0.2rem solid #d6dbdf
|
|
background-color: rgba(102,128,153,.05)
|
|
|
|
#rightside
|
|
#nightshift
|
|
display: none
|
|
|
|
canvas
|
|
display: none !important
|
|
|
|
footer,
|
|
#post-comment,
|
|
hr,
|
|
.relatedPosts,
|
|
#pagination,
|
|
.post-reward,
|
|
.tag_share,
|
|
.post-copyright
|
|
display: none
|
|
|
|
&::-webkit-scrollbar-thumb
|
|
background: darken($pale-yellow,15)
|
|
|
|
*::-webkit-scrollbar-thumb
|
|
background: darken($pale-yellow,15)
|
|
|
|
.copy-notice
|
|
background: darken($pale-yellow,10)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|