news.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. .main {
  2. position: relative;
  3. width: 100%;
  4. min-width: 1200px;
  5. overflow-x: hidden;
  6. }
  7. .main .wrapper {
  8. position: relative;
  9. z-index: 1;
  10. }
  11. .main .banner {
  12. width: 100%;
  13. height: 630px;
  14. overflow: hidden;
  15. position: relative;
  16. display: -ms-flexbox;
  17. display: flex;
  18. -ms-flex-pack: center;
  19. justify-content: center;
  20. -ms-flex-align: center;
  21. align-items: center;
  22. -ms-flex-direction: column;
  23. flex-direction: column;
  24. }
  25. .main .banner img {
  26. position: absolute;
  27. display: block;
  28. height: 100%;
  29. }
  30. .main .banner:after {
  31. position: absolute;
  32. content: '';
  33. background: rgba(51, 51, 51, 0.5);
  34. left: 0;
  35. right: 0;
  36. top: 0;
  37. bottom: 0;
  38. }
  39. .main .banner b, .main .banner span {
  40. position: relative;
  41. z-index: 1;
  42. color: #ffffff;
  43. font-size: 18px;
  44. }
  45. .main .banner b {
  46. font-size: 0;
  47. font-family: YouSheBiaoTiHei;
  48. margin-bottom: 30px;
  49. width: 482px;
  50. height: 44px;
  51. background: url(../img/tit1.png) no-repeat;
  52. background-size: 482px 44px;
  53. }
  54. .main .news-tab {
  55. display: -ms-flexbox;
  56. display: flex;
  57. padding: 40px 0;
  58. }
  59. .main .news-tab a {
  60. display: block;
  61. margin-right: 60px;
  62. border-bottom: 3px solid transparent;
  63. line-height: 34px;
  64. }
  65. .main .news-tab a:hover, .main .news-tab a.current {
  66. border-bottom: 3px solid #02AB79;
  67. color: #02AB79;
  68. }
  69. .main .news-list {
  70. display: -ms-flexbox;
  71. display: flex;
  72. -ms-flex-pack: justify;
  73. justify-content: space-between;
  74. -ms-flex-direction: column;
  75. flex-direction: column;
  76. }
  77. .main .news-list dl {
  78. list-style: none;
  79. border-radius: 10px;
  80. margin-bottom: 30px;
  81. display: -ms-flexbox;
  82. display: flex;
  83. }
  84. .main .news-list dl dt img {
  85. display: block;
  86. width: 378px;
  87. border-radius: 10px 10px;
  88. }
  89. .main .news-list dl dt .video {
  90. position: relative;
  91. display: block;
  92. }
  93. .main .news-list dl dt .video:after {
  94. position: absolute;
  95. content: '';
  96. background: url(../img/icon-play-7e97bae5.png) no-repeat;
  97. width: 50px;
  98. height: 50px;
  99. background-size: cover;
  100. left: 50%;
  101. top: 50%;
  102. transform: translate(-50%, -50%);
  103. }
  104. .main .news-list dl dd {
  105. width: 476px;
  106. margin-left: 37px;
  107. font-size: 16px;
  108. line-height: 30px;
  109. border-radius: 0 0 10px 10px;
  110. display: -ms-flexbox;
  111. display: flex;
  112. -ms-flex-direction: column;
  113. flex-direction: column;
  114. -ms-flex-pack: justify;
  115. justify-content: space-between;
  116. }
  117. .main .news-list dl dd b a {
  118. font-family: PingFangSC-Semibold, PingFang SC;
  119. font-size: 18px;
  120. }
  121. .main .news-list dl dd > div {
  122. color: #999;
  123. font-size: 16px;
  124. }
  125. .main .pagation {
  126. width: 900px;
  127. margin: 20px 0 120px;
  128. }
  129. .main .news-cont {
  130. display: -ms-flexbox;
  131. display: flex;
  132. -ms-flex-pack: justify;
  133. justify-content: space-between;
  134. -ms-flex-align: start;
  135. align-items: flex-start;
  136. }