feat: 样式调整
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user