调整页脚信息位置

This commit is contained in:
j m 2024-04-14 18:53:14 +08:00
parent 91733c0c56
commit ab6c256bc7
4 changed files with 26 additions and 12 deletions

View File

@ -4073,9 +4073,15 @@ button.swiper-pagination-bullet {
.icon-spot {
&:first-child > *:not(:first-child):before {
content: "·";
margin: 0 0.3em;
content: "";
width: 4px;
height: 4px;
margin: 0 0.4em;
border-radius: 50%;
display: inline-block;
background: var(--dark-b);
opacity: .5;
vertical-align: 0.2em;
}
&:not(:first-child) > *:not(:first-child):before {
@ -4086,7 +4092,7 @@ button.swiper-pagination-bullet {
border-radius: 50%;
display: inline-block;
background: var(--dark-b);
opacity: .3;
opacity: .5;
vertical-align: 0.2em;
}
@ -4103,6 +4109,14 @@ button.swiper-pagination-bullet {
}
}
a.record {
color: var(--dark-b);
&:hover {
color: var(--theme);
}
}
.stand {
color: var(--theme);
margin: 0 4px;

File diff suppressed because one or more lines are too long

View File

@ -12,10 +12,12 @@
</li>
<li>
<p class="icon-spot">
<span id="webCopyright" th:text="'&copy; '+${#dates.format(#dates.createNow(), 'yyyy')}+' '+ ${site.title}"></span><a
th:if="${!#strings.isEmpty(theme.config.basic_info.record_number)}"
<span id="webCopyright" th:text="'&copy; '+${#dates.format(#dates.createNow(), 'yyyy')}+' '+ ${site.title}"></span><span th:unless="${theme.config.basic_info.footer_hide_theme_info}" class="footer-truncation">Powered by <a class="powered" href="https://halo.run/" target="_blank">Halo</a> & <a class="powered" href="https://github.com/zsjy/halo-theme-dream2.0-plus" target="_blank">Dream2.0 Plus</a></span></p>
<p class="icon-spot" th:if="${!#strings.isEmpty(theme.config.basic_info.record_number_ps) || !#strings.isEmpty(theme.config.basic_info.record_number)}"><a
th:if="${!#strings.isEmpty(theme.config.basic_info.record_number)}" class="record"
href="http://beian.miit.gov.cn/publish/query/indexFirst.action" target="_blank" rel="noopener noreferrer nofollow"
th:text="${theme.config.basic_info.record_number}"></a><span th:unless="${theme.config.basic_info.footer_hide_theme_info}" class="footer-truncation">Powered by <a class="powered" href="https://halo.run/" target="_blank">Halo</a> & <a class="powered" href="https://github.com/zsjy/halo-theme-dream2.0-plus" target="_blank">Dream2.0 Plus</a></span></p>
th:text="${theme.config.basic_info.record_number}"></a><a th:if="${!#strings.isEmpty(theme.config.basic_info.record_number_ps)}" class="record footer-truncation" th:href="'https://beian.mps.gov.cn/#/query/webSearch?code=' + ${theme.config.basic_info.record_number_ps.replaceAll('[^\d]', '')}" target="_blank" rel="noopener noreferrer nofollow"><img
th:src="${#theme.assets('/img/ga.webp')}" height="auto" width="auto" alt="公网安备" style="vertical-align: text-top; width: 1.2em; margin-right: 4px;"/>[[${theme.config.basic_info.record_number_ps}]]</a></p>
<p class="icon-spot" th:if="${!#strings.isEmpty(theme.config.basic_info.website_time) || theme.config.enhance.enable_busuanzi == true}">
<span th:if="${!#strings.isEmpty(theme.config.basic_info.website_time)}" id="websiteDate">建站<span class="stand">00</span><span class="stand">0</span><span class="stand">0</span><span class="stand">0</span></span>
<span th:if="${theme.config.enhance.busuanzi_group.enable_busuanzi == true}" class="icon-spot footer-truncation">
@ -27,8 +29,6 @@
</span>
</span>
</p>
<p th:if="${!#strings.isEmpty(theme.config.basic_info.record_number_ps)}"><a th:href="'https://beian.mps.gov.cn/#/query/webSearch?code=' + ${theme.config.basic_info.record_number_ps.replaceAll('[^\d]', '')}" target="_blank" rel="noopener noreferrer nofollow"><img
th:src="${#theme.assets('/img/ga.webp')}" height="auto" width="auto" alt="公网安备" style="vertical-align: text-top; width: 1.2em; margin-right: 4px;"/>[[${theme.config.basic_info.record_number_ps}]]</a></p>
<p th:if="${!#strings.isEmpty(theme.config.basic_info.cloud_by_logo)}">本站由<a
class="cloud-driven" target="_blank" rel="noopener noreferrer nofollow" th:href="${theme.config.basic_info.cloud_by_url}"><img height="auto" width="auto"
alt="云服务商" th:src="${theme.config.basic_info.cloud_by_logo}"/></a>提供云服务</p>

View File

@ -28,6 +28,6 @@ spec:
settingName: theme-dream-setting
configMapName: theme-dream-configMap
# 版本号
version: 1.0.6
version: 1.0.6.1
# 最低支持的 Halo 版本
require: ">=2.6.0"