westdc-zf1/htdocs/static-sanji/css/new-list.css

60 lines
1.1 KiB
CSS
Raw Permalink Normal View History

2018-02-04 07:05:06 +00:00
*{
margin: 0;padding: 0;
}
.body-warp{
border-top: 1px solid #eee;
border-bottom: 1px solid #eee;
}
.body-warp .nav{
width: 100%;
background: #f4f4f4;
height: 56px;
}
.nav ul{
width: 775px;
height: 100%;
margin: auto;
}
.nav ul li{
float: left;
margin: 0 30px;
height: 100%;
line-height: 56px;
font-size: 14px;
list-style: none;
}
.nav ul li a{
color: #a8a8a8;
text-decoration: none;
}
.nav ul li:hover a{
display: inline-block;
width: 100%;
height: 56px;
border-bottom: 2px solid #7e7e7e;
color: #7e7e7e;
}
.body-warp .list-warp{
margin: 25px auto;
margin-bottom: 10px;
border-bottom: 1px dashed #eee;
}
.body-warp .list-warp li{
height: 30px;
line-height: 30px;
font-size: 16px;
font-weight: lighter;
list-style: none;
}
.body-warp .list-warp li a{
color: #222;
display: inline-block;
width: 80%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
text-decoration: none;
}
.body-warp .list-warp li span{
float: right;
}