heritage-ui/src/layout/Footer.css
Leo b4947b89e1 添加布局组件
- 创建主布局框架(Header、Footer、MainLayout)
- 实现导航菜单和用户入口
- 添加响应式设计支持
2025-10-09 23:45:07 +08:00

207 lines
3.1 KiB
CSS

/* 非遗文化传承网站 - Footer 样式 */
.heritage-footer {
background-color: #2c2c2c;
color: #ffffff;
margin-top: auto;
}
.footer-main {
padding: 60px 0 40px;
}
.footer-container {
max-width: 1440px;
margin: 0 auto;
padding: 0 50px;
}
/* Footer Section */
.footer-section {
height: 100%;
}
.footer-title {
color: #ffffff !important;
font-size: 16px !important;
font-weight: 600 !important;
margin-bottom: 20px !important;
font-family: 'Noto Serif SC', 'Songti SC', serif;
}
.footer-description {
color: #cccccc !important;
font-size: 13px;
line-height: 1.8;
margin-bottom: 20px !important;
}
/* 社交媒体链接 */
.footer-social {
display: flex;
gap: 12px;
}
.social-link {
display: flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
background-color: rgba(255, 255, 255, 0.1);
border-radius: 50%;
color: #ffffff;
font-size: 18px;
transition: all 0.3s ease;
}
.social-link:hover {
background-color: #c8363d;
color: #ffffff;
transform: translateY(-2px);
}
/* Footer 链接 */
.footer-links {
list-style: none;
padding: 0;
margin: 0;
}
.footer-links li {
margin-bottom: 12px;
}
.footer-links a {
color: #cccccc;
font-size: 14px;
text-decoration: none;
transition: color 0.3s ease;
display: inline-block;
}
.footer-links a:hover {
color: #d4a574;
transform: translateX(4px);
}
/* 联系信息 */
.footer-contact {
width: 100%;
}
.contact-item {
display: flex;
align-items: flex-start;
gap: 8px;
color: #cccccc;
font-size: 14px;
}
.contact-icon {
color: #d4a574;
font-size: 16px;
margin-top: 2px;
}
.contact-item .ant-typography {
color: #cccccc;
font-size: 14px;
line-height: 1.6;
}
/* 分割线 */
.footer-divider {
border-top-color: rgba(255, 255, 255, 0.1);
margin: 0;
}
/* 底部版权区 */
.footer-bottom {
padding: 24px 0;
background-color: rgba(0, 0, 0, 0.2);
}
.footer-copyright {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 16px;
}
.copyright-text {
color: #999999 !important;
font-size: 13px;
}
.footer-legal {
display: flex;
gap: 16px;
}
.footer-legal a {
color: #999999;
font-size: 13px;
text-decoration: none;
transition: color 0.3s ease;
}
.footer-legal a:hover {
color: #d4a574;
}
.footer-legal .ant-divider-vertical {
border-left-color: rgba(255, 255, 255, 0.2);
}
/* 响应式设计 */
@media (max-width: 992px) {
.footer-container {
padding: 0 24px;
}
.footer-main {
padding: 48px 0 32px;
}
.footer-copyright {
flex-direction: column;
align-items: flex-start;
text-align: left;
}
}
@media (max-width: 576px) {
.footer-container {
padding: 0 16px;
}
.footer-main {
padding: 40px 0 24px;
}
.footer-title {
font-size: 15px !important;
margin-bottom: 16px !important;
}
.footer-description {
font-size: 12px;
}
.footer-links a,
.contact-item .ant-typography {
font-size: 13px;
}
.footer-bottom {
padding: 20px 0;
}
.copyright-text,
.footer-legal a {
font-size: 12px;
}
}