cl.css 11 KB

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