yintai-company-home/src/layouts/Footer.module.css

201 lines
2.8 KiB
CSS

.footer {
background: #F6F6F6;
color: #333;
}
.footerUpper {
padding: 3.75rem;
}
.footerGrid {
display: grid;
grid-template-columns: repeat(7, 1fr) auto;
gap: 1.5rem;
align-items: start;
}
.footerColumn {
display: flex;
flex-direction: column;
gap: .75rem;
}
.footerTitle {
font-size: .875rem;
font-weight: 600;
color: #222;
margin-bottom: .25rem;
font-family: Source Han Sans, Source Han Sans;
font-size: 16px;
color: #222222;
line-height: 22px;
}
.footerLink {
font-size: .8125rem;
color: #666;
text-decoration: none;
font-family: Source Han Sans, Source Han Sans;
font-weight: 400;
font-size: 14px;
color: #666666;
line-height: 20px;
}
.footerLink:hover {
color: #0f192d;
}
.footerRight {
display: flex;
flex-direction: row;
align-items: center;
gap: 2.5rem;
position: absolute;
right: 3.75rem;
}
.footerLogo {
font-size: 1.25rem;
font-weight: 600;
color: #999;
}
.socialIcons {
display: flex;
gap: .75rem;
}
.socialIcon {
width: 1.75rem;
height: 1.75rem;
border-radius: 50%;
background: #ddd;
display: flex;
align-items: center;
justify-content: center;
color: #666;
text-decoration: none;
font-size: .75rem;
}
.footerLower {
background: #031229;
color: #fff;
height: 3.75rem;
display: flex;
align-items: center;
justify-content: center;
}
.footerLowerInner {
display: flex;
align-items: center;
justify-content: space-between;
font-size: .875rem;
}
.footerLowerCopyright {
display: flex;
flex-direction: row;
gap: 3.125rem;
}
.footerLowerLinks {
display: flex;
gap: 1.25rem;
}
.footerLowerLink {
color: rgba(255, 255, 255, 0.9);
text-decoration: none;
}
.footerLowerLink:hover {
color: #fff;
}
@media (max-width: 64rem) {
.footerUpper {
padding: 2rem;
}
.footerGrid {
grid-template-columns: repeat(4, 1fr);
gap: 1.25rem;
}
.footerRight {
right: 2rem;
}
}
@media (max-width: 48rem) {
.footerUpper {
padding: 1.5rem;
}
.footerGrid {
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
}
.footerRight {
position: static;
margin-top: 1rem;
}
.footerLower {
height: auto;
padding: 1rem;
}
.footerLowerInner {
flex-direction: column;
gap: .5rem;
}
.footerLowerCopyright {
flex-direction: column !important;
gap: 0.25rem !important;
text-align: center;
font-size: 0.75rem;
}
.footerLowerLinks {
flex-wrap: wrap;
justify-content: center;
gap: 0.75rem;
}
}
@media (max-width: 30rem) {
.footerUpper {
padding: 1rem;
}
.footerGrid {
grid-template-columns: 1fr;
gap: 0.75rem;
}
.footerTitle {
font-size: 0.8125rem;
}
.footerLink {
font-size: 0.75rem;
}
.footerLower {
padding: 0.75rem;
}
.footerLowerInner {
font-size: 0.75rem;
}
}