twoduty/src/main/resources/static/assets/web/css/index.css
dong_bo0602 adc73ae678 0901
2021-09-01 17:15:28 +08:00

244 lines
9.5 KiB
CSS

.header{width:100%;height:550px;min-width:1200px;position:relative;background:url(../images/header-bg.png) no-repeat center;background-size:100% 100%}
.date{overflow:hidden;width:1200px;margin:0 auto;height:40px;line-height:40px;font-size:12px;color:#333}
.date span{color:#b09158}
.day{float:left;}
.weather{float:right;}
.weather img{margin-left: 10px;width: 20px;height: 20px;vertical-align: middle;margin-top:-3px}
.logo-nav{padding:10px 0;background:rgba(255,255,255,.6)}
.logo-nav-content{width:1200px;margin:0 auto}
.logo-nav-content:after,.nav ul:after{content:'';display:block;clear:both}
.logo-nav .logo{float:left;cursor:pointer}
.nav{float:left;margin-left:140px}
.nav ul{margin-top:10px}
.nav ul li{float:left;border-right:1px solid #bb1511;position:relative}
.nav ul li:last-child{border-right:none}
.nav ul li>a,.nav ul li>span{display:block;padding:0 15px;color:#bb1511;position:relative;cursor: pointer}
.child{display:none;position:absolute;left:0;top:100%;width:100%;padding:10px;background:rgba(255,255,255,.6);box-sizing:border-box}
.nav ul li:hover .child{display:block}
.child span, .child a{display:block;text-align:center;color:#000;font-size:16px;line-height:25px;cursor:pointer;font-weight:400}
.child span:hover,.nav ul li>a:hover{color:#bb1511;font-weight:700}
.news{width:1200px;margin:50px auto 0}
.head-news{text-align:center}
.head-news a{display:block;font-weight:bold;font-size:40px;color:#ce0c0d;height:47px;line-height:47px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:20px}
.head-news h3 img{width:105px;height:47px}
.head-news p{font-size:14px;color:#666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.news-box{margin-top:20px}
.news-box-title{overflow:hidden}
.news-box-title img{float:left}
.title-line{width:900px;height:10px;background:url(../images/news-line-r.png) no-repeat center;background-size:100% 100%;float:left;margin:18px 0 0 25px}
.news-box-title a{float:right;color:#b50100;margin-top:10px}
.news-slide{overflow:hidden;margin-top:30px}
.news-left{width:515px;float:left}
.news-left ul li{padding:15px 0 15px;border-bottom:1px dashed #dcdcdc}
.news-left ul li a{display:block;padding-left:15px;position:relative;font-size:14px;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.news-left ul li a:hover{color:#b50100;}
.news-left ul li a:after{content:'';display:block;width:4px;height:4px;background:#333;border-radius:50%;position:absolute;top:50%;left:0;transform:translate(0,-50%)}
.news-left ul li p{font-size:14px;color:#333;line-height:25px}
.news-left ul li:first-child a{font-size:20px;color:#333;font-weight:700;border-left:4px solid #b09158;padding-left:10px}
.news-left ul li:first-child a:after{display:none}
.news-right{width:540px;float:right;position:relative}
.news-right .bd a{display:block;position:relative}
.news-right .bd a img{width:540px;height:305px}
.news-right .bd a p{position:absolute;left:0;right:0;bottom:0;padding:0 100px 0 10px;background:rgba(0,0,0,.6);line-height:35px;color:#fff}
.news-right .hd{position:absolute;right:0;bottom:12px}
.news-right .hd li{float:left;width:10px;height:10px;border-radius:50%;cursor:pointer;background:#fff;margin-right:5px}
.news-right .hd li.on{background:#015ab8}
.three{overflow:hidden;margin-top:30px}
.three-box{width:32%;float:left;margin-right:2%}
.three-box:last-child{margin-right:0}
.three-box-title{overflow:hidden}
.three-box-title span{display:block;float:left;width:110px;height:28px;text-align:center;line-height:28px;color:#fff;background:#015ab8;font-weight:700;font-size:18px;position:relative;border-radius:4px}
.three-box-title span:after{content:'';display:block;width:200px;height:1px;border-top:1px dashed red;box-sizing:border-box;position:absolute;top:50%;left:120px}
.three-box-title a{line-height:28px;float:right;color:#999}
.three-box-list{margin-top:15px;overflow: hidden}
.three-box-list ul{height:140px;overflow-y: scroll;width:110%;}
.three-box-list ul li a{display:block;line-height:35px;font-size:16px;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative;padding-left:20px}
.three-box-list ul li a:after{content:'';display:block;width:8px;height:8px;background:#d60000;border-radius:50%;position:absolute;left:0;top:50%;transform:translate(0,-50%)}
.three-box-list ul li a:hover{color:#d60000}
.street{margin-top:30px;padding:25px 0 85px;background:url(../images/street-bg.png) no-repeat center;background-size:100% 100%}
.street-content{width:1200px;margin:0 auto}
.street-title{margin-bottom:15px;background:url(../images/news-line-w.png) no-repeat right center;background-size:80% 10px}
.street-list ul{overflow:hidden}
.street-list ul li{float:left;width:23.5%;margin-right:2%;margin-bottom:18px}
.street-list ul li:nth-child(4n){margin-right:0}
.street-list ul li span{color:#fff;font-size:16px}
.street-img-name{position:relative;margin-top:5px}
.street-img-name,.street-img-name img{width:100%;height:180px}
.street-img-name a{display:block;position:relative}
.street-img-name p{position:absolute;left:0;right:0;bottom:0;text-align:center;line-height:30px;color:#fff;font-size:14px;background:rgba(0,0,0,.6)}
.base{padding:50px 0;background:url(../images/base-bg.png) no-repeat center;background-size:100% 100%}
.base-content{width:1200px;margin:0 auto}
.base-title{background:url(../images/news-line-r.png) no-repeat 220px center;background-size:75% 10px}
.base-title a{float:right;font-size:14px;color:#b50100;line-height:40px}
.base-news{margin-top:30px;overflow:hidden}
.base-news-left{width:49.5%;float:left;border:5px solid #a90403;box-sizing:border-box}
.base-news-left a{display:block}
.base-news-left img{height:330px;width:100%}
.base-news-right{width:49.5%;height:340px;float:right;padding:15px;border:1px solid #dcdcdc;background:rgba(247,243,240,.6);box-sizing:border-box}
.base-news-right li{margin-bottom:17px}
.base-news-right li a{display:inline-block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-left:50px;box-sizing:border-box;font-size:14px;color:#333;position:relative;line-height:20px}
.base-news-right li a span{display:block;width:40px;height:20px;background:linear-gradient(-90deg,#fe5126,#db181e);border-radius:3px;text-align:center;line-height:20px;font-size:14px;color:#fff;position:absolute;top:0;left:0}
.base-news-right li a:hover{color:#b50100;font-weight:700}
.base-news-right li a:hover span{color:#fff;font-weight:400}
.bottom-nav{margin-top:80px}
.bottom-nav-title{padding-bottom:15px;border-bottom:2px solid #de0606;color:#333;font-size:18px}
.bottom-nav-list{margin-top:15px}
.bottom-nav-list a{display:inline-block;margin-right:10px;color:#333;font-size:16px}
.bottom-nav-list a:hover{color:#de0606}
.footer{padding:30px 0;text-align:center;min-width:1200px;background:#dcdcdc;color:#999;font-size:14px}
/*-------二级页面--------*/
.child-header{
background: url("../images/child-header.jpg") no-repeat center;
background-size: 100% 100%;
}
.child-header .date{
color: #fff;
}
.page-container{
width: 1200px;
margin: 30px auto;
box-shadow: 0 0 10px #ddd;
padding: 15px;
box-sizing: border-box;
}
.page-container:after{
content: '';
display: block;
clear: both;
}
.page-left{
width: 220px;
padding-right: 25px;
box-sizing: border-box;
float:left;
}
.page-left-title{
padding-bottom: 10px;
border-bottom: 1px solid #ddd;
font-size: 18px;
color: #585858;
}
.page-left-tab{
padding: 0 15px;
margin-top: 10px;
}
.page-left-tab li{
line-height: 30px;
padding-left: 20px;
position: relative;
font-size: 16px;
color: #333;
cursor: pointer;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.page-left-tab li.active{
color: #bb1511;
}
.page-left-tab li:after{
content: '';
display: block;
width: 6px;
height: 6px;
border-radius: 50%;
background: #333;
position: absolute;
top: 50%;
left: 0;
margin-top: -3px;
}
.page-left-tab li.active:after{
background: #bb1511;
}
.page-right{
float:right;
width: 950px;
padding-left: 20px;
border-left: 1px solid #ddd;
box-sizing: border-box;
}
.page-right-title{
padding-bottom: 10px;
border-bottom: 1px solid #ddd;
font-size: 18px;
color: #bb1511;
}
.page-list>ul{
min-height: 500px;
}
.page-list>ul>li{
height: 45px;
line-height: 45px;
font-size: 16px;
}
.page-list>ul>li a{
display: inline-block;
max-width: 75%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: #333;
}
.page-list>ul>li a:hover{
color: #bb1511;
}
.page-list>ul>li span{
float:right;
color: #666;
}
.pager{
width: 100%;
margin: 20px auto;
text-align: center;
font-size: 0;
}
.pager span{
display: inline-block;
padding: 0 15px;
line-height: 25px;
color: #676767;
border: 1px solid #d2d2d2;
font-size: 14px;
margin: 0 5px;
vertical-align: middle;
cursor: pointer;
}
.pager ul{
display: inline-block;
overflow: hidden;
vertical-align: middle;
}
.pager>ul>li{
width: 45px;
line-height: 25px;
float: left;
margin-right: 10px;
border: 1px solid #d2d2d2;
cursor: pointer;
text-align: center;
font-size: 14px;
color: #676767;
}
.pager>ul>li.active{
background: #bb1511;
color: #fff;
border: 1px solid #bb1511;
}
.loading{
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: rgba(255,255,255,0.6);
padding: 30px;
border-radius: 10px;
box-shadow: 0 0 17px #DEDEDE;
}
.page-right-full{
width: 100%;
border: none;
}