cl2.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799
  1. body{
  2. color: #000;
  3. background-color: #fff;
  4. }
  5. a{
  6. color: #000;
  7. }
  8. a:hover{
  9. color: #ff1111;
  10. }
  11. .header{
  12. background-color: #fff;
  13. }
  14. .header .wrap{
  15. position: relative;
  16. }
  17. .header-right{
  18. position: absolute;
  19. top: 50%;
  20. right: 20px;
  21. color: #164787;
  22. width: 230px;
  23. font-weight: bold;
  24. }
  25. .header-img{
  26. position: relative;
  27. }
  28. /* 导航 */
  29. .header-nav{
  30. background: url(../images/bg/bg-nav-cl.jpg);
  31. }
  32. .header-nav ul{
  33. height: 44px;
  34. line-height: 44px;
  35. background-color: transparent;
  36. z-index: 2;
  37. }
  38. .nav-secondLevel{
  39. top: 44px;
  40. }
  41. .header-nav li:last-child{
  42. background: none;
  43. }
  44. .header-nav li:hover a {
  45. background-color: #3e88e0 ;
  46. }
  47. .header-nav .nav-secondLevel li a{
  48. border-color: transparent;
  49. background-color: #2a6ebf;
  50. }
  51. .nav-secondLevel li:hover a {
  52. background-color: #3e88e0 ;
  53. }
  54. .header-nav li a{
  55. position: relative;
  56. height: 46px;
  57. line-height: 46px;
  58. }
  59. .header-nav>ul>li>a{
  60. font-size: 16px;
  61. }
  62. .header-nav a i{
  63. width: 0;
  64. height: 0;
  65. border: 6px solid transparent;
  66. border-bottom-color: #fff;
  67. position: absolute;
  68. bottom: 0;
  69. left: 50%;
  70. transform: translateX(-50%);
  71. opacity: 0;
  72. }
  73. .header-nav li:hover a i{
  74. opacity: 1;
  75. }
  76. /* 主体 */
  77. .content{
  78. margin-top: 10px;
  79. }
  80. .content-bg{
  81. background: url(../images/banner/banner-cl.jpg) no-repeat center;
  82. background-size: cover;
  83. margin-top: 0;
  84. }
  85. .content-row{
  86. display: flex;
  87. justify-content: space-between;
  88. background-color: #fff;
  89. }
  90. .content-row-firstLine{
  91. padding-top: 20px;
  92. }
  93. .content-col1{
  94. width: 32%;
  95. }
  96. .content-col2{
  97. width: calc(64% + 16px);
  98. }
  99. .content-col .content-item{
  100. width: 100%;
  101. }
  102. .content-item-swiper.content-item{
  103. padding: 0;
  104. }
  105. .content-col .content-wrap ul li{
  106. height: 38px;
  107. line-height: 38px;
  108. margin-bottom: 0;
  109. }
  110. .content-item{
  111. width: 32%;
  112. box-sizing: border-box;
  113. margin-bottom: 20px;
  114. padding: 0 8px;
  115. }
  116. .content-item-swiper{
  117. width: 60%;
  118. }
  119. .content-item h2{
  120. font-size: 16px;
  121. background-size: contain;
  122. font-size: 14px;
  123. overflow: hidden;
  124. border-bottom: 1px solid #ccc;
  125. margin-bottom: 8px;
  126. }
  127. .content-item h2 span{
  128. display: inline-block;
  129. color: #2a6ebf;
  130. padding: 10px 14px;
  131. font-size: 18px;
  132. border-bottom: 3px solid #296abe;
  133. }
  134. .content-item h2 a{
  135. font-weight: normal;
  136. float: right;
  137. margin-top: 10px;
  138. }
  139. .content-item h2 a:hover{
  140. color: #FF0000;
  141. }
  142. .content-item h2 a:hover .triangle{
  143. border-left-color: #FF0000;
  144. }
  145. .content-wrap ul li{
  146. height: 53px;
  147. line-height: 52px;
  148. margin: 0 10px;
  149. border-bottom: 1px dashed #ccc;
  150. margin-bottom: 5px;
  151. }
  152. .content-item-swiper ul li{
  153. height: 38px;
  154. line-height: 38px;
  155. margin-bottom: 0;
  156. }
  157. .content-wrap li p{
  158. width: calc(100% - 80px);
  159. overflow: hidden;
  160. text-overflow: ellipsis;
  161. white-space: nowrap;
  162. float: left;
  163. }
  164. .content-wrap li dl{
  165. float: left;
  166. width: 54px;
  167. text-align: center;
  168. margin-right: 10px;
  169. }
  170. .content-wrap li dl dt{
  171. background-color: #2a6ebf;
  172. color: #fff;
  173. line-height: 26px;
  174. font-weight: bold;
  175. font-size: 16px;
  176. }
  177. .content-wrap li dl dd{
  178. background-color: #CCCCCC;
  179. color: #666;
  180. line-height: 20px;
  181. font-size: 12px;
  182. }
  183. .content-row-first .content-wrap li{
  184. border: none;
  185. height: auto;
  186. line-height: 24px;
  187. overflow: hidden;
  188. margin-top: 10px;
  189. }
  190. .content-row-first .content-wrap li p{
  191. float: none;
  192. margin-left: 65px;
  193. display: -webkit-box;
  194. -webkit-box-orient: vertical;
  195. -webkit-line-clamp: 2;
  196. overflow: hidden;
  197. white-space: inherit;
  198. width: auto;
  199. }
  200. .content-wrap .list-time {
  201. float: right;
  202. color: #666;
  203. }
  204. .content-wrap a:hover .list-time {
  205. color: #ff1111;
  206. }
  207. /* banner轮播 */
  208. .banner{
  209. padding-bottom: 20px;
  210. background-color: #fff;
  211. }
  212. .banner .swiper-pagination-bullet{
  213. width: 12px;
  214. height: 12px;
  215. }
  216. .banner .swiper-pagination-bullet-active {
  217. color:#fff;
  218. background: #ff3300;
  219. }
  220. .banner .swiper-container-horizontal>.swiper-pagination-bullets{
  221. text-align: right;
  222. left: -8px;
  223. }
  224. .banner .swiper-slide{
  225. position: relative;
  226. }
  227. .banner .swiper-slide img{
  228. display: block;
  229. width: 100%;
  230. }
  231. .banner .swiper-slide .swiper-title{
  232. position: absolute;
  233. left: 0;
  234. bottom: 0;
  235. height: 38px;
  236. line-height: 38px;
  237. background-color: rgba(0,0,0,.6);
  238. color: #fff;
  239. padding: 0 125px 0 10px;
  240. box-sizing: border-box;
  241. width: 100%;
  242. overflow: hidden;
  243. text-overflow: ellipsis;
  244. white-space: nowrap;
  245. }
  246. .content-item-swiper2 .swiper-slide{
  247. box-sizing: border-box;
  248. border: 1px solid #ddd;
  249. padding: 3px;
  250. margin: 5px 0;
  251. }
  252. .content-item-swiper2 .swiper-slide img{
  253. width: 100%;
  254. }
  255. .content-item.content-item-swiper2{
  256. /* border: 1px solid #ccc; */
  257. }
  258. /* 轮播 */
  259. .content-item-swiper .swiper-container{
  260. /* float: left; */
  261. width: 100%;
  262. }
  263. .content-item-swiper ul{
  264. margin-left: 305px;
  265. }
  266. .content-item-swiper .swiper-pagination-bullet{
  267. width: 22px;
  268. height: 18px;
  269. line-height: 18px;
  270. border-radius: 2px;
  271. font-size: 12px;
  272. text-align: center;
  273. background-color: rgba(0, 0, 0, .6);
  274. color: #fff;
  275. }
  276. .content-item-swiper .swiper-pagination-bullet-active {
  277. color:#fff;
  278. background: rgba(42, 110, 191, .8);
  279. }
  280. .content-item-swiper .swiper-container-horizontal>.swiper-pagination-bullets{
  281. text-align: right;
  282. left: -3px;
  283. bottom: 3px;
  284. }
  285. .content-item-swiper .swiper-slide{
  286. position: relative;
  287. }
  288. .content-item-swiper .swiper-slide img{
  289. display: block;
  290. width: 100%;
  291. }
  292. .content-item-swiper .swiper-slide .swiper-title{
  293. position: absolute;
  294. left: 0;
  295. top: 0;
  296. height: 26px;
  297. line-height: 26px;
  298. background-color: #2a6ebf;
  299. color: #fff;
  300. padding: 0 10px;
  301. box-sizing: border-box;
  302. width: 100%;
  303. overflow: hidden;
  304. text-overflow: ellipsis;
  305. white-space: nowrap;
  306. text-align: center;
  307. }
  308. .content-item-swiper2 .swiper-button-next.swiper-button-white,
  309. .content-item-swiper2 .swiper-button-prev.swiper-button-white{
  310. --swiper-navigation-color: #2a6ebf;
  311. }
  312. /* 联系方式 */
  313. .QRcode{
  314. display: flex;
  315. justify-content: space-around;
  316. }
  317. .QRcode-item{
  318. width: 42%;
  319. text-align: center;
  320. }
  321. .QRcode-item img{
  322. width: 100%;
  323. }
  324. .QRcode-item p{
  325. line-height: 26px;
  326. }
  327. .contact {
  328. line-height: 26px;
  329. margin-top: 8px;
  330. border-top: 1px solid #ccc;
  331. padding-top: 6px;
  332. text-align: center;
  333. }
  334. /* 列表页 */
  335. .content-list-wrap,
  336. .content-left{
  337. border: 1px solid #2a6ebf;
  338. background-color: #fff;
  339. }
  340. .content-left-list li a{
  341. text-align: center;
  342. }
  343. .crumbs{
  344. background-color: #2a6ebf;
  345. color: #fff;
  346. line-height: 40px;
  347. overflow: hidden;
  348. }
  349. .crumbs a{
  350. color: #fff;
  351. }
  352. .crumbs-left{
  353. float: left;
  354. font-size: 16px;
  355. }
  356. .crumbs-right{
  357. float: right;
  358. }
  359. .content-left h2{
  360. background-color: #2a6ebf;
  361. }
  362. /* 横向图文列表 */
  363. .content-crosswiseImg-list{
  364. flex-wrap: wrap;
  365. }
  366. .content-crosswiseImg-list li{
  367. width: 100% !important;
  368. border-bottom: 1px solid #ccc;
  369. padding-bottom: 15px;
  370. }
  371. .content-crosswiseImg-list li a{
  372. display: block;
  373. width: 100%;
  374. height: 100%;
  375. }
  376. .content-crosswiseImg-list .content-img-list-imgWrap{
  377. width: 25%;
  378. float: left;
  379. margin-right: 20px;
  380. }
  381. .content-crosswiseImg-list dl{
  382. margin-left: 25%;
  383. }
  384. .content-crosswiseImg-list dt{
  385. font-size: 16px;
  386. font-weight: bold;
  387. color: #990000;
  388. line-height: 28px;
  389. padding-top: 15px;
  390. display: -webkit-box;
  391. -webkit-box-orient: vertical;
  392. -webkit-line-clamp: 2;
  393. overflow: hidden;
  394. width: 92%;
  395. }
  396. .content-crosswiseImg-list dd{
  397. color: #993300;
  398. }
  399. .content-crosswiseImg-list .content-crosswiseImg-time{
  400. color: #666;
  401. margin: 15px 0 22px;
  402. }
  403. .content-crosswiseImg-list li:hover dt,
  404. .content-crosswiseImg-list li:hover dd{
  405. color: #FF0000;
  406. }
  407. /* 竖向图片 */
  408. .content-verticalImg-list li{
  409. width: 33%;
  410. }
  411. .content-verticalImg-list li a{
  412. margin: 0 30px;
  413. }
  414. /* 底部 */
  415. .footer{
  416. margin-top: 20px;
  417. }
  418. .footer-margin0{
  419. margin-top: 0;
  420. }
  421. .footer-mesg{
  422. background-color: #2a6ebf;
  423. }
  424. /* 招生专题页 */
  425. .zszt-margin{
  426. margin-top: 0;
  427. }
  428. .zszt-wrap{
  429. flex-wrap: wrap;
  430. padding: 8px 8px 0;
  431. }
  432. .zszt-wrap .zszt-item{
  433. width: 29.2%;
  434. }
  435. .zszt-wrap .zszt-item-center{
  436. width: 40%;
  437. }
  438. .zszt-wrap .content-item{
  439. width: 100%;
  440. border: 1px solid #ccc;
  441. margin-bottom: 10px;
  442. padding: 0;
  443. }
  444. .zszt-item-center .content-item{
  445. border-radius: 6px 6px 0 0;
  446. overflow: hidden;
  447. }
  448. .zszt-wrap .content-item-swiper .swiper-container{
  449. width: 100%;
  450. float: inherit;
  451. padding: 0 4px;
  452. margin: 4px 0;
  453. }
  454. .zszt-wrap .content-item-swiper .swiper-slide .swiper-title{
  455. background-color: #3174bb;
  456. }
  457. .zszt-wrap .content-wrap ul{
  458. padding: 0 8px;
  459. }
  460. .zszt-wrap .content-wrap ul li{
  461. height: 38px;
  462. line-height: 38px;
  463. margin: 0;
  464. }
  465. .zszt-wrap .content-item h2{
  466. background: url(../images/bg/bg-content-clzt.jpg) no-repeat left center;
  467. background-size: cover;
  468. border: 0;
  469. margin-bottom: 0;
  470. }
  471. .zszt-item-center .content-item h2{
  472. background-image: url(../images/bg/bg-content-clzt2.png);
  473. }
  474. .zszt-wrap .zszt-item-center .content-item h2 span{
  475. color: #3174bb;
  476. margin-left: 85px;
  477. }
  478. .zszt-wrap .content-item h2 a{
  479. font-size: 12px;
  480. margin-right: 8px;
  481. }
  482. .zszt-wrap .zszt-more{
  483. background-color: #3f7291;
  484. color: #fff;
  485. padding: 3px 5px;
  486. border-radius: 10px;
  487. margin-top: 6px;
  488. border: 2px solid #ccc;
  489. }
  490. .zszt-wrap .zszt-more:hover{
  491. color: #ffff00;
  492. }
  493. .zszt-wrap .content-item-swiper .swiper-pagination-bullet-active{
  494. background-color: rgba(49, 116, 187, .7);
  495. }
  496. .zszt-wrap .content-item h2 span{
  497. border: 0;
  498. color: #fff;
  499. font-size: 14px;
  500. margin-left: 20px;
  501. }
  502. /* 栏目列表 */
  503. .zszt-item-right ul li{
  504. border: none;
  505. }
  506. .zszt-item-right ul li p{
  507. width: 96%;
  508. }
  509. .zszt-wrap .column-list{
  510. display: flex;
  511. flex-wrap: wrap;
  512. }
  513. .zszt-wrap .column-list li{
  514. width: 50%;
  515. text-align: center;
  516. height: 36px !important;
  517. line-height: 36px !important;
  518. }
  519. .zszt-wrap .column-list li a{
  520. color: #0099CC;
  521. font-weight: bold;
  522. }
  523. .zszt-wrap .column-list li a:hover{
  524. color: #FF0000;
  525. }
  526. .zszt-wrap .column-list a span{
  527. vertical-align: middle;
  528. margin-right: 10px;
  529. }
  530. /* 图 */
  531. .zszt-wrap .content-item-pic{
  532. width: 175%;
  533. }
  534. .zszt-item-pic,
  535. .zszt-item-pic a,
  536. .zszt-item-pic img{
  537. width: 100%;
  538. display: block;
  539. position: relative;
  540. z-index: 10;
  541. }
  542. /* 响应式 */
  543. @media screen and (max-width: 1024px) {
  544. }
  545. @media screen and (max-width: 980px) {
  546. .header-top{
  547. background: #8C0000;
  548. }
  549. .header-nav ul{
  550. height: auto;
  551. }
  552. /* flex布局,item元素补全 */
  553. .header-nav ul::after{
  554. content: "";
  555. width: 50%;
  556. }
  557. .header-mesg{
  558. position: relative;
  559. top: 0;
  560. left: 0;
  561. transform: translateY(0);
  562. overflow: hidden;
  563. }
  564. .header-mesg p{
  565. float: left;
  566. margin-right: 20px;
  567. margin-bottom: 8px;
  568. }
  569. .content-row{
  570. flex-wrap: wrap;
  571. }
  572. .content-item,
  573. .zszt-item{
  574. width: 100% !important;
  575. }
  576. .content-col{
  577. width: 100%;
  578. }
  579. .content-row-firstLine .content-col2{
  580. order: -1;
  581. padding: 0 8px;
  582. }
  583. }
  584. @media screen and (max-width: 768px) {
  585. .header-right{
  586. right: 66px;
  587. }
  588. .content-item{
  589. width: 100%;
  590. }
  591. /* 轮播 */
  592. .content-item-swiper .swiper-container{
  593. width: 100%;
  594. float: inherit;
  595. }
  596. .content-item-swiper ul{
  597. margin-left: 0;
  598. }
  599. .content-item-swiper .content-wrap{
  600. margin-left: 0;
  601. margin-top: 20px;
  602. }
  603. .zszt-wrap .content-item-swiper .content-wrap{
  604. margin-top: 0;
  605. }
  606. .content-row-firstLine{
  607. padding-top: 0;
  608. }
  609. }
  610. @media screen and (max-width: 640px) {
  611. .header{
  612. box-shadow: 0 1px 3px #ddd;
  613. }
  614. .header-top .wrap{
  615. width: 100%;
  616. }
  617. .mobile-nav-icon {
  618. right: 18px;
  619. }
  620. .header-right{
  621. display: none;
  622. }
  623. .content-wrap li p{
  624. width: calc(100% - 100px);
  625. }
  626. .content{
  627. margin-top: 70px !important;
  628. }
  629. .content.content-list-wrap{
  630. margin-top: 80px !important;
  631. }
  632. .content-part{
  633. padding-top: 10px;
  634. }
  635. .content-crosswiseImg-list .content-img-list-imgWrap{
  636. width: 100%;
  637. margin-right: 0;
  638. }
  639. .content-crosswiseImg-list dl{
  640. margin-left: 0;
  641. text-align: center;
  642. }
  643. .content-crosswiseImg-list dt{
  644. margin: 0 auto;
  645. }
  646. }