[opt] css

This commit is contained in:
xaoxuu 2022-12-11 01:20:54 +08:00
parent f748cf4234
commit 60659b4743
5 changed files with 7 additions and 7 deletions

View File

@ -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 %}
*
*/

View File

@ -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 += '>';

View File

@ -91,7 +91,7 @@
text-decoration: underline
&:hover
color: $color-hover
&:after
&:before
display: none
div.cmt-body
min-height: 150px

View File

@ -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)

View File

@ -36,7 +36,7 @@
color: var(--text-p0)
// type=text
.md-text .tag-plugin.quot
.md-text .tag-plugin.quot
.content[type=text]
&:before,&:after
content: ""