diff --git a/templates/assets/js/halo.js b/templates/assets/js/halo.js index 7ff490f9..d22cd4fa 100644 --- a/templates/assets/js/halo.js +++ b/templates/assets/js/halo.js @@ -191,7 +191,7 @@ let halo = { //折叠 if(isEnableExpander){ var expander = document.createElement("i"); - expander.className = 'fa-sharp fa-solid fa-caret-down code-expander cursor-pointer' + expander.className = 'fa-sharp fa-solid fhaofont hao-icon-angle-down code-expander cursor-pointer' customItem.appendChild(expander) expander.addEventListener('click', prismToolsFn) diff --git a/templates/assets/libs/prism/code.css b/templates/assets/libs/prism/code.css index 72dee5b2..5f8a40b4 100644 --- a/templates/assets/libs/prism/code.css +++ b/templates/assets/libs/prism/code.css @@ -69,7 +69,7 @@ #article-container .code-toolbar .toolbar .custom-item>i { cursor: pointer; - margin-left: 10px; + margin-left: 8px; -webkit-transition: -webkit-transform .2s; transition: transform .2s; transition: transform .2s,-webkit-transform .2s diff --git a/templates/assets/zhheo/custom.css b/templates/assets/zhheo/custom.css index cec10a3c..36e53e27 100644 --- a/templates/assets/zhheo/custom.css +++ b/templates/assets/zhheo/custom.css @@ -389,4 +389,14 @@ ul li { #libCategories .card-wrap:hover .card-info:after { width: 300% +} + +.fa-sharp, .fa-solid{ + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; + display: var(--fa-display,inline-block); + font-style: normal; + font-variant: normal; + line-height: 1; + text-rendering: auto } \ No newline at end of file diff --git a/templates/assets/zhheo/zhheoblog.css b/templates/assets/zhheo/zhheoblog.css index 0f5b5f65..f02cd6f2 100644 --- a/templates/assets/zhheo/zhheoblog.css +++ b/templates/assets/zhheo/zhheoblog.css @@ -11694,7 +11694,7 @@ blockquote p { /* 文章内标题 */ #article-container .headerlink::before { - content: "\f0c1"; + content: "\e621"; font-family: "Font Awesome 5 Free"; } diff --git a/templates/modules/head.html b/templates/modules/head.html index ef691471..9f19d7b6 100644 --- a/templates/modules/head.html +++ b/templates/modules/head.html @@ -45,8 +45,6 @@ rel="stylesheet" /> - -