class.less 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. font-family: "微软雅黑", "microsoft yahei";
  5. }
  6. a:active {
  7. text-decoration: none;
  8. }
  9. a:hover {
  10. text-decoration: none;
  11. }
  12. a:visited {
  13. text-decoration: none;
  14. }
  15. a:link {
  16. text-decoration: none;
  17. }
  18. a:focus {
  19. text-decoration: none;
  20. }
  21. body {
  22. position: relative;
  23. }
  24. .clearfix {
  25. overflow: hidden;
  26. }
  27. .clearfix_2::after {
  28. content: '';
  29. display: block;
  30. height: 0;
  31. visibility: hidden;
  32. clear: both;
  33. }
  34. .hiddenColor {
  35. visibility: hidden;
  36. }
  37. .hand {
  38. cursor: pointer;
  39. }
  40. .dot1 {
  41. display: block;
  42. word-break: keep-all;
  43. white-space: nowrap;
  44. overflow: hidden;
  45. text-overflow: ellipsis;
  46. }
  47. .dot2 {
  48. overflow: hidden;
  49. display: -webkit-box;
  50. -webkit-box-orient: vertical;
  51. -webkit-line-clamp: 2;
  52. }
  53. input,
  54. img {
  55. border: none;
  56. }
  57. .cover100 img {
  58. display: block;
  59. width: 100%;
  60. height: 100%;
  61. object-fit: cover;
  62. }
  63. .back100 {
  64. background-size: 100% 100%;
  65. background-repeat: no-repeat;
  66. }
  67. article,
  68. aside,
  69. footer,
  70. header,
  71. time,
  72. video,
  73. main,
  74. nav,
  75. h4,
  76. h3,
  77. section {
  78. display: block;
  79. }
  80. .index_main {
  81. margin: 0 auto;
  82. width: 1200px;
  83. }
  84. .channel_1 {
  85. margin-top: 20px;
  86. }
  87. .channel_nav {
  88. height: 60px;
  89. width: 1200px;
  90. background-image: url(http://img.bjzxtw.org.cn/master/www/snscw/5.png);
  91. margin-top: 20px;
  92. .channel_nav_a {
  93. float: left;
  94. height: 60px;
  95. line-height: 60px;
  96. color: #255590;
  97. font-size: 20px;
  98. margin: 0px 19px;
  99. font-weight: bold;
  100. }
  101. .channel_nav_a:nth-of-type(1) {
  102. color: #fff;
  103. margin: 0px 42px;
  104. }
  105. }
  106. .channel_1_box {
  107. width: 720px;
  108. height: 405px;
  109. }
  110. .channel_1_left {
  111. float: left;
  112. width: 720px;
  113. }
  114. .channel_1_right {
  115. float: right;
  116. width: 450px;
  117. }
  118. .channel_1_box_1 {
  119. float: left;
  120. width: 350px;
  121. height: 230px;
  122. margin-right: 20px;
  123. }
  124. .channel_1_box_2 {
  125. float: left;
  126. width: 350px;
  127. }
  128. .channel_name_ul {
  129. margin-top: 0px;
  130. .channel_name_ul_li {
  131. height: 24px;
  132. margin-bottom: 16px;
  133. display: flex;
  134. }
  135. .channel_name_ul_li_tag {
  136. height: 24px;
  137. line-height: 24px;
  138. color: #0046AE;
  139. font-size: 18px;
  140. margin-right: 15px;
  141. word-break: keep-all;
  142. white-space: nowrap;
  143. }
  144. .channel_name_ul_li_dot1 {
  145. height: 24px;
  146. line-height: 24px;
  147. color: #333;
  148. font-size: 18px;
  149. width: 100%;
  150. }
  151. .channel_name_ul_li:nth-of-type(1) .channel_name_ul_li_tag {
  152. display: none;
  153. }
  154. .channel_name_ul_li:nth-of-type(1) .channel_name_ul_li_dot1 {
  155. font-weight: bold;
  156. font-size: 20px;
  157. }
  158. .channel_name_ul_li:hover .channel_name_ul_li_dot1 {
  159. color: #255590;
  160. }
  161. }
  162. .channel_2 {
  163. margin-top: 16px;
  164. height: 608px;
  165. margin-bottom: 10px;
  166. }
  167. .channel_head {
  168. height: 30px;
  169. position: relative;
  170. margin-bottom: 28px;
  171. .channel_head_name {
  172. float: left;
  173. height: 30px;
  174. line-height: 30px;
  175. color: #255590;
  176. font-size: 22px;
  177. text-indent: 22px;
  178. font-weight: bold;
  179. }
  180. .channel_head_name_a {
  181. display: block;
  182. height: 30px;
  183. line-height: 30px;
  184. color: #255590;
  185. font-size: 22px;
  186. font-weight: bold;
  187. }
  188. .channel_head_name::after {
  189. content: '';
  190. display: block;
  191. width: 3px;
  192. height: 18px;
  193. background: #255590;
  194. position: absolute;
  195. left: 0px;
  196. top: 6px;
  197. z-index: 11;
  198. }
  199. .channel_head_more {
  200. float: right;
  201. height: 30px;
  202. line-height: 30px;
  203. color: #999;
  204. font-size: 16px;
  205. }
  206. .channel_head_more::after {
  207. content: '';
  208. display: block;
  209. width: 100%;
  210. height: 100%;
  211. position: absolute;
  212. left: 0px;
  213. top: 0px;
  214. z-index: 22;
  215. }
  216. }
  217. .channel2_top_content {
  218. height: 253px;
  219. }
  220. .channel_head:hover .channel_head_more {
  221. color: #255590;
  222. }
  223. .channel_img_big_1_ul {
  224. .channel_img_big_1_li {
  225. width: 350px;
  226. height: 230px;
  227. margin-bottom: 31px;
  228. position: relative;
  229. }
  230. .channel_img_big_1_li_a {}
  231. .channel_img_big_1_li_img {
  232. display: block;
  233. width: 350px;
  234. height: 230px;
  235. }
  236. .channel_img_big_1_li_dot1 {
  237. width: 350px;
  238. height: 44px;
  239. line-height: 44px;
  240. color: #fff;
  241. font-size: 18px;
  242. padding: 0px 10px;
  243. box-sizing: border-box;
  244. position: absolute;
  245. z-index: 11;
  246. left: 0px;
  247. bottom: 0px;
  248. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 33%, rgba(0, 0, 0, 0) 100%);
  249. }
  250. }
  251. .channel_ul_2_a {
  252. height: 24px;
  253. line-height: 24px;
  254. color: #333;
  255. font-size: 18px;
  256. margin-bottom: 17px;
  257. box-sizing: border-box;
  258. text-indent: 16px;
  259. position: relative;
  260. &:hover {
  261. color: #255590;
  262. }
  263. }
  264. .channel_ul_2_a::after {
  265. content: '';
  266. display: block;
  267. width: 6px;
  268. height: 6px;
  269. background: #ddd;
  270. border-radius: 50%;
  271. position: absolute;
  272. left: 0px;
  273. top: 9px;
  274. z-index: 11;
  275. }
  276. .channel_ul_2_a:nth-of-type(3n-2) {
  277. font-weight: bold;
  278. }
  279. .channel_ul_2_a:hover::after {
  280. content: '';
  281. display: block;
  282. background: #255590;
  283. }
  284. .channel_img_big_2_ul {}
  285. .channel_img_big_2_li {
  286. width: 350px;
  287. height: 230px;
  288. margin-bottom: 20px;
  289. position: relative;
  290. }
  291. .channel_img_big_2_li_img {
  292. display: block;
  293. width: 350px;
  294. height: 230px;
  295. }
  296. .channel_img_big_2_li_dot1 {
  297. width: 350px;
  298. height: 44px;
  299. line-height: 44px;
  300. color: #fff;
  301. font-size: 18px;
  302. padding: 0px 10px;
  303. box-sizing: border-box;
  304. position: absolute;
  305. z-index: 11;
  306. left: 0px;
  307. bottom: 0px;
  308. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 33%, rgba(0, 0, 0, 0) 100%);
  309. }
  310. .channel_3 {
  311. margin-top: 20px;
  312. margin-bottom: 20px;
  313. height: 550px;
  314. }
  315. .channel_ul_3_a {
  316. height: 24px;
  317. line-height: 24px;
  318. color: #333;
  319. font-size: 18px;
  320. margin-bottom: 17px;
  321. box-sizing: border-box;
  322. text-indent: 16px;
  323. position: relative;
  324. &:hover {
  325. color: #255590;
  326. }
  327. }
  328. .channel_ul_3_a::after {
  329. content: '';
  330. display: block;
  331. width: 6px;
  332. height: 6px;
  333. background: #ddd;
  334. border-radius: 50%;
  335. position: absolute;
  336. left: 0px;
  337. top: 9px;
  338. z-index: 11;
  339. }
  340. .channel_ul_3_a:nth-of-type(3n-2) {
  341. font-weight: bold;
  342. }
  343. .channel_ul_3_a:hover::after {
  344. content: '';
  345. display: block;
  346. background: #255590;
  347. }
  348. .channel_img_big_3_ul {
  349. .channel_img_big_3_li {
  350. height: 265px;
  351. position: relative;
  352. width: 450px;
  353. margin-bottom: 22px;
  354. overflow: hidden;
  355. }
  356. .channel_img_big_3_li_a {
  357. display: inline-block;
  358. width: 400px;
  359. }
  360. .channel_img_big_3_li_img {
  361. display: block;
  362. height: 267px;
  363. width: 450px;
  364. }
  365. .channel_img_big_3_li_dot1 {
  366. width: 450px;
  367. height: 44px;
  368. line-height: 44px;
  369. color: #fff;
  370. font-size: 18px;
  371. box-sizing: border-box;
  372. position: absolute;
  373. padding: 0px 10px;
  374. left: 0px;
  375. bottom: 0px;
  376. z-index: 11;
  377. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 33%, rgba(0, 0, 0, 0) 100%);
  378. }
  379. }
  380. .channel_ul_4 {
  381. width: 450px;
  382. .channel_ul_4_li {
  383. width: 450px;
  384. height: 24px;
  385. margin-bottom: 21px;
  386. }
  387. .channel_ul_4_li_num {
  388. display: inline-block;
  389. width: 50px;
  390. height: 24px;
  391. line-height: 24px;
  392. color: #ccc;
  393. font-size: 18px;
  394. width: 24px;
  395. text-align: center;
  396. font-style: italic;
  397. margin-right: 20px;
  398. }
  399. .channel_ul_4_a {
  400. display: inline-block;
  401. width: 400px;
  402. height: 24px;
  403. line-height: 24px;
  404. color: #333;
  405. font-size: 18px;
  406. &:hover {
  407. color: #255590;
  408. }
  409. }
  410. .channel_ul_4_li:nth-of-type(-n+3) .channel_ul_4_li_num {
  411. color: #255590;
  412. }
  413. }
  414. .channel_banner {
  415. width: 1200px;
  416. margin: 2px auto 0px;
  417. }
  418. .channel_banner_a {
  419. display: block;
  420. width: 1200px;
  421. }
  422. .channel_banner_img {
  423. display: block;
  424. width: 1200px;
  425. }
  426. .channel_img_big_4_ul {
  427. .channel_img_big_4_li {
  428. width: 350px;
  429. margin-bottom: 25px;
  430. overflow: hidden;
  431. }
  432. .channel_img_big_4_li_a {}
  433. .channel_img_big_4_li_img {
  434. display: block;
  435. height: 230px;
  436. width: 350px;
  437. }
  438. .channel_img_big_4_li_dot2 {
  439. height: 48px;
  440. width: 350px;
  441. color: #333;
  442. font-size: 18px;
  443. margin-top: 20px;
  444. line-height: 24px;
  445. font-weight: bold;
  446. }
  447. }
  448. .channel_img_big_4_li_a:hover .channel_img_big_4_li_dot2 {
  449. color: #255590;
  450. }
  451. .channel_img_ul_1 {}
  452. .channel_img_ul_1_li {
  453. width: 165px;
  454. .channel_img_ul_1_li_img {
  455. display: block;
  456. width: 165px;
  457. height: 96px;
  458. }
  459. .channel_img_ul_1_li_dot2 {
  460. height: 48px;
  461. line-height: 24px;
  462. color: #333;
  463. font-size: 18px;
  464. margin-top: 15px;
  465. }
  466. }
  467. .channel_img_ul_1_li:nth-of-type(odd) {
  468. float: left;
  469. }
  470. .channel_img_ul_1_li:nth-of-type(even) {
  471. float: right;
  472. }
  473. .channel_img_ul_1_li_a {}
  474. .channel_img_ul_1_li_a:hover .channel_img_ul_1_li_dot2 {
  475. color: #255590;
  476. }
  477. .channel_ul_5_a {
  478. height: 24px;
  479. line-height: 24px;
  480. color: #333;
  481. font-size: 18px;
  482. margin-bottom: 27px;
  483. &:hover {
  484. color: #255590;
  485. }
  486. }
  487. .channel_ul_5_a:nth-of-type(5n-4) {
  488. font-weight: bold;
  489. }
  490. .channel_img_ul_2 {
  491. .channel_img_ul_2_li {
  492. width: 220px;
  493. }
  494. .channel_img_ul_2_li:nth-of-type(odd) {
  495. float: left;
  496. }
  497. .channel_img_ul_2_li:nth-of-type(even) {
  498. float: right;
  499. }
  500. .channel_img_ul_2_li_a {}
  501. .channel_img_ul_2_li_img {
  502. display: block;
  503. width: 220px;
  504. height: 130px;
  505. }
  506. .channel_img_ul_2_li_dot1 {
  507. height: 24px;
  508. line-height: 24px;
  509. color: #333;
  510. font-size: 18px;
  511. margin-top: 20px;
  512. text-align: center;
  513. }
  514. .channel_img_ul_2_li_a:hover .channel_img_ul_2_li_dot1 {
  515. color: #255590;
  516. }
  517. }
  518. .channel_ul_6 {
  519. margin-top: 20px;
  520. .channel_ul_6_a {
  521. height: 24px;
  522. line-height: 24px;
  523. color: #333;
  524. font-size: 18px;
  525. margin-bottom: 25px;
  526. box-sizing: border-box;
  527. text-indent: 16px;
  528. position: relative;
  529. }
  530. .channel_ul_6_a::after {
  531. content: '';
  532. display: block;
  533. width: 4px;
  534. height: 4px;
  535. background: #255590;
  536. position: absolute;
  537. left: 0px;
  538. top: 10px;
  539. z-index: 11;
  540. }
  541. .channel_ul_6_a:nth-last-of-type(1) {
  542. margin-bottom: 11px;
  543. }
  544. .channel_ul_6_a:hover {
  545. color: #255590;
  546. }
  547. }
  548. .channel_4 {
  549. margin-top: 14px;
  550. height: 430px;
  551. }
  552. .channel_ul_7_a {
  553. height: 24px;
  554. line-height: 24px;
  555. color: #333;
  556. font-size: 18px;
  557. margin-bottom: 20px;
  558. box-sizing: border-box;
  559. text-indent: 16px;
  560. position: relative;
  561. &:hover {
  562. color: #255590;
  563. }
  564. }
  565. .channel_ul_7_a::after {
  566. content: '';
  567. display: block;
  568. width: 4px;
  569. height: 4px;
  570. background: #333;
  571. position: absolute;
  572. left: 0px;
  573. top: 10px;
  574. z-index: 11;
  575. }
  576. .channel_ul_7_a:nth-of-type(1) {
  577. font-weight: bold;
  578. }
  579. .channel_ul_7_a:hover::after {
  580. content: '';
  581. display: block;
  582. background: #255590;
  583. }
  584. .channel_img_big_5_ul {
  585. .channel_img_big_5_li {
  586. margin-bottom: 25px;
  587. overflow: hidden;
  588. }
  589. .channel_img_big_5_li_a {}
  590. .channel_img_big_5_li_img {
  591. display: block;
  592. width: 100%;
  593. height: 267px;
  594. }
  595. .channel_img_big_5_li_dot2 {
  596. height: 48px;
  597. color: #333;
  598. font-size: 18px;
  599. margin-top: 20px;
  600. line-height: 24px;
  601. font-weight: bold;
  602. }
  603. .channel_img_big_5_li_a:hover .channel_img_big_5_li_dot2 {
  604. color: #255590;
  605. }
  606. }