style: format stylus code

This commit is contained in:
XPoet 2022-10-20 00:13:27 +08:00
parent 02c990d533
commit 212f04c7dc
3 changed files with 4 additions and 7 deletions

View File

@ -10,10 +10,10 @@
box-sizing border-box
width 100%
padding 0.3rem 0.4rem
color var(--toolbar-foreground)
background var(--toolbar-background)
border-top-left-radius 0.3rem
border-top-right-radius 0.3rem
color var(--toolbar-foreground)
&.folded {

View File

@ -8,7 +8,6 @@ $dark-code-background = darken($dark-background-color-1, 10%)
if (hexo-config('code_block.highlight_theme') == 'obsidian') {
$toolbar-foreground = #b5b5b5
$toolbar-background = #3a3f40
$highlight-foreground = #e8e2bb
@ -42,9 +41,8 @@ if (hexo-config('code_block.highlight_theme') == 'obsidian') {
$dark-highlight-purple = darken($highlight-purple, 2%)
$dark-highlight-deletion = darken($highlight-deletion, 2%)
$dark-highlight-addition = darken($highlight-addition, 2%)
} else {
}
else {
$toolbar-foreground = $text-color-3
$toolbar-background = $background-color-3
$highlight-foreground = lighten($text-color-3, 2%)

View File

@ -40,8 +40,8 @@ pre {
.highlight {
@extend $code-block
border-bottom-left-radius 0.1rem
border-bottom-right-radius 0.1rem
border-bottom-left-radius 0.1rem
pre {
margin 0
@ -117,7 +117,6 @@ pre {
.line {
color var(--highlight-gutter-color)
}
}
.gist table {