Files
2024-09-27 02:06:13 +08:00

262 lines
4.0 KiB
CSS

.clear{
clear: both;
}
.head{
width: 1200px;
overflow: hidden;
margin: 0 auto;
}
.head p{
font-size: 24px;
font-weight: 100;
float: left;
margin-bottom: 6px;
}
.head p span{
font-weight: bold;
font-size: 24px;
}
.head ul{
float: right;
}
.head ul li {
display: inline-block;
}
.head ul li a{
color: #333;
font-size: 12px;
}
.head ul li a:hover{
color: crimson;
text-decoration: underline;
}
.head ul li span{
margin: 7.5px;
color: #ccc;
font-weight: 100;
font-size: 14px;
}
.head ul li i {
font-size: 12px;
font-weight: 100;
}
.content{
width: 1200px;
margin: 0 auto;
overflow: hidden;
}
.content_l{
width: 300px;
float: left;
}
.content_l_up_head{
background: #1d89bf;
padding-left: 20px;
overflow: hidden;
color: #fff;
height: 38px;
line-height: 38px;
}
.content_l_up .one{
float: left;
font-size: 16px;
margin-right: 38px;
}
.content_l_up .two{
font-size: 14px;
float: left;
}
.two li{
float: left;
height: 100%;
width: 55px;
text-align: center;
}
.two li:hover{
background-color: #3495c6;
}
.two .two_active{
background-color: #52a7d9;
}
.content_l_up_all{
background-color:#52a7d9 ;
}
.middle{
overflow: hidden;
padding: 20px 0 10px 20px;
box-sizing: border-box;
}
.middle p{
display: inline-block;
color: #fff;
font-size: 12px;
margin-left: 10px;
margin-bottom: 5px;
}
.middle_l{
float: left;
}
.middle_l li , .middle_r li{
margin-bottom: 8px;
}
.middle li p:nth-child(2):hover{
text-decoration: underline;
}
.middle_top p:nth-child(1){
width: 16px;
height: 16px;
background-color: #fff;
color: #52a7d9;
text-align: center;
line-height: 16px;
}
.middle_r{
float: left;
margin-left: 42px;
}
.content_l_up_all .more{
width: 260px;
height: 22px;
margin: 0 auto;
padding: 15px 0;
font-size: 14px;
color: #fff;
text-align: center;
border-top: 1px dashed #1d89bf;
}
.more i{
font-size: 14px;
font-weight: 100;
}
.content_l_down{
height: 208px;
padding: 25px 0 0 20px;
border: 1px solid #ebebeb;
background-color: #f5f5f5;
}
.content_l_down .title{
height: 26px;
color: #666;
font-size: 16px;
}
.content_l_down .kind{
margin: 5px 0 0;
line-height: 30px;
overflow: hidden;
}
.content_l_down .kind li a{
color: #333;
font-size: 14px;
margin-right: 20px;
float: left;
}
.kind li a:hover{
color: crimson;
text-decoration: underline;
}
/* 右边部分css */
.content_r{
float: left;
width: 900px;
}
.content_r .page{
overflow: hidden;
border-top: 1px solid #ebebeb;
}
.page li{
width: 184px;
height: 195px;
padding: 20px 20px 15px;
border-right: 1px solid #ebebeb;
border-bottom: 1px solid #ebebeb;
float: left;
}
.page li img{
width: 160px;
height: 120px;
margin: 0 calc((100% - 160px)/2);
}
.page li p{
height: 40px;
font-size: 14px;
color: #333;
/* 去除保持单词完整性 */
word-break: break-all;
/* 设置多行超出显示省略号 */
overflow: hidden;
-webkit-line-clamp: 2;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
}
.page li p:nth-child(2):hover{
color: crimson;
text-decoration: underline;
}
.page li p:nth-child(3){
height: 24px;
font-size: 12px;
margin-top: 5px;
line-height: 24px;
color: #999;
}
.page li p span{
font-size: 18px;
color: #f33;
}
.icon{
text-align: center;
padding: 13px;
border-right: 1px solid #ebebeb;
border-bottom: 1px solid #ebebeb;
}
.icon li{
width: 12px;
height: 12px;
border-radius: 50%;
background-color: #e6e6e6;;
display: inline-block;
margin:0 6px;
}
.icon .active{
background: #1d89bf;
}