feat: 样式调整

This commit is contained in:
2026-07-21 18:14:41 +08:00
parent 60d8f66ad0
commit 634824ff44
12 changed files with 161 additions and 133 deletions

View File

@@ -1,8 +1,12 @@
---
import { metadata } from "../consts";
const year = new Date().getFullYear();
---
<footer>
<div class="content">
<span>© 2026 {metadata.siteTitle}</span>
<a target="_blank" href="https://beian.miit.gov.cn/#/Integrated/index">
备案号鄂ICP备2023000060号-2
</a>
@@ -12,22 +16,23 @@
<style>
footer {
background: #ffffff;
background: #22252b;
height: 70px;
overflow: hidden;
flex-shrink: 0;
box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 2px;
box-shadow: var(--shadow);
}
.content {
max-width: var(--layout-width);
margin: 0 auto;
color: #1f2937;
color: #fff;
display: flex;
align-items: center;
height: 100%;
font-size: 14px;
justify-content: center;
gap: 12px;
}
:global(.dark) footer {