1. 更改手機頁面的menu和toc的顯示方式和顯示特效(ipad也能看TOC)

1. 更改手機頁面的menu和toc的顯示方式和顯示特效(ipad也能看TOC)
3. 可設置複製時,内容自動加上版權信息
4. 可修改tag的top_img
5. 可修改category的top_img
6. 可修改valine的背景
7. archives頁UI優化
8. ICP增加icon #37
9. 可設置主頁top_img的高度
10. 可設置主頁site-info的位置
11. category頁和tag頁的UI可以設置與主頁UI一樣 #31
12. 主頁subtitle可設置多個句子(不再限制2個) #37
13. 設置menu時,頭尾添加空格不受影響
14. 調整post頁的佈局
15. 书签添加icon
16. 公告icon效果
17. 首頁歸檔模塊,可設置數量限制,會顯示'查看更多'按鈕
18. 右下角按鈕調整。
19. 修复文章cover隨機图片生成,同一篇文章,不同地方的cover顯示不一样的bug
20. 修復gitalk語言設置無效的bug #35
21. 修復post頁面,當沒有設置word count時,閲讀量前有'|"
22. 修复sub-menu在safari的显示问题
23. 修复tags页评论居中问题
24. 修复header a hover 白色问题
25. 修復夜間模式下footer的顔色bug
26. 修復英文語言下,書簽英文顯示不完整的問題
This commit is contained in:
Jerry
2019-09-24 02:09:51 +08:00
Unverified
parent 83dc0559c0
commit 2eb15123f9
57 changed files with 1438 additions and 1224 deletions

View File

@@ -1,11 +1,17 @@
if hexo-config("nightshift") && hexo-config("nightshift.enable")
.night-mode
color: #99a9bf
background-color: #2d3032
#sidebar
background: #2d3035 !important
box-shadow: -0.25rem 0 0.25rem #2d3035 !important
&::-webkit-scrollbar-thumb
background: lighten(#2d3035,5)
#toggle-sidebar
color: #99a9bf !important
if hexo-config("local_search") && hexo-config("local_search.enable")
#local-search
@@ -66,8 +72,12 @@ if hexo-config("nightshift") && hexo-config("nightshift.enable")
.vcontent.expand:after
background: hsla(204, 5%, 22%, 1)
.recent-post-item .article-title
color: #99a9bf
.recent-post-item
background: #2d3032 !important
.article-title,
a
color: #99a9bf !important
#page-header
&.fixed
@@ -144,7 +154,12 @@ if hexo-config("nightshift") && hexo-config("nightshift.enable")
.translate_chn_to_cht,
.nightshift,
#readmode,
#to_comment
#to_comment,
#font_plus,
#font_minus,
#rightside_config,
#go-up,
#mobile-toc-button
background-color: #2d3035 !important
img
@@ -207,12 +222,16 @@ if hexo-config("nightshift") && hexo-config("nightshift.enable")
#top-container a,
#footer,
#footer a,
#page-header a
#page-header a,
#page-header .toggle-menu
color: rgba(238,238,238,.6)
#footer
background-color: #2d3032
//
.post-reward
.reward-buttom
.reward-button
background-color: #616a6b
.post_share
filter: brightness(0.6)
@@ -222,20 +241,6 @@ if hexo-config("nightshift") && hexo-config("nightshift.enable")
&::-webkit-scrollbar-thumb
background: lighten(#2d3035,5)
#post_bottom
background: #2d3035
box-shadow: 0 -5px 6px -5px rgba(133,133,133,0)
i
color: #99a9bf !important
#toc_mobile
background: #2d3035
a
color: #99a9bf !important
#web_bg
background-color: #2d3032
@@ -246,46 +251,34 @@ if hexo-config("nightshift") && hexo-config("nightshift.enable")
background-color: #616a6b
@media screen and (max-width: 768px)
.night-mode
color: #99a9bf
background-color: rgb(45, 48, 53)
#mobile-sidebar
#mobile-sidebar-menus
background: #2d3035
#page-header
.menus
background: #2d3035
.headline
color: #99a9bf !important
.length_num
color: darken(#99a9bf,10) !important
a
color: #99a9bf !important
.menu-icon-first,
.menu-icon-second,
.menu-icon-third
background-color: #99a9bf !important
@media screen and (min-width: 768px)
.night-mode
color: #99a9bf
background-color: #2d3032
.headline
color: #99a9bf !important
.recent-post-item
background: #2d3035 !important
.length_num
color: darken(#99a9bf,10) !important
a
color: #99a9bf !important
#page-header
.menus_item_child
background-color: #2d3035 !important
#mobile-sidebar-toc
background: #2d3035
a
color: #99a9bf !important
&:before
border-color: transparent transparent #2d3035 !important
li
a
color: #99a9bf
#page-header
.menus_item_child
background-color: #2d3035 !important
&:before
border-color: transparent transparent #2d3035 !important
li
a
color: #99a9bf