From 5c1ecd23ab8bcc95a2390b4d46f283ae56cf498d Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Wed, 3 Jan 2024 13:57:18 +0800 Subject: [PATCH] [opt] css --- layout/_partial/head.ejs | 2 +- source/css/_plugins/copycode.styl | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/layout/_partial/head.ejs b/layout/_partial/head.ejs index 777ee4c..a3a06d9 100755 --- a/layout/_partial/head.ejs +++ b/layout/_partial/head.ejs @@ -70,7 +70,7 @@ function og_args() { %> <%- meta_generator() %> - + <%- generate_robots() %> diff --git a/source/css/_plugins/copycode.styl b/source/css/_plugins/copycode.styl index a6e8aae..fc76b82 100644 --- a/source/css/_plugins/copycode.styl +++ b/source/css/_plugins/copycode.styl @@ -33,6 +33,7 @@ color: $c-orange opacity: 0.75 -.md-text .tag-plugin[child=codeblock] +.md-text .folding[child=codeblock] .highlight .code .copy-btn + margin-top: 1rem border-radius: $border-bar \ No newline at end of file