first commit
This commit is contained in:
289
css/display.css
Normal file
289
css/display.css
Normal file
@@ -0,0 +1,289 @@
|
||||
@charset "utf-8";
|
||||
|
||||
/* CSS Document */
|
||||
body {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
background: url(../images/bg2.jpg)no-repeat center;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.line-country {
|
||||
width: 1200px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
|
||||
#carousel {
|
||||
position: relative;
|
||||
width: 1200px;
|
||||
margin: 0 auto font-family: SourceHanSerifCN-Bold;
|
||||
}
|
||||
|
||||
#carousel .swiper {
|
||||
padding-top: 20px;
|
||||
padding-bottom: 40px;
|
||||
}
|
||||
|
||||
#carousel .swiper-slide {
|
||||
width: 300px;
|
||||
height: 220px;
|
||||
background: #fff;
|
||||
box-shadow: 0 8px 20px #ddd;
|
||||
|
||||
}
|
||||
|
||||
#carousel .swiper-slide img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 170px;
|
||||
}
|
||||
|
||||
#carousel .swiper-slide p {
|
||||
line-height: 58px;
|
||||
padding-top: 0;
|
||||
text-align: center;
|
||||
color: #636363;
|
||||
font-size: 0.8em;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#carousel .swiper-pagination {
|
||||
width: 100%;
|
||||
bottom: 20px;
|
||||
}
|
||||
|
||||
#carousel .swiper-pagination-bullets .swiper-pagination-bullet {
|
||||
margin: 0 5px;
|
||||
background-color: #e8f5ff;
|
||||
width: 20px;
|
||||
height: 10px;
|
||||
opacity: 1;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
#carousel .swiper-pagination-bullets .swiper-pagination-bullet-active {
|
||||
background-color: #861c1c;
|
||||
width: 35px;
|
||||
}
|
||||
|
||||
#carousel .swiper-button-prev {
|
||||
left: -30px;
|
||||
width: 45px;
|
||||
height: 45px;
|
||||
background: url(../images/wm_button_icon.png) no-repeat;
|
||||
background-position: 0 0;
|
||||
background-size: 100%;
|
||||
}
|
||||
|
||||
#carousel .swiper-button-prev:hover {
|
||||
background-position: 0 -46px;
|
||||
background-size: 100%
|
||||
}
|
||||
|
||||
#carousel .swiper-button-next {
|
||||
right: -30px;
|
||||
width: 45px;
|
||||
height: 45px;
|
||||
background: url(../images/wm_button_icon.png) no-repeat;
|
||||
background-position: 0 -93px;
|
||||
background-size: 100%;
|
||||
}
|
||||
|
||||
#carousel .swiper-button-next:hover {
|
||||
background-position: 0 -139px;
|
||||
background-size: 100%
|
||||
}
|
||||
|
||||
#carousel .swiper-button-prev::after,
|
||||
#carousel .swiper-button-next::after {
|
||||
content: '';
|
||||
}
|
||||
|
||||
|
||||
|
||||
.home {
|
||||
padding: 100px 0;
|
||||
}
|
||||
|
||||
.tit1 {
|
||||
padding: 50px 0 30px 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.tit1 .t {
|
||||
font-size: 30px;
|
||||
line-height: 1;
|
||||
color: white
|
||||
}
|
||||
|
||||
.tit1 .line {
|
||||
display: inline-block;
|
||||
width: 60px;
|
||||
height: 3px;
|
||||
background-color: #861c1c;
|
||||
}
|
||||
|
||||
.line-country .jump-list {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.jump-list li a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.jump-list li a:hover {
|
||||
color: #861c1c;
|
||||
}
|
||||
|
||||
.jump-list li a:focus{
|
||||
color: #861c1c;
|
||||
}
|
||||
|
||||
.home .w {
|
||||
width: 1400px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.index-block4 ul {
|
||||
padding-bottom: 70%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.index-block4 ul li {
|
||||
position: relative;
|
||||
color: #fff;
|
||||
padding-bottom: 100%;
|
||||
height: 0;
|
||||
margin-bottom: 20px;
|
||||
font-size: 22px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.index-block4 ul li .t {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.index-block4 ul li img {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.index-block4 ul li:hover i {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.index-block4 ul li img {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.index-block4 ul li i {
|
||||
opacity: 0.2;
|
||||
position: absolute;
|
||||
width: 300%;
|
||||
height: 300%;
|
||||
left: -150%;
|
||||
top: -150%;
|
||||
background-image: radial-gradient(closest-side, rgba(0, 0, 0, 0), rgb(0, 0, 0) 80%);
|
||||
pointer-events: none;
|
||||
transition: opacity 0.6s, transform 0.1s ease;
|
||||
}
|
||||
|
||||
.index-block4 ul li .t {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
font-weight: 800;
|
||||
transform: translateX(-50%) translateY(-50%);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
vertical-align: middle;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.slideInUp {
|
||||
animation-name: slideInUp;
|
||||
}
|
||||
|
||||
.tit1 {
|
||||
padding: 50px 0 30px 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.index-block4 ul {
|
||||
padding-bottom: 70%;
|
||||
}
|
||||
|
||||
.index-block4 ul li {
|
||||
position: absolute;
|
||||
width: 25%;
|
||||
padding-bottom: 25%;
|
||||
margin-bottom: 0;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.index-block4 ul li img {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.index-block4 ul li:nth-child(1) {
|
||||
left: 5%;
|
||||
top: 3%;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.index-block4 ul li:nth-child(2) {
|
||||
left: 30%;
|
||||
top: 3%;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.index-block4 ul li:nth-child(3) {
|
||||
left: 30%;
|
||||
top: 38.7%;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.index-block4 ul li:nth-child(4) {
|
||||
left: 45%;
|
||||
top: 0;
|
||||
width: 50%;
|
||||
padding-bottom: 50%;
|
||||
}
|
||||
|
||||
.index-block4 ul li:nth-child(5) {
|
||||
left: 12%;
|
||||
top: 60%;
|
||||
}
|
||||
|
||||
.index-block4 ul li:nth-child(6) {
|
||||
left: 71%;
|
||||
top: 60%;
|
||||
z-index: 2;
|
||||
}
|
||||
.pagechange {
|
||||
position: relative;
|
||||
}
|
||||
.pagechange .page {
|
||||
display: none;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user