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; +}