yintai-company-home/src/components/layout/ParagraphSection/index.module.css

84 lines
1.6 KiB
CSS

.paragraphSection {
padding: 6.25rem 14vw;
padding: 6.25rem 0;
background: rgba(255, 255, 255, 0.8);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.paragraphSectionContent {
white-space: pre-line;
font-family: Source Han Sans, Source Han Sans;
font-weight: 400;
font-size: 18px;
color: #222222;
line-height: 36px;
.paragraphSectionTitle {
font-weight: bold;
font-size: 2.5rem;
color: #14355C;
line-height: 3.125rem;
text-align: left;
font-style: normal;
text-transform: none;
}
}
.tags {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 2.5rem;
margin-top: 6.25rem;
.tag {
font-family: Source Han Sans, Source Han Sans;
font-weight: 500;
font-size: 1.5rem;
color: #14355C;
line-height: 1.875rem;
padding: 1.5rem 2.5rem;
background: #F0F2F4;
border-radius: 20.375rem 20.375rem 20.375rem 20.375rem;
}
}
@media (max-width: 48rem) {
.paragraphSection {
padding: 4rem 4rem;
}
.tags {
gap: 1.25rem;
margin-top: 3rem;
}
.tags .tag {
padding: 1rem 1.5rem;
font-size: 1.25rem;
}
}
@media (max-width: 30rem) {
.paragraphSection {
padding: 3rem 1.25rem;
}
.paragraphSectionContent .paragraphSectionTitle {
font-size: 1.75rem;
line-height: 2.25rem;
}
.tags {
gap: 0.75rem;
margin-top: 2rem;
}
.tags .tag {
padding: 0.75rem 1.25rem;
font-size: 1rem;
}
}