/*css重置*/
html,body
{ margin:0; padding:0;
}
div { box-sizing:border-box;
}/*边框和padding计算在宽度内*/
img{ display:block;}/*清理空隙*/
h1{ margin:0; font-size:1em; font-weight:normal;}
p{ margin:0;}
a { text-decoration:none; color:black;
}
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0;
margin: 0;
}
html,body {
font-size: 12px;
color: #333;
overflow-x: hidden;
font-family: "Microsoft YaHei",微软雅黑, sans-serif;
background:url(../images/bg.png) no-repeat center center;
background-size:100% 100%;
text-align:center;
height:100%;
}
ul, li, ol, dl, dt, dd, p, h1, h2, h3, h4, h5, h6, header, footer {
list-style: none;
padding: 0;
margin: 0;
display: block;
}
input, textarea, select {
outline: none;
font-family: "Microsoft YaHei",微软雅黑, sans-serif;
}
::-webkit-input-placeholder {
color: #bdbdbd;
}
::-moz-placeholder {
color: #bdbdbd;
}
:-ms-input-placeholder {
color: #bdbdbd;
}
a {
text-decoration: none;
color: #333;
transition: color 0.56s ease;
}
a:hover {
color: #00318b;
}
.clearfix:after {
content: "";
height: 0;
line-height: 0;
display: block;
visibility: hidden;
clear: both
}
.clearfix {
zoom: 1;
}
.clear {
clear: both
}
.overflow {
overflow-y: hidden;
}
.fl {
float: left;
}
.fr {
float: right;
}
/* 水平镜像翻转 */
.mirrorRotateLevel img {
transition: all .4s;
-webkit-transition: all .4s;
}
.mirrorRotateLevel:hover img {
-moz-transform: scaleX(-1);
-webkit-transform: scaleX(-1);
-o-transform: scaleX(-1);
transform: scaleX(-1); /*兼容IE*/
filter: FlipH;
}
/*图片放大*/
.imgZoom img {
transition: all .4s;
-webkit-transition: all .4s;
}
.imgZoom:hover img {
transform: scale(1.1, 1.1);
-webkit-transform: scale(1.1, 1.1);
}
/*图片旋转*/
.imgRotate img {
-webkit-transition: -webkit-transform 2s ease-out;
-moz-transition: -moz-transform 2s ease-out;
-o-transition: -o-transform 2s ease-out;
-ms-transition: -ms-transform 2s ease-out;
}
.imgRotate img:hover {
-webkit-transform: rotateZ(360deg);
-moz-transform: rotateZ(360deg);
-o-transform: rotateZ(360deg);
-ms-transform: rotateZ(360deg);
transform: rotateZ(360deg);
}
/*按钮鼠标经过变暗*/
.wlp-button:hover {
filter: alpha(opacity=90);
background-image: -webkit-linear-gradient(transparent,rgba(0,0,0,.05) 40%,rgba(0,0,0,.1)) !important;
background-image: linear-gradient(transparent,rgba(0,0,0,.05) 40%,rgba(0,0,0,.1)) !important;
}
/*鼠标经过有阴影*/
.wlp-shadow:hover {
box-shadow: 0 0 20px rgba(0,0,0,0.3) !important;
}
/*鼠标经过上浮并加阴影*/
.wlp-flow-shadow {
-webkit-transition: all .5s;
transition: all .5s;
}
.wlp-flow-shadow:hover {
transform: translate3d(0, -5px, 0);
-webkit-transform: translate3d(0, -8px, 0);
-webkit-box-shadow: 0 0px 10px #e9e9e9;
box-shadow: 0 0px 10px #e9e9e9;
}
/*图片经过遮罩*/
.wlp-filter:hover img {
filter: alpha(opacity=70);
-moz-opacity: 0.7;
-webkit-opacity: 0.7;
opacity: 0.7;
}
.img {
display: inline-block;
vertical-align: middle;
max-width: 100%;
max-height: 100%;
height: auto;
border: none;
}
/*搜索框*/
.search {
width:28%;
height: 100px;
background:rgba(255,255,255,0.4);
float:left;
}
.search_box { display:block;height:25px; border-bottom:solid 1px #ddd;display: flex;
}
.search_lable {float:left; height:25px; line-height:25px; width:130px; font-size:16px; color:black;
}
.search_input { width:100%; display:block;height:25px; line-height:25px; font-size:16px; background:transparent; border:none;color:black;
}
/*PC六列*/
.wrap {
width: 1280px;
margin: 0 auto;
position:relative; text-align:center;
}
.wrap .topbox {
width:1280px;
height: 145px;
position:fixed;
top:0;
left:50%;
margin-left:-640px; display:block;
}
.wrap .topbox .logo {
width:300px;
height: 84px;
background: url(../images/EBook_logo.png) no-repeat center center;
float:left;
}
.wrap .topbox .page_box { float:right; display:table;
height: 60px;
}
.wrap .topbox .page_box .PreviousPage {
border: none;
width: 180px;
height: 100px;
background: url(../images/first.png) no-repeat bottom center;
display:table-cell;
}
.wrap .topbox .page_box .page {
border: none;
width: 80px;
height: 60px;
padding-top:36px;
background: url(../images/Page.png) no-repeat center 36px ;
line-height:60px; color:#ffffff; font-size:40px;font-weight:bold; text-align:center;
display:table-cell;
}
.wrap .topbox .page_box .NextPage { border:none;
width: 180px;
height: 100px;
background: url(../images/last.png) no-repeat bottom center;
display:table-cell;
}
.top_block { display:block; height:145px; clear:both;
background: url(../images/list_roof.png) no-repeat center bottom;
}
.wrap ul {
width:100%; margin:0 auto;
overflow: hidden;
background: url(../images/list_li.png) center top; text-align:center;
}
.wrap ul li {
width: 16%;
display:inline-block;
text-align: center;
height: 200px;margin-top:20px;
}
.wrap ul li img { width:140px; height:170px; margin:0 auto; display:block;
box-shadow: 0 0 20px rgba(0,0,0,0.3) !important;
}
.wrap ul li span {
color:#ffffff;
width: 140px;
height: 16px;
line-height: 16px;
margin: 0 auto;
display: block;
overflow: hidden;
background: rgba(0,0,0,0.4);
text-align:center; text-overflow:ellipsis; word-wrap:break-word; white-space:nowrap; margin-top:10px;
}
@media screen and (max-width:1280px) {
.wrap {
width: 1000px;
}
.wrap .topbox {
width:1000px;
margin-left:-500px;
}
.wrap .topbox .logo {
width:200px;
height:56px;
background: url(../images/EBook_logo.png) no-repeat center center;background-size:100% 100%;
float:left;
}
.wrap .topbox .page_box {float:right; display:table;
height: 60px;
}
.wrap .topbox .page_box .PreviousPage {
border: none;
width: 120px;
height: 66px;
background: url(../images/PreviousPage.png) no-repeat bottom center;background-size:120px 66px;
display:table-cell;
}
.wrap .topbox .page_box .page {
border: none;
width: 53px;
height: 40px;
padding-top:24px;
background: url(../images/Page.png) no-repeat center 24px ;
background-size:53px 40px;
line-height:40px; color:#ffffff; font-size:30px;font-weight:bold; text-align:center;
display:table-cell;
}
.wrap .topbox .page_box .NextPage { border:none;
width: 120px;
height: 66px;
background: url(../images/NextPage.png) no-repeat bottom center;background-size:120px 66px;
display:table-cell;
}
.top_block { display:block; height:105px; clear:both;
background: url(../images/list_roof1000.png) no-repeat center bottom;
}
.top_block_photo { height:145px;
}
.wrap ul {
background: url(../images/list_li1000.png) center top;
}
.wrap ul li img { width:140px; height:170px; margin:0 auto; display:block;
box-shadow: 0 0 20px rgba(0,0,0,0.3) !important;
}
}
/*媒体PAD大小四列*/
@media screen and (max-width:1000px) {
.wrap {
width: 800px;
}
.wrap .topbox {
width:800px;
margin-left:-400px;
}
.top_block {
background: url(../images/list_roof800.png) no-repeat center bottom;
}
.wrap ul {
background: url(../images/list_li800.png) center top;
}
.wrap ul li {
width: 24%;
}
.wrap ul li img { width:140px; height:170px; margin:0 auto; display:block;
box-shadow: 0 0 20px rgba(0,0,0,0.3) !important;
}
}
@media screen and (max-width:800px) {
.wrap {
width: 600px;
}
.search {
width:100%;
}
.wrap .topbox {
width:600px;
margin-left:-300px;
}
.wrap .topbox .logo {
display:none;
}
.wrap .topbox .page_box {float:none; display:table;
height: 60px; width:100%;
}
.top_block { height:105px;
background: url(../images/list_roof600.png) no-repeat center bottom;
}
.top_block_photo { height:200px;
}
.wrap ul {
background: url(../images/list_li600.png) center top;
}
.wrap ul li {
width: 32%;
}
}
/*媒体手机大小三列*/
@media screen and (max-width:600px) {
.wrap { width:100%;
}
.wrap .topbox {
width:90%;
height: 60px;
left:5%;
margin-left:0;
}
.wrap .topbox .logo {
display:none;
}
.wrap .topbox .page_box {float:none; display:table;
height: 40px;
}
.wrap .topbox .page_box .PreviousPage {
border: none;
width: 60px;
height: 33px;
background: url(../images/PreviousPage.png) no-repeat bottom center;background-size:60px 33px;
display:table-cell;
}
.wrap .topbox .page_box .page {
border: none;
width: 30px;
height:23px;
padding-top:18px;
background: url(../images/Page.png) no-repeat center 18px ;
background-size:30px 23px;
line-height:23px; color:#ffffff; font-size:16px;font-weight:bold; text-align:center;
display:table-cell;
}
.wrap .topbox .page_box .NextPage { border:none;
width: 60px;
height: 33px;
background: url(../images/NextPage.png) no-repeat bottom center;background-size:60px 33px;
display:table-cell;
}
.top_block {width:90%; margin:0 auto; display:block; height:80px; clear:both;
background: url(../images/list_roof.png) no-repeat center bottom;
background-size:100% 31px;
}
.top_block_photo { height:180px;
}
.wrap ul {
width:90%; margin:0 auto;
overflow: hidden;
background: url(../images/list_li_phone.png) center top; text-align:center;
background-size:100% 170px;
}
.wrap ul li {
width: 32%;
display:inline-block;
text-align: center;
height: 150px;margin-top:20px;
}
.wrap ul li img { width:100px; height:120px; margin:0 auto; display:block;
box-shadow: 0 0 20px rgba(0,0,0,0.3) !important;
}
.wrap ul li span {
color:#ffffff;
width: 100px;
height: 16px;
line-height: 16px;
margin: 0 auto;
display: block;
overflow: hidden;
background: rgba(0,0,0,0.4);
text-align:center; text-overflow:ellipsis; word-wrap:break-word; white-space:nowrap; margin-top:10px;
}
}