news.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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: 60px;
  47. font-family: YouSheBiaoTiHei;
  48. margin-bottom: 30px;
  49. }
  50. .main .news-tab {
  51. display: -ms-flexbox;
  52. display: flex;
  53. padding: 40px 0;
  54. }
  55. .main .news-tab a {
  56. display: block;
  57. margin-right: 60px;
  58. border-bottom: 3px solid transparent;
  59. line-height: 34px;
  60. }
  61. .main .news-tab a:hover, .main .news-tab a.current {
  62. border-bottom: 3px solid #02AB79;
  63. color: #02AB79;
  64. }
  65. .main .news-list {
  66. display: -ms-flexbox;
  67. display: flex;
  68. -ms-flex-pack: justify;
  69. justify-content: space-between;
  70. -ms-flex-direction: column;
  71. flex-direction: column;
  72. }
  73. .main .news-list dl {
  74. list-style: none;
  75. border-radius: 10px;
  76. margin-bottom: 30px;
  77. display: -ms-flexbox;
  78. display: flex;
  79. }
  80. .main .news-list dl dt img {
  81. display: block;
  82. width: 378px;
  83. border-radius: 10px 10px;
  84. }
  85. .main .news-list dl dt .video {
  86. position: relative;
  87. display: block;
  88. }
  89. .main .news-list dl dt .video:after {
  90. position: absolute;
  91. content: '';
  92. background: url(../img/icon-play-7e97bae5.png) no-repeat;
  93. width: 50px;
  94. height: 50px;
  95. background-size: cover;
  96. left: 50%;
  97. top: 50%;
  98. transform: translate(-50%, -50%);
  99. }
  100. .main .news-list dl dd {
  101. width: 476px;
  102. margin-left: 37px;
  103. font-size: 16px;
  104. line-height: 30px;
  105. border-radius: 0 0 10px 10px;
  106. display: -ms-flexbox;
  107. display: flex;
  108. -ms-flex-direction: column;
  109. flex-direction: column;
  110. -ms-flex-pack: justify;
  111. justify-content: space-between;
  112. }
  113. .main .news-list dl dd b a {
  114. font-family: PingFangSC-Semibold, PingFang SC;
  115. font-size: 18px;
  116. }
  117. .main .news-list dl dd > div {
  118. color: #999;
  119. font-size: 16px;
  120. }
  121. .main .pagation {
  122. width: 900px;
  123. margin: 20px 0 120px;
  124. }
  125. .main .news-cont {
  126. display: -ms-flexbox;
  127. display: flex;
  128. -ms-flex-pack: justify;
  129. justify-content: space-between;
  130. -ms-flex-align: start;
  131. align-items: flex-start;
  132. }