响应式调整完成

master
Lee 2022-11-02 17:12:14 +08:00
parent 52c2ab3862
commit 6a8f4205e9
14 changed files with 89 additions and 54 deletions

View File

@ -56,7 +56,7 @@
} }
.tr-blue { .tr-blue {
background: #3b52f6; background: #00db6d;
color: white; color: white;
} }

View File

@ -173,11 +173,7 @@
<h2 class="wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0.2s">Our Vision</h2> <h2 class="wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0.2s">Our Vision</h2>
<p class="wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0.2s">{$wish_en}</p> <p class="wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0.2s">{$wish_en}</p>
</div> </div>
<div class="more-btn1">
<a href="/promotion">Learn More</a>
</div>
</section> </section>
<section class="main-4 wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0"> <section class="main-4 wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">
<div class="main-title"> <div class="main-title">
<h2 class="wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0.2s">LightCourse Blog</h2> <h2 class="wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0.2s">LightCourse Blog</h2>

View File

@ -56,7 +56,7 @@
.about-banner .main-center{ .about-banner .main-center{
justify-content: flex-start !important; justify-content: flex-start !important;
max-width: 76rem; max-width: 79.17%;
height: auto !important; height: auto !important;
} }
.about-banner .about-banner-txt h2{ .about-banner .about-banner-txt h2{
@ -122,7 +122,7 @@
} }
.about .main-1 .main-center{ .about .main-1 .main-center{
max-width: 70rem; max-width: 72.92%;
} }
.about .main-1 .container h2 { .about .main-1 .container h2 {
@ -160,7 +160,7 @@
padding-bottom: 0; padding-bottom: 0;
} }
.about .main-4 .main-center { .about .main-4 .main-center {
max-width: 84.5rem; max-width: 88%;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
margin-bottom: 0; margin-bottom: 0;
@ -227,7 +227,7 @@
} }
.about .main-2 .main-center{ .about .main-2 .main-center{
max-width: 64rem; max-width: 66.67%;
} }
.about .main-2 h2{ .about .main-2 h2{

View File

@ -39,39 +39,77 @@
src: url("../fonts/HarmonyOS_Sans_Black.ttf"); src: url("../fonts/HarmonyOS_Sans_Black.ttf");
} }
header #pc-header>div @media screen and (min-width: 1920px) and (max-width: 2560px) { header #pc-header>div @media screen and (min-width: 2880px) and (max-width: 3040px) {
html { html {
font-size: 27px; font-size: 27px;
} }
} }
@media screen and (min-width: 2720px) and (max-width: 2880px) {
html {
font-size: 26px;
}
}
@media screen and (min-width: 2560px) and (max-width: 2720px) {
html {
font-size: 25px;
}
}
@media screen and (min-width: 2400px) and (max-width: 2560px) {
html {
font-size: 24px;
}
}
@media screen and (min-width: 2240px) and (max-width: 2400px) {
html {
font-size: 23px;
}
}
@media screen and (min-width: 2080px) and (max-width: 2240px) {
html {
font-size: 22px;
}
}
@media screen and (min-width: 1440px) and (max-width: 1920px) { @media screen and (min-width: 1920px) and (max-width: 2080px) {
html {
font-size: 21px;
}
}
@media screen and (min-width: 1760px) and (max-width: 1920px) {
html { html {
font-size: 20px; font-size: 20px;
} }
} }
@media screen and (min-width: 1366px) and (max-width:1600px) { @media screen and (min-width: 1680px) and (max-width: 1760px) {
header #pc-header>.main-center { html {
padding: 0 2.5rem 0 2.5rem !important; font-size: 19px;
} }
} }
@media screen and (min-width: 1366px) and (max-width: 1440px) { @media screen and (min-width: 1520px) and (max-width:1680px) {
html { html {
font-size: 18px; font-size: 18px;
} }
header #pc-header>.main-center { header #pc-header>.main-center {
padding: 0 2.5rem 0 2.5rem !important; padding: 0 2.5rem 0 2.5rem !important;
} }
} }
@media screen and (min-width: 1200px) and (max-width: 1366px) { @media screen and (min-width: 1360px) and (max-width:1520px) {
html {
font-size: 17px;
}
header #pc-header>.main-center {
padding: 0 2.5rem 0 2.5rem !important;
}
}
@media screen and (min-width: 1200px) and (max-width: 1360px) {
html { html {
font-size: 16px; font-size: 16px;
} }
header #pc-header>.main-center { header #pc-header>.main-center {
padding: 0 2.5rem 0 2.5rem !important; padding: 0 2.5rem 0 2.5rem !important;
} }
@ -79,9 +117,8 @@ header #pc-header>div @media screen and (min-width: 1920px) and (max-width: 2560
@media screen and (min-width: 768px) and (max-width: 1200px) { @media screen and (min-width: 768px) and (max-width: 1200px) {
html { html {
font-size: 16px; font-size: 14px;
} }
header #pc-header>.main-center { header #pc-header>.main-center {
padding: 0 2.5rem 0 2.5rem !important; padding: 0 2.5rem 0 2.5rem !important;
} }
@ -731,12 +768,12 @@ div[data-sidebar-main="mask"] {
} }
.main-center { .main-center {
max-width: 70rem; max-width: 72.92%;
margin: 0 auto; margin: 0 auto;
} }
.main-center-course{ .main-center-course{
max-width: 60rem; max-width: 62.5%;
} }
.index-banner .main-center { .index-banner .main-center {
@ -3043,7 +3080,7 @@ footer .foot .container .copyright p * {
} }
footer .footer { footer .footer {
background-color: #ffff1b; background-color: #ebebeb;
padding: 4rem 0 1.25rem; padding: 4rem 0 1.25rem;
} }
@ -3053,6 +3090,10 @@ footer .footer>div {
flex-wrap: wrap; flex-wrap: wrap;
} }
footer .footer .main-center{
max-width: 71.875%;
}
footer .footer .left { footer .footer .left {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -3247,13 +3288,6 @@ footer .cookie .container a {
display: none; display: none;
} }
@media screen and (max-width: 1680px){
.main-center{
max-width: 90% !important;
}
}
@media screen and (max-width: 1024px) { @media screen and (max-width: 1024px) {
header #pc-header>div { header #pc-header>div {
max-width: 60rem; max-width: 60rem;
@ -3700,6 +3734,6 @@ footer .cookie .container a {
@media screen and (min-width: 1200px) { @media screen and (min-width: 1200px) {
.main-QA .container { .main-QA .container {
padding: 0.9rem 0; padding: 0.9rem 0;
max-width: 78rem !important; max-width: 81.25% !important;
} }
} }

View File

@ -118,7 +118,7 @@
} }
.contact-container .main-center{ .contact-container .main-center{
max-width: 67.4rem; max-width: 70.21%;
} }
.contact-container .container .item-bg{ .contact-container .container .item-bg{

View File

@ -75,7 +75,7 @@
} }
.coo .main-center{ .coo .main-center{
max-width: 57.7rem; max-width: 60.1%;
} }
.coo .main-4{ .coo .main-4{
padding: 0 0 6.4rem; padding: 0 0 6.4rem;

View File

@ -286,7 +286,7 @@ h4 {
} }
.course-details .main-center-detail01{ .course-details .main-center-detail01{
max-width: 78.7rem; max-width: 81.98%;
} }
.course-details .main-1{ .course-details .main-1{
padding-bottom: 0; padding-bottom: 0;
@ -674,7 +674,7 @@ h4 {
.course-details .main-2 .content1 .des td { .course-details .main-2 .content1 .des td {
height: 2rem; height: 2rem;
line-height: 2rem; line-height: 2rem;
border-color: #3b52f6; border-color: #00db6d;
flex: 1; flex: 1;
text-align: center; text-align: center;
} }
@ -1102,7 +1102,7 @@ h4 {
} }
.main-2-3 .main-center{ .main-2-3 .main-center{
max-width: 83.6rem; max-width: 87.08%;
} }
.course-details .main-QA { .course-details .main-QA {
@ -1219,7 +1219,7 @@ h4 {
} }
.program-details .main-center{ .program-details .main-center{
max-width: 77.5rem; max-width: 80.73%;
} }
.program-details .main-1{ .program-details .main-1{
@ -1340,7 +1340,7 @@ h4 {
} }
.program-details .main-2-2 .main-center, .program-details .main-2-2 .main-center,
.program-details .main-2-4 .main-center{ .program-details .main-2-4 .main-center{
max-width: 87.5rem; max-width: 91.14%;
} }
.program-details .main-2-4 .main-title>p{ .program-details .main-2-4 .main-title>p{
margin: 1.3rem 0 0 !important; margin: 1.3rem 0 0 !important;
@ -1377,7 +1377,7 @@ h4 {
} }
.program-details .main-2-5 .main-center{ .program-details .main-2-5 .main-center{
max-width: 80rem; max-width: 83.33%;
} }
.program-details .main-2-5 *{ .program-details .main-2-5 *{

View File

@ -115,7 +115,7 @@
background-size: 100% auto; background-size: 100% auto;
} }
.credit .main-1 .main-center{ .credit .main-1 .main-center{
max-width: 66.75rem; max-width: 69.53%;
} }
.credit .main-1 .f-img>p{ .credit .main-1 .f-img>p{
@ -246,7 +246,7 @@
} }
.credit .con2 .main-center{ .credit .con2 .main-center{
max-width: 61.4rem; max-width: 63.96%;
} }
.credit .con2 .main-title>span:nth-of-type(2){ .credit .con2 .main-title>span:nth-of-type(2){
@ -277,7 +277,7 @@
} }
.credit .con3 .main-center{ .credit .con3 .main-center{
max-width: 78.8rem; max-width: 80%;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
@ -324,7 +324,7 @@
} }
.credit .con4 .main-center{ .credit .con4 .main-center{
max-width: 78.8rem; max-width: 82.08%;
background-color: #dedede; background-color: #dedede;
padding: 3.2rem 10%; padding: 3.2rem 10%;
text-align: center; text-align: center;

View File

@ -218,7 +218,6 @@
margin-top: 1.2rem; margin-top: 1.2rem;
font-size: 0.75rem; font-size: 0.75rem;
line-height: 1.2; line-height: 1.2;
text-align: justify;
color: #fff; color: #fff;
} }
@ -623,6 +622,10 @@ main .main-1 .container {
flex-wrap: wrap; flex-wrap: wrap;
} }
main .main-1 .main-center{
max-width: 72.92%;
}
main .main-1 .container .item { main .main-1 .container .item {
width: calc(20% - 0.8rem); width: calc(20% - 0.8rem);
height: 17.3rem; height: 17.3rem;
@ -904,6 +907,10 @@ main .main-4{
padding: 6.4rem 0 4.5rem; padding: 6.4rem 0 4.5rem;
} }
main .main-4 .main-center{
max-width: 76.875%;
}
main .main-4 .main-title{ main .main-4 .main-title{
margin-bottom: 3.2rem; margin-bottom: 3.2rem;
} }
@ -980,6 +987,7 @@ main .main-4 .container .item .txt{
text-overflow: ellipsis; text-overflow: ellipsis;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
} }
main .main-4 .container .item:nth-child(even) .txt{ main .main-4 .container .item:nth-child(even) .txt{
padding: 1rem 3rem 1rem 0; padding: 1rem 3rem 1rem 0;
} }
@ -987,7 +995,7 @@ main .main-4 .container .item:nth-child(even) .txt{
main .main-4 .more-btn{ main .main-4 .more-btn{
display: flex; display: flex;
justify-content: flex-end; justify-content: flex-end;
max-width: 70rem; max-width: 76.875%;
height: 1rem; height: 1rem;
margin: -0.2rem auto 0; margin: -0.2rem auto 0;
} }

View File

@ -135,7 +135,7 @@
} }
.main-4 .main-center{ .main-4 .main-center{
max-width: 67.5rem; max-width: 70.31%;
} }
.main-4 .participate-list{ .main-4 .participate-list{
@ -184,7 +184,7 @@
} }
.main-1 .main-center{ .main-1 .main-center{
max-width: 67.5rem; max-width: 70.31%;
background-color: #18d777; background-color: #18d777;
padding: 3.6rem; padding: 3.6rem;
} }

View File

@ -125,7 +125,7 @@
} }
.program-top .main-center{ .program-top .main-center{
max-width: 86.25rem; max-width: 89.9%;
text-align: right; text-align: right;
} }
.program-top>img{ .program-top>img{
@ -181,7 +181,7 @@
} }
.program .main-center{ .program .main-center{
max-width: 86.25rem; max-width: 89.9%;
} }
.program{ .program{
margin-top: -19.2rem; margin-top: -19.2rem;

View File

@ -182,7 +182,7 @@
padding-bottom: 0; padding-bottom: 0;
} }
.see-container .main-1-1 .main-center{ .see-container .main-1-1 .main-center{
max-width: 67.5rem; max-width: 70.31%;
padding: 3rem 0 6rem; padding: 3rem 0 6rem;
} }
@ -306,7 +306,7 @@
} }
.main-4 .main-center{ .main-4 .main-center{
max-width: 67.5rem; max-width: 70.31%;
} }
.main-4 .participate-list{ .main-4 .participate-list{
@ -644,9 +644,6 @@
overflow: hidden; overflow: hidden;
} */ } */
.main-QA .container {
padding: 0 3rem 0 3rem;
}
.main-QA .content .accordion li .submenu { .main-QA .content .accordion li .submenu {
display: none; display: none;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB