feat: 適配hexo 5.1.0 prismjs caption

feat: code-font-size 也會影響行內代碼塊字體大小 #325
fix: 修復aside recent post的 time 在safari沒有顯示的bug
fix: 修復 prismjs 在 tags-toggle 外掛標簽裏,代碼塊顯示一行的bugs
style: 刪除不必要的css
This commit is contained in:
Jerry
2020-08-22 23:17:28 +08:00
Unverified
parent ea7eb904fd
commit 4aacafdae1
8 changed files with 33 additions and 29 deletions

View File

@@ -138,10 +138,10 @@
& > time
color: $theme-meta-color
font-size: .85%
font-size: 85%
& > .comment
font-size: .9%
font-size: 90%
& > .title,
& > .comment

View File

@@ -11,11 +11,6 @@
+maxWidth1024()
display: none
.tocOpenPc
& > #toggle-sidebar
color: #99a9bf
transform: rotateZ(180deg)
#sidebar
position: fixed
top: 0
@@ -27,6 +22,11 @@
background: var(--sidebar-bg)
opacity: .9
&.tocOpenPc
& > #toggle-sidebar
color: #99a9bf
transform: rotateZ(180deg)
+maxWidth1024()
right: -($mobile-sidebar-width)
left: auto