调整
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 3s

This commit is contained in:
2025-12-31 11:11:53 +08:00
parent df37a7c00d
commit 2ca25e083e
2 changed files with 27 additions and 9 deletions

View File

@@ -665,9 +665,16 @@
{/notempty} {/notempty}
{notempty name="data.webpage_footnotes"} {notempty name="data.webpage_footnotes"}
<!-- 底部文字 --> <!-- 底部文字 -->
<div class="footer-texts"> {eq name=":cookie('think_lang')" value="en-us"}
{$data.webpage_footnotes.desc|raw|htmlspecialchars_decode} <div class="footer-texts-en">
</div> {$data.webpage_footnotes.desc|raw|htmlspecialchars_decode}
</div>
{else/}
<div class="footer-texts">
{$data.webpage_footnotes.desc|raw|htmlspecialchars_decode}
</div>
{/eq}
{/notempty} {/notempty}
{/block} {/block}
{block name="script"} {block name="script"}

View File

@@ -35,16 +35,27 @@
font-family: 'HarmonyOS-Light'; font-family: 'HarmonyOS-Light';
letter-spacing: 1px; letter-spacing: 1px;
} }
.footer-texts-en { .footer-texts-en {
width: 6.8rem; width: 6.8rem;
margin: 0 auto; margin: 1.5rem 0.35rem;
font-size: 0.16rem; /* font-size: 0.16rem; */
color: #cbcfd8; color: #909399;
white-space: normal; /* white-space: normal; */
/* margin-top: 1.5rem;
margin-bottom: 1.5rem; */
box-sizing: border-box;
} }
.footer-texts-en p { .footer-texts-en p {
text-indent: clamp(-16px, -1vw, -0.22rem); width: 6.8rem;
font-size: 0.16rem;
padding-left: 0.1rem;
text-indent: -0.1rem;
/* line-height: 1.5;
margin-bottom: 0.1rem; */
font-family: 'HarmonyOS-Light'; font-family: 'HarmonyOS-Light';
/* letter-spacing: 1px; */
} }