From 2eac75943540b36e361e9ec94d6f77215e62c0ea Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Sun, 11 Dec 2022 13:44:41 +0800 Subject: [PATCH] [opt] css --- README.md | 4 ++-- source/css/_layout/tag-plugins/folders.styl | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index d41f483..dd21e83 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Stellar 是一个内置文档系统的简约商务风 Hexo 主题,支持丰富的标签和动态数据组件,请配合 [文档](https://xaoxuu.com/wiki/stellar/) 使用。 -[![Star History Chart](https://api.star-history.com/svg?repos=xaoxuu/hexo-theme-stellar&type=Date)](https://star-history.com/#xaoxuu/hexo-theme-stellar&Date) +[![Stargazers over time](https://starchart.cc/xaoxuu/hexo-theme-stellar.svg)](https://starchart.cc/xaoxuu/hexo-theme-stellar) ## Getting Started @@ -12,7 +12,7 @@ Check your environment: ```yaml Hexo: 5.4.0 ~ 6.3.0 hexo-cli: 4.3.0 ~ latest -node.js: 14.17.3 ~ 18.12.0 +node.js: 14.17.3 ~ 18.12.0 npm: 6.14.13 ~ 8.19.2 ``` diff --git a/source/css/_layout/tag-plugins/folders.styl b/source/css/_layout/tag-plugins/folders.styl index a044bd2..b1fe7ca 100644 --- a/source/css/_layout/tag-plugins/folders.styl +++ b/source/css/_layout/tag-plugins/folders.styl @@ -30,13 +30,13 @@ &:hover color: var(--text-p0) background: var(--block-hover) - &:after - position: absolute - content: '+' - text-align: center - top: 50% - transform: translateY(-50%) - right: 1rem + &:after + position: absolute + content: '+' + text-align: center + top: 50% + transform: translateY(-50%) + right: 1rem .tag-plugin.folders details[open] @@ -49,7 +49,7 @@ >summary color: var(--text-p1) background: var(--block-hover) - &:hover:after + &:after content: '-' >div.body