cl2.css 13 KB

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