优化样式

This commit is contained in:
TOP糯米 2023-10-13 10:54:54 +08:00
parent 66534bd587
commit 4867233e18
4 changed files with 9 additions and 16 deletions

View File

@ -1,5 +1,7 @@
<style>
.banner-text{color: #000000;}
.banner-text{color: #FFFFFF;}
.banner-text p:nth-child(1){font-size: 0.32rem;line-height: 0.32rem;}
.banner-text p:nth-child(2){font-size: 0.3rem;line-height: 0.3rem;}
.header.style1 .menu .link{color: #FFFFFF;}
.header.style2 .menu .link{color: #666666;}
.header.style1 .logo .link{background-image: url('images/logo.png');}

View File

@ -161,15 +161,11 @@
}
.banner-text {
text-align: center;
font-size: 0.32rem;
line-height: 0.32rem;
}
.banner-text p:nth-child(1) {
font-size: 0.38rem;
margin-bottom: 0.25rem;
line-height: 0.38rem;
}
.banner-text p:nth-child(2) {
font-size: 0.3rem;
line-height: 0.3rem;
}
.section .section-title {
text-align: center;

View File

@ -212,16 +212,11 @@
.banner-text {
text-align: center;
font-size: 0.32rem;
line-height: 0.32rem;
p:nth-child(1) {
font-size: 0.38rem;
margin-bottom: 0.25rem;
line-height: 0.38rem;
}
p:nth-child(2) {
font-size: 0.3rem;
line-height: 0.3rem;
}
}

View File

@ -40,7 +40,7 @@
<div class="swiper-slide">
<a class="item" style="background-image: url('images/banner.png');" href="">
<div class="banner-text">
<p>您的现金流安全 <span class="cname">左心房</span>来守护</p>
<p>您的现金流安全 <span style="color: #FF0000;">左心房</span>来守护</p>
<p>YOUR CASH FLOW LEFT ATRIUM TO GUARD</p>
</div>
</a>
@ -48,7 +48,7 @@
<div class="swiper-slide">
<a class="item" style="background-image: url('images/banner.png');" href="">
<div class="banner-text">
<p>您的现金流安全 <span class="cname">左心房</span>来守护</p>
<p>您的现金流安全 <span style="color: #FF0000;">左心房</span>来守护</p>
<p>YOUR CASH FLOW LEFT ATRIUM TO GUARD</p>
</div>
</a>