88 lines
1.8 KiB
CSS
88 lines
1.8 KiB
CSS
/* =========================================
|
|
页脚布局 (Footer)
|
|
========================================= */
|
|
|
|
.site-footer {
|
|
background-color: var(--bg-surface);
|
|
border-top: 1px solid var(--border-default);
|
|
padding: 1rem 0 0.75rem;
|
|
margin-top: auto; /* 确保置底 */
|
|
flex-shrink: 0; /* 防止Footer被压缩 */
|
|
font-size: 15px; /* 增加页脚基础字号 */
|
|
}
|
|
|
|
/* --- 页脚内容网格 --- */
|
|
.footer-content {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr); /* 4列布局 */
|
|
gap: 1.5rem;
|
|
margin-bottom: 1.75rem;
|
|
}
|
|
|
|
.footer-section h3 {
|
|
font-size: 17px; /* 增大标题字号 (原1rem/16px) */
|
|
font-weight: 600;
|
|
margin-bottom: 0.6rem;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.footer-links li {
|
|
margin-bottom: 0.5rem; /* 增加行间距 */
|
|
}
|
|
|
|
.footer-links a {
|
|
color: var(--text-secondary);
|
|
font-size: 14px; /* 增大链接字号 (原0.9rem/14.4px) */
|
|
}
|
|
|
|
.footer-links a:hover {
|
|
color: var(--color-primary);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* --- 底部版权区 --- */
|
|
.footer-bottom {
|
|
border-top: 1px solid var(--border-muted);
|
|
padding-top: 1rem;
|
|
text-align: center;
|
|
color: var(--text-secondary);
|
|
font-size: 13px; /* 增大版权信息字号 (原0.85rem/13.6px) */
|
|
}
|
|
|
|
/* --- 响应式适配 --- */
|
|
@media (max-width: 768px) {
|
|
.footer-content {
|
|
grid-template-columns: repeat(2, 1fr); /* 平板 2列 */
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.footer-content {
|
|
grid-template-columns: 1fr; /* 手机 1列 */
|
|
}
|
|
|
|
.site-footer {
|
|
padding: 1.5rem 0 1rem;
|
|
}
|
|
}
|
|
|
|
.footer-address-text {
|
|
color: var(--text-secondary);
|
|
line-height: 1.6;
|
|
overflow-wrap: anywhere;
|
|
margin: 0;
|
|
}
|
|
|
|
.footer-icp {
|
|
margin-top: 0.45rem;
|
|
}
|
|
|
|
.footer-icp a {
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.footer-icp a:hover {
|
|
color: var(--color-primary);
|
|
text-decoration: underline;
|
|
}
|