From 08a334eebb9dac6e4e7998628df3d875e3a04b47 Mon Sep 17 00:00:00 2001 From: "1152958806@qq.com" <17683872107czx> Date: Thu, 9 Nov 2023 10:01:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=B6=85=E9=93=BE=E6=8E=A5?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/assets/zhheo/zhheoblog.css | 33 ++++++++++++++++++---------- 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/templates/assets/zhheo/zhheoblog.css b/templates/assets/zhheo/zhheoblog.css index 1e87d041..4ec476ff 100644 --- a/templates/assets/zhheo/zhheoblog.css +++ b/templates/assets/zhheo/zhheoblog.css @@ -152,7 +152,7 @@ i.haofont { display: var(--fa-display,inline-block); } -#page p a:not(.headerlink) { +#page #post-comment p a:not(.headerlink):not(.fancybox) { text-decoration: none; border-bottom: 2px solid var(--heo-lighttext); font-weight: 700; @@ -3083,12 +3083,12 @@ ul { overflow-wrap: break-word; } -#article-container a { - color: rgb(48, 122, 246); -} - #article-container a:hover { - text-decoration: underline; + text-decoration: none; + background: var(--heo-main); + border-width: 0; + color: var(--heo-white); + border-radius: 4px } #article-container img { @@ -3096,6 +3096,12 @@ ul { margin: 0px auto 0.8rem; } +@media screen and (max-width: 768px) { + #article-container img { + max-width:100% + } +} + #article-container p { margin: 0px 0px 0.8rem; } @@ -11157,20 +11163,19 @@ details[open]:not(.tk-admin-config-group):not(.card-friend-class-name) > summary /* 文章中的超链接 */ #article-container a { text-decoration: none; - border-bottom: 2px solid var(--heo-lighttext); + border-bottom: 2px dotted var(--heo-lighttext); color: var(--heo-fontcolor); - font-weight: bold; + font-weight: 700; padding: 0 4px; - border-radius: 4px 4px 0 0; + border-radius: 4px 4px 0 0 } -#article-container a:not(.fancybox):hover { +#article-container .site-card:hover a:not(.fancybox) { text-decoration: none; border-bottom: 2px solid var(--heo-none); color: var(--heo-white); background: var(--heo-main); - border-radius: 4px; - box-shadow: var(--heo-shadow-main); + box-shadow: var(--heo-shadow-main) } #article-container a.fancybox { @@ -11179,6 +11184,7 @@ details[open]:not(.tk-admin-config-group):not(.card-friend-class-name) > summary margin: auto; display: contents; width: fit-content; + -webkit-user-select: none } #article-container a.fancybox img { @@ -11421,6 +11427,9 @@ blockquote p { object-fit: cover; } +#article-container img.error { + content: url(../images/404.gif) +} /* 文章视频 */ .doge-inner-player {