You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
129 lines
2.3 KiB
129 lines
2.3 KiB
#pager {
|
|
text-align: center;
|
|
padding: 60px 0 106px;
|
|
}
|
|
.notice-list {
|
|
padding-top: 20px;
|
|
padding-bottom: 50px;
|
|
}
|
|
.notice-item {
|
|
padding: 30px 0;
|
|
display: flex;
|
|
cursor: pointer;
|
|
border-bottom: solid 1px rgba(0, 0, 0, 0.1);
|
|
}
|
|
.notice-item .date {
|
|
width: 80px;
|
|
height: 100px;
|
|
border: 1px solid #f08200;
|
|
margin-right: 30px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #f08200;
|
|
transition: all 0.4s;
|
|
}
|
|
.notice-item .date h2 {
|
|
font-size: 38px;
|
|
font-family: Microsoft YaHei;
|
|
font-weight: 400;
|
|
line-height: 33px;
|
|
margin-bottom: 17px;
|
|
}
|
|
.notice-item .date span {
|
|
font-size: 14px;
|
|
font-family: Microsoft YaHei;
|
|
font-weight: 400;
|
|
line-height: 14px;
|
|
}
|
|
.notice-item .title-desc {
|
|
width: calc(100% - 130px);
|
|
}
|
|
.notice-item .title-desc h6 {
|
|
font-size: 16px;
|
|
font-family: Microsoft YaHei;
|
|
font-weight: bold;
|
|
color: #333333;
|
|
width: 100%;
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 1;
|
|
overflow: hidden;
|
|
margin-bottom: 25px;
|
|
transition: color 0.4s;
|
|
display: block;
|
|
}
|
|
.notice-item .title-desc h6 a{
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
color: #212121;
|
|
}
|
|
.notice-item .title-desc p {
|
|
font-size: 14px;
|
|
color: #666;
|
|
font-weight: 400;
|
|
line-height: 24px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 2;
|
|
}
|
|
|
|
.notice-item:hover .date {
|
|
color: #fff;
|
|
background-color: #f08200;
|
|
}
|
|
|
|
.notice-item:hover .title-desc h6 {
|
|
color: #f08200;
|
|
}
|
|
.pagination{
|
|
margin-bottom: 60px;
|
|
}
|
|
@media (max-width: 768px) {
|
|
.notice-list {
|
|
padding-top: 0px;
|
|
}
|
|
.notice-item {
|
|
padding: 20px 0;
|
|
}
|
|
.notice-item .date {
|
|
margin-right: 20px;
|
|
height: 60px;
|
|
}
|
|
.notice-item .date h2 {
|
|
font-size: 20px;
|
|
margin-bottom: 0;
|
|
}
|
|
.notice-item .title-desc h6 {
|
|
font-size: 14px;
|
|
margin-bottom: 15px;
|
|
}
|
|
.notice-item .title-desc p {
|
|
-webkit-line-clamp: 1;
|
|
}
|
|
#pager {
|
|
padding: 40px 0 40px;
|
|
}
|
|
}
|
|
@media (max-width: 500px) {
|
|
.notice-item{
|
|
align-items: center;
|
|
}
|
|
.notice-item .date{
|
|
height: 70px;
|
|
}
|
|
.notice-item .title-desc{
|
|
width: calc(100% - 90px);
|
|
}
|
|
.notice-item .title-desc h6{
|
|
margin-bottom: 0;
|
|
-webkit-line-clamp: 2;
|
|
line-height: 1.6;
|
|
}
|
|
.notice-item .title-desc p{
|
|
display: none;
|
|
}
|
|
}
|