144 lines
2.7 KiB
CSS
144 lines
2.7 KiB
CSS
.yuedong_contact_faq_main {
|
|
padding: 2.65625rem 0 4.0625rem;
|
|
background-color: #ffffff;
|
|
}
|
|
|
|
.yuedong_contact_faq-title {
|
|
color: #000;
|
|
font-size: var(--font-size-40);
|
|
font-weight: 700;
|
|
line-height: 1.5;
|
|
text-transform: uppercase;
|
|
text-align: center;
|
|
margin-bottom: 1.8125rem;
|
|
}
|
|
|
|
.yuedong_contact_faq_list {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
grid-auto-rows: 1fr;
|
|
gap: 1.25rem;
|
|
}
|
|
|
|
.yuedong_contact_faq_item {
|
|
background-color: #FAFAFA;
|
|
transition: background-color 0.3s ease;
|
|
padding: 60px 35px 40px 39px;
|
|
}
|
|
|
|
.yuedong_contact_faq_question,
|
|
.yuedong_contact_faq_answer {
|
|
display: flex;
|
|
gap: .625rem;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.yuedong_contact_faq_question {
|
|
margin-bottom: .84375rem;
|
|
}
|
|
|
|
.yuedong_contact_faq_item .faq_label {
|
|
display: flex;
|
|
font-size: 18px;
|
|
line-height: 1.5;
|
|
width: 34px;
|
|
height: 34px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-width: 1.5px;
|
|
border-style: solid;
|
|
flex-shrink: 0;
|
|
font-weight: 500;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.yuedong_contact_faq_item .faq_text {
|
|
display: block;
|
|
color: #000;
|
|
font-size: 18px;
|
|
line-height: 1.5;
|
|
padding-top: 4px;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.yuedong_contact_faq_question .faq_label {
|
|
border-color: #000;
|
|
color: #000;
|
|
}
|
|
|
|
.yuedong_contact_faq_question .faq_text {
|
|
font-weight: 500;
|
|
}
|
|
|
|
.yuedong_contact_faq_answer .faq_label {
|
|
border-color: var(--color-primary);
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.yuedong_contact_faq_answer .faq_text {
|
|
font-weight: 400;
|
|
}
|
|
|
|
.yuedong_contact_faq_item:hover {
|
|
background-color: var(--color-primary);
|
|
}
|
|
|
|
.yuedong_contact_faq_item:hover .yuedong_contact_faq_question .faq_label {
|
|
border-color: #fff;
|
|
color: #fff;
|
|
}
|
|
|
|
.yuedong_contact_faq_item:hover .yuedong_contact_faq_answer .faq_label {
|
|
border-color: #fff;
|
|
background-color: #fff;
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.yuedong_contact_faq_item:hover .faq_text {
|
|
color: #fff;
|
|
}
|
|
|
|
@media screen and (max-width: 1500px) {
|
|
.yuedong_contact_faq_list {
|
|
grid-auto-rows: auto;
|
|
}
|
|
|
|
.yuedong_contact_faq_item {
|
|
padding: 1.5rem 1rem 1rem 1rem;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 1200px){
|
|
.yuedong_contact_faq_item .faq_label {
|
|
font-size: 16px;
|
|
width: 30px;
|
|
height: 30px;
|
|
border-width: 1.5px;
|
|
}
|
|
|
|
.yuedong_contact_faq_item .faq_text {
|
|
font-size: 16px;
|
|
padding-top: 3px;
|
|
}
|
|
}
|
|
|
|
|
|
@media screen and (max-width: 991px) {
|
|
.yuedong_contact_faq_list {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 768px) {
|
|
.yuedong_contact_faq_item .faq_label {
|
|
font-size: 14px;
|
|
width: 25px;
|
|
height: 25px;
|
|
border-width: 1.5px;
|
|
}
|
|
|
|
.yuedong_contact_faq_item .faq_text {
|
|
font-size: 14px;
|
|
padding-top: 2px;
|
|
}
|
|
} |