0afd5a2d by 任超

style:新闻样式

1 parent 5ddb34d7
...@@ -635,16 +635,23 @@ div.c_five ul li a img { ...@@ -635,16 +635,23 @@ div.c_five ul li a img {
635 } 635 }
636 .news-title .hot-focus { 636 .news-title .hot-focus {
637 margin-right: 100px; 637 margin-right: 100px;
638 position: relative;
638 } 639 }
639 .news-title .hot-focus::after { 640 .news-title .hot-focus::after {
640 641 position: absolute;
642 width: 124px;
643 height: 1px;
644 background-color: #006CFF;
645 content: "";
646 bottom: -20px;
647 left: 0;
641 } 648 }
642 .news-title li:nth-child(2) { 649 .news-title li:nth-child(2) {
643 margin-right: 100px; 650 margin-right: 100px;
644 } 651 }
645 .news-title .hot-focus img{ 652 .news-title .hot-focus img{
646 width: 16px; 653 width: 19px;
647 height: 17px; 654 height: 20px;
648 position: relative; 655 position: relative;
649 top: 3px; 656 top: 3px;
650 } 657 }
......
...@@ -133,6 +133,11 @@ div.subject { ...@@ -133,6 +133,11 @@ div.subject {
133 133
134 .xw-right { 134 .xw-right {
135 padding-right: 10px; 135 padding-right: 10px;
136 overflow: hidden;
137 text-overflow: ellipsis;
138 display: -webkit-box;
139 -webkit-line-clamp: 3;/*超出3行部分显示省略号,去掉该属性 显示全部*/
140 -webkit-box-orient: vertical;
136 } 141 }
137 .leftContainer{ 142 .leftContainer{
138 border-right: 1px solid #DEDEDE; 143 border-right: 1px solid #DEDEDE;
...@@ -331,4 +336,5 @@ div.subject { ...@@ -331,4 +336,5 @@ div.subject {
331 .sticky .xw-right { 336 .sticky .xw-right {
332 font-size: 16px; 337 font-size: 16px;
333 color: #4a4a4a; 338 color: #4a4a4a;
339 float: initial;
334 } 340 }
...\ No newline at end of file ...\ No newline at end of file
......