newsList.css 814 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /* 头部广告 */
  2. .advImg{
  3. height: 282px;
  4. background: url(../imgs/newsAdv.jpg) no-repeat center;
  5. background-size: cover;
  6. }
  7. /* 新闻列表 */
  8. .newsItem{
  9. margin-bottom: 30px;
  10. }
  11. .newsItem a >img{
  12. width: 224px;
  13. height: 162px;
  14. float: left;
  15. }
  16. .newsItem .newsDetial{
  17. margin-left: 257px;
  18. height: 122px;
  19. position: relative;
  20. padding: 20px 0;
  21. }
  22. .newsItem .newsDetial h2{
  23. color: #000;
  24. font-size: 14px;
  25. letter-spacing: 1px;
  26. }
  27. .newsItem .newsDetial .date{
  28. position: absolute;
  29. bottom: 5px;
  30. width: 100%;
  31. }
  32. .newsItem .newsDetial .date .more{
  33. float: right;
  34. }
  35. .newsItem .newsDetial .date span{
  36. font-weight:700;
  37. }
  38. /* 三行缩略 */
  39. .abstract-wrap{
  40. margin-top: 10px;
  41. line-height: 26px;
  42. height: 73px;
  43. }
  44. .abstract-wrap::after{
  45. top: 53px;
  46. }