File: /www/wwwroot/www.ycfawu.com/wp-content/themes/twentytwentythree/assets/css/common.css
#nc_icon {
display: none;
}
header .w_1200 {
display: flex;
padding: 10px 0 5px;
align-items: center;
justify-content: space-between;
}
header .w_1200 > ul {
flex: 1;
display: flex;
padding-left: 80px;
align-items: center;
}
header .w_1200 > ul > li {
margin-right: 40px;
position: relative;
font-size: 16px;
}
header .w_1200 > ul > li a {
color: inherit;
text-decoration: none;
}
header .w_1200 > ul > li > ul {
display: none;
position: absolute;
z-index: 99;
background-color: #fff;
line-height: 2;
padding: 10px;
left: 50%;
width: 140px;
transform: translateX(-50%);
}
header .w_1200 > ul > li:hover ul {
display: block;
}
.wap {
position: relative;
}
.wap .nav {
-webkit-transition: all .3s ease;
transition: all .3s ease;
transform: translateY(-100%);
padding: 3rem 1rem 1rem;
font-size: 1.2rem;
line-height: 2;
background-color: #fff;
position: absolute;
top: 0;
left: 0;
right: 0;
}
.wap.open .nav {
transform: translateY(0);
}
.wap .nav li {
color: #666;
border-bottom: 1px solid #ccc;
}
.wap .nav li a {
color: initial;
text-decoration: none;
}
.wap .menu {
width: 2.345rem;
height: 2.345rem;
position: absolute;
top: 0.3rem;
right: 0.9rem;
z-index: 9;
}
.wap .btn,
.wap .btn:before,
.wap .btn:after {
width: 2.345rem;
height: 0.345rem;
background: #555;
-webkit-transition: all .3s ease;
transition: all .3s ease;
}
.wap .btn {
margin: 0 auto;
position: relative;
top: 1.4rem;
}
.wap .btn:before,
.wap .btn:after {
content: '';
position: absolute;
}
.wap .btn:before {
top: -0.7rem;
}
.wap .btn:after {
top: 0.7rem;
}
.wap.open .menu .btn {
background: transparent;
}
.wap.open .menu .btn:before {
-webkit-transform: translateY(0.65rem) rotate(45deg);
-ms-transform: translateY(0.65rem) rotate(45deg);
transform: translateY(0.65rem) rotate(45deg);
}
.wap.open .menu .btn:after {
-webkit-transform: translateY(-0.65rem) rotate(-45deg);
-ms-transform: translateY(-0.65rem) rotate(-45deg);
transform: translateY(-0.65rem) rotate(-45deg);
}
footer {
background-color: #26334d;
}
footer .copy {
color: #b8c7e5;
line-height: 3;
font-size: 14px;
text-align: center;
border-top: 1px solid #fff;
}
footer ul.top {
color: #fff;
display: flex;
padding: 10px 0;
transform: translateY(-50%);
text-align: center;
background-color: #3672b3;
}
footer ul.top li {
width: 20%;
border-right: 1px solid #fff;
}
footer ul.top li:last-of-type {
border-right: none;
}
footer .nav {
flex: 1; border-left: 1px solid #fff; padding: 0 70px; display: flex; align-items: flex-start; justify-content: space-between;
}
footer .nav h5 {
font-size: 16px; margin-bottom: 30px; color: #fff;
}
footer .nav ul {
line-height: 2; color: #b8c7e5; font-size: 14px;
}
footer .nav ul a {
color: inherit;
text-decoration: none;
}
ul.slide {
position: fixed; top: 50%; right: 10px; transform: translateY(-50%); z-index: 99;
}
ul.slide li {
width: 70px;
color: #666;
font-size: 14px;
cursor: pointer;
padding: 60px 0 10px;
text-align: center;
margin-bottom: 4px;
background-color: #fff;
box-shadow: 0 0 8px 1px rgba(0,0,0,0.2);
background-image: url(https://www.ycfawu.com/wp-content/themes/twentytwentythree/assets/images/index/side_icon.png);
position: relative;
}
ul.slide li:nth-child(1) {
background-position: 140px 0;
}
ul.slide li:nth-child(2) {
background-position: 0 0;
}
ul.slide li:nth-child(3) {
background-position: 70px 0;
}
ul.slide li:hover {
color: #fff;
background-color: #23468c;
box-shadow: 0 0 8px 1px rgba(0,0,0,0.4);
background-image: url(https://www.ycfawu.com/wp-content/themes/twentytwentythree/assets/images/index/side_icon_hover.png);
}
ul.slide li:hover .box {
right: 90px;
opacity: 1;
}
ul.slide .box {
background-color: #fff;
box-shadow: 0 0 8px 1px rgba(0,0,0,0.4);
transform: translateY(-50%);
transition: all 0.8s;
position: absolute;
z-index: -1;
top: 50%;
right: -90px;
opacity: 0;
}
ul.slide .box:after {
content: '';
display: block;
width: 15px;
height: 15px;
background-color: #fff;
position: absolute;
transform: rotateZ(45deg) translateY(-60%);
top: 50%;
right: 0px;
z-index: -1;
}
ul.slide .box img {
display: block;
}