cwc.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  1. body{
  2. color: #000;
  3. }
  4. a{
  5. color: #000;
  6. }
  7. a:hover{
  8. color: #ff1111;
  9. }
  10. .header-top{
  11. background: url(../images/bg/bg-header-cwc.jpg) repeat-x center;
  12. }
  13. .header-img{
  14. position: relative;
  15. }
  16. .header-img img{
  17. width: auto;
  18. margin: 0 auto;
  19. }
  20. /* 导航 */
  21. .header-nav{
  22. background-color: #4FB7F4;
  23. }
  24. .header-nav ul{
  25. height: 50px;
  26. line-height: 50px;
  27. background-color: transparent;
  28. }
  29. .header-nav li a{
  30. height: 50px;
  31. line-height: 50px;
  32. font-size: 16px;
  33. }
  34. .nav-secondLevel{
  35. top: 50px;
  36. }
  37. .header-nav li:last-child{
  38. background: none;
  39. }
  40. .header-nav li:hover a {
  41. background-color: #0099FF;
  42. }
  43. .nav-secondLevel li:hover a {
  44. background-color: rgba(15,68,157,1);
  45. }
  46. .header-nav .nav-secondLevel li a{
  47. border-color: #07ade7;
  48. }
  49. .header-nav .nav-threeLevel li a:hover{
  50. background-color: #0190d6;
  51. }
  52. .header-nav li a{
  53. position: relative;
  54. }
  55. .header-nav a i{
  56. width: 0;
  57. height: 0;
  58. border: 6px solid transparent;
  59. border-bottom-color: #fff;
  60. position: absolute;
  61. bottom: 0;
  62. left: 50%;
  63. transform: translateX(-50%);
  64. opacity: 0;
  65. }
  66. .header-nav li:hover a i{
  67. opacity: 1;
  68. }
  69. /* 主体 */
  70. .content{
  71. margin-top: 15px;
  72. }
  73. .content-row{
  74. display: flex;
  75. justify-content: space-between;
  76. flex-wrap: wrap;
  77. }
  78. .content-item{
  79. width: 49%;
  80. box-sizing: border-box;
  81. margin-bottom: 30px;
  82. }
  83. .content-item-swiper{
  84. width: 100%;
  85. }
  86. .content-item h2{
  87. font-size: 16px;
  88. padding: 10px 10px 6px 0 ;
  89. border-bottom: 3px solid #ccc;
  90. margin-bottom: 5px;
  91. }
  92. .content-item h2 a{
  93. font-weight: normal;
  94. float: right;
  95. color: #0099FF;
  96. font-style: italic;
  97. font-size: 18px;
  98. margin-top: 15px;
  99. }
  100. .content-item h2 a:hover{
  101. color: #FF0000;
  102. }
  103. .content-wrap ul li{
  104. height: 36px;
  105. line-height: 36px;
  106. margin: 0 10px;
  107. border-bottom: 1px dashed #ccc;
  108. padding-left: 16px;
  109. background: url(../images/icon/img1.gif)no-repeat left center;
  110. }
  111. .content-wrap li p{
  112. width: calc(100% - 80px);
  113. overflow: hidden;
  114. text-overflow: ellipsis;
  115. white-space: nowrap;
  116. float: left;
  117. }
  118. .content-wrap .list-time {
  119. float: right;
  120. /* color: #999; */
  121. display: none;
  122. }
  123. .content-wrap a:hover .list-time {
  124. color: #ff1111;
  125. }
  126. .content-tow-lines {
  127. flex-grow: 2;
  128. }
  129. .content-tow-lines ul{
  130. display: flex;
  131. justify-content: space-between;
  132. flex-wrap: wrap;
  133. }
  134. .content-tow-lines li{
  135. width: 48%;
  136. overflow: hidden;
  137. }
  138. /* 列表页 */
  139. .content-list-wrap{
  140. border: 1px solid #4FB7F4;
  141. }
  142. .crumbs{
  143. background-color: #4FB7F4;
  144. color: #fff;
  145. }
  146. .crumbs a{
  147. color: #fff;
  148. }
  149. /* 目录页 */
  150. .catalog-title{
  151. border-color: #4FB7F4;
  152. }
  153. /* 底部 */
  154. .footer{
  155. background-color: #4FB7F4;
  156. margin-top: 20px;
  157. }
  158. .footer-mesg{
  159. background-color: transparent;
  160. }
  161. .footer-link{
  162. background-color: #C1D6E3;
  163. line-height: 36px;
  164. }
  165. .footer-link ul{
  166. display: inline-block;
  167. }
  168. .footer-link ul li{
  169. display: inline-block;
  170. margin-right: 15px;
  171. }
  172. .mobile-nav-icon span{
  173. background-color: #193e88;
  174. }
  175. .mobile-header-nav>ul{
  176. background-color: #4FB7F4;
  177. }
  178. .mobile-header-nav>ul>li {
  179. background-color: #4FB7F4;
  180. }
  181. .mobile-header-nav li a {
  182. border-color: #47ade8;
  183. }
  184. .mobile-header-nav .nav-secondLevel{
  185. background-color: #0099FF;
  186. }
  187. .mobile-header-nav .nav-threeLevel {
  188. background-color: #6dbedc;
  189. }
  190. /* 响应式 */
  191. @media screen and (max-width: 1024px) {
  192. .header-img img{
  193. width: 100%;
  194. }
  195. }
  196. @media screen and (max-width: 980px) {
  197. .header-nav{
  198. background-repeat: repeat;
  199. background-position: left top;
  200. }
  201. .header-nav ul{
  202. height: auto;
  203. }
  204. /* flex布局,item元素补全 */
  205. .header-nav ul::after{
  206. content: "";
  207. width: 50%;
  208. }
  209. .content-item{
  210. width: 100% !important;
  211. }
  212. }
  213. @media screen and (max-width: 768px) {
  214. .content-item{
  215. width: 100%;
  216. }
  217. .content-tow-lines li{
  218. width: 100%;
  219. }
  220. /* 轮播 */
  221. .content-item-swiper .swiper-container{
  222. width: 100%;
  223. float: inherit;
  224. }
  225. .content-item-swiper ul{
  226. margin-left: 0;
  227. }
  228. }
  229. @media screen and (max-width: 640px) {
  230. .header-top .wrap{
  231. width: 100%;
  232. }
  233. .header-img{
  234. width: 100%;
  235. }
  236. .header-img img{
  237. width: auto;
  238. }
  239. .mobile-nav-icon{
  240. right: 20px;
  241. }
  242. .content-wrap li p{
  243. width: calc(100% - 100px);
  244. }
  245. .header-right{
  246. display: none;
  247. }
  248. }