[opt] css
This commit is contained in:
parent
f748cf4234
commit
60659b4743
|
@ -1,9 +1,9 @@
|
|||
/**
|
||||
* quot.js v1.1 | https://github.com/xaoxuu/hexo-theme-stellar/
|
||||
* quot.js v1.2 | https://github.com/xaoxuu/hexo-theme-stellar/
|
||||
* 格式与官方标签插件一致使用空格分隔,中括号内的是可选参数(中括号不需要写出来)
|
||||
*
|
||||
* quot:
|
||||
* {% quot [el:h1] [icon:default] text %}
|
||||
* {% quot [el:h2] [icon:default] text %}
|
||||
*
|
||||
*/
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* toc.js v1 | https://github.com/xaoxuu/hexo-theme-stellar/
|
||||
* 格式与官方标签插件一致使用空格分隔,中括号内的是可选参数(中括号不需要写出来)
|
||||
*
|
||||
* {% toc wiki:xxx [open:true] [display:mobile] title %}
|
||||
* {% toc wiki:xxx [title] [open:true] [display:mobile] %}
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
@ -33,7 +33,7 @@ hexo.extend.tag.register('toc', function(args) {
|
|||
el += '>';
|
||||
|
||||
el += '<details class="toc"';
|
||||
if (args.open !== false) {
|
||||
if (args.open != 'false') {
|
||||
el += ' open';
|
||||
}
|
||||
el += '>';
|
||||
|
|
|
@ -91,7 +91,7 @@
|
|||
text-decoration: underline
|
||||
&:hover
|
||||
color: $color-hover
|
||||
&:after
|
||||
&:before
|
||||
display: none
|
||||
div.cmt-body
|
||||
min-height: 150px
|
||||
|
|
|
@ -73,7 +73,7 @@ set_darkmode_tags()
|
|||
--theme-bg2: hsl(hue($theme), 16, 16)
|
||||
--theme-border: hsl(hue($theme), 50, 24)
|
||||
--text-p0: hsl(hue($theme), 80, 80)
|
||||
--text-p1: hsl(hue($theme), 64, 90)
|
||||
--text-p1: hsl(hue($theme), 64, 80)
|
||||
--text-p2: hsl(hue($theme), 80, 72)
|
||||
.tag-plugin.tag
|
||||
set_dynamic_color($color-theme)
|
||||
|
|
Loading…
Reference in New Issue