还没有人赞助~
diff --git a/templates/assets/js/main.js b/templates/assets/js/main.js
index 581948b5..e14b3e54 100644
--- a/templates/assets/js/main.js
+++ b/templates/assets/js/main.js
@@ -122,7 +122,7 @@ document.addEventListener('DOMContentLoaded', function () {
}
if (typeof $.fancybox === 'undefined') {
- $('head').append(`
`)
+ // $('head').append(`
`)
$.getScript(`${GLOBAL_CONFIG.source.fancybox.js}`, function () {
runFancybox($(ele))
})
diff --git a/templates/assets/js/utils.js b/templates/assets/js/utils.js
index 4c4de61e..104eb177 100644
--- a/templates/assets/js/utils.js
+++ b/templates/assets/js/utils.js
@@ -74,7 +74,7 @@ var btf = {
}
if (typeof $.fancybox === 'undefined') {
- $('head').append(`
`)
+ // $('head').append(`
`)
$.getScript(`${GLOBAL_CONFIG.source.fancybox.js}`, function () {
runFancybox($(ele))
})
diff --git a/templates/assets/zhheo/zhheoblog.css b/templates/assets/zhheo/zhheoblog.css
index 8f45ad5f..80ca4cae 100644
--- a/templates/assets/zhheo/zhheoblog.css
+++ b/templates/assets/zhheo/zhheoblog.css
@@ -2215,7 +2215,11 @@ blockquote footer cite::before {
}
#aside-content :only-child > .card-widget {
- margin-top: 0px;
+ margin-top: 1rem;
+}
+
+#aside-content :only-child > :first-child {
+ margin-top: 0rem;
}
#aside-content .card-more-btn {
@@ -6803,9 +6807,20 @@ body[data-type=music] .page #nav #site-name span{
}
}
+/* 保证无card-widget时自动和左侧元素对齐 */
@media screen and (min-width: 1300px) {
#aside-content .sticky_layout {
- margin-top: 1rem;
+ margin-top: 0rem;
+ }
+}
+
+/* 用 :has() 伪类判断card-widget是否存在,进行属性覆写 */
+/* 若存在,表明需要和card-widget保持距离 */
+@media screen and (min-width: 1300px) {
+ #aside-content:has(+.card-widget) {
+ #aside-content .sticky_layout {
+ margin-top: 1rem;
+ }
}
}
@@ -6814,10 +6829,6 @@ body[data-type=music] .page #nav #site-name span{
transition: top 0s;
}
-#aside-content .sticky_layout .card-widget:first-child {
- margin-top: 0;
-}
-
#aside-content .card-widget:hover {
box-shadow: var(--heo-shadow-border);
}
@@ -9890,8 +9901,13 @@ div#author-info__sayhi:hover {
transform: scale(1.1)
}
-/* 作者卡片背景 */
+/* 选中第一个卡片,与左侧元素对齐 */
#aside-content > .card-widget:first-child {
+ margin-top: 0px;
+}
+
+/* 作者卡片背景 */
+#aside-content > .card-widget.card-info {
transition: 0.3s;
border: none;
box-shadow: none;
diff --git a/templates/modules/widgets/about-widgets/about-reward.html b/templates/modules/widgets/about-widgets/about-reward.html
index 0a1642bd..3e50bfc7 100644
--- a/templates/modules/widgets/about-widgets/about-reward.html
+++ b/templates/modules/widgets/about-widgets/about-reward.html
@@ -1,11 +1,11 @@
致谢
-
[[${theme.config.aboutReward.title}]]
-
+
[[${theme.config.aboutReward.title}]]
+
[[${theme.config.aboutReward.content}]]
-
+
@@ -14,57 +14,63 @@
[[${theme.config.aboutReward.reward.name}]]
-
-
+
+
共[[${theme.config.aboutReward.reward_list.size()}]]人
-
+
[[${authorReward.name}]]
¥
- [[${authorReward.amount}]]
+ [[${authorReward.amount}]]
+
¥ [[${authorReward.amount}]]
-
+
-
\ No newline at end of file
+
diff --git a/templates/modules/widgets/about-widgets/statistics-map.html b/templates/modules/widgets/about-widgets/statistics-map.html
index e7bec0f0..1b9d1558 100644
--- a/templates/modules/widgets/about-widgets/statistics-map.html
+++ b/templates/modules/widgets/about-widgets/statistics-map.html
@@ -1,42 +1,53 @@
-