From d13602eb56faf13a0ca76d3b8bfd2f991e54fd62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=AD=99=E5=90=8C=E5=AD=A6?= Date: Mon, 30 Jan 2023 11:14:58 +0800 Subject: [PATCH 1/3] Update head.html --- templates/modules/head.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/modules/head.html b/templates/modules/head.html index 6aebf49e..7ab96fc1 100644 --- a/templates/modules/head.html +++ b/templates/modules/head.html @@ -15,7 +15,7 @@ - + - \ No newline at end of file + From 7565f966e7cf6a3db44546063bbc6d4edb7e8b14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=AD=99=E5=90=8C=E5=AD=A6?= Date: Mon, 30 Jan 2023 11:15:40 +0800 Subject: [PATCH 2/3] Create custom.css --- templates/assets/zhheo/custom.css | 46 +++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 templates/assets/zhheo/custom.css diff --git a/templates/assets/zhheo/custom.css b/templates/assets/zhheo/custom.css new file mode 100644 index 00000000..37b3cc89 --- /dev/null +++ b/templates/assets/zhheo/custom.css @@ -0,0 +1,46 @@ +/* 首行缩进 */ +/* .post-content p { + text-indent: 2em; +} */ + +/* 代码块阴影 Bug */ +#article-container pre > code { + background: transparent !important; +} + +/* 代码块纯黑色背景 */ +code[class*="language-"], pre[class*="language-"]{ + background: #18171d; +} + +/* banner 字体图标大小及位置 */ +i.iconfont.icon-arrow-right.banner-righticon{ + font-size: 66px; +} + +span.bannerText{ + display: block; + margin-top: 35px; +} + +/* 自我介绍渐变色背景 */ +#aside-content > .card-widget.card-info::before { + background: linear-gradient(-25deg,#0084ff,#031764,#67044d); + background-size: 400%; + position: absolute; + width: 100%; + height: 100%; + left: 0; + top: 0; + content: ''; + animation: gradient 15s ease infinite; +} + +/* 列表样式及缩进 */ +ul li { + font-size: 18px; +} + +#article-container ol li:not(.tab), #article-container ul li:not(.tab){ + margin-left: 2em; +} From 81c4d8304063fbffcd672f267731a3af6d7200ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=AD=99=E5=90=8C=E5=AD=A6?= Date: Mon, 30 Jan 2023 11:40:13 +0800 Subject: [PATCH 3/3] Update head.html MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 引入 font-awesome 字体图标 --- templates/modules/head.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/modules/head.html b/templates/modules/head.html index 7ab96fc1..d438f35e 100644 --- a/templates/modules/head.html +++ b/templates/modules/head.html @@ -15,7 +15,11 @@ + + + +