docs: fix styles and escape

This commit is contained in:
Yang Jun
2024-08-20 03:35:37 +08:00
parent b1f0260dcb
commit 5b1658c823
6 changed files with 11 additions and 7 deletions
+4 -1
View File
@@ -41,8 +41,10 @@ pre
table
margin: 0 !important
border: 0
th, td
.gutter, .code
padding: 0
.gutter
padding-right: 12px
figcaption
clearfix()
margin: -5px 0 5px
@@ -53,6 +55,7 @@ pre
margin: 0
padding: 0
background: none
white-space: pre
.line
height: 22px
+2 -1
View File
@@ -38,7 +38,8 @@ note-warn = hsl(0, 100%, 50%)
margin: 40px auto
.sidebar-title
border-top: none
.toc-item
list-style: none
.toc-link
@extend .sidebar-link