xxgc.css 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549
  1. body{
  2. color: #000;
  3. background-color: #94C0EF;
  4. }
  5. a{
  6. color: #000;
  7. }
  8. a:hover{
  9. color: #ff1111;
  10. }
  11. .header-img{
  12. position: relative;
  13. }
  14. .header-img img{
  15. /* width: auto; */
  16. }
  17. /* 导航 */
  18. .header-nav{
  19. background-color: #004c98;
  20. }
  21. .header-nav ul{
  22. height: 50px;
  23. line-height: 50px;
  24. background-color: transparent;
  25. }
  26. .nav-secondLevel{
  27. top: 50px;
  28. }
  29. .header-nav li:last-child{
  30. background: none;
  31. }
  32. /* .header-nav li:hover a {
  33. background-color: #FF1111 ;
  34. } */
  35. .header-nav .nav-secondLevel li a{
  36. border-color: #3B6AC4;
  37. background-color: #004c98;
  38. }
  39. .header-nav li:hover>a{
  40. background-color: #3B6AC4 ;
  41. }
  42. .nav-secondLevel .nav-threeLevel a{
  43. background-color: #004c98;
  44. }
  45. .header-nav .nav-threeLevel li a:hover {
  46. background-color: #2574a5;
  47. }
  48. .header-nav li a{
  49. position: relative;
  50. height: 50px;
  51. line-height: 50px;
  52. }
  53. .header-nav>ul>li>a{
  54. font-size: 16px;
  55. color: #fff;
  56. }
  57. .header-nav a i{
  58. width: 0;
  59. height: 0;
  60. border: 6px solid transparent;
  61. border-bottom-color: #fff;
  62. position: absolute;
  63. bottom: 0;
  64. left: 50%;
  65. transform: translateX(-50%);
  66. opacity: 0;
  67. }
  68. .header-nav li:hover a i{
  69. opacity: 1;
  70. }
  71. /* 主体 */
  72. .content{
  73. /* margin-top: 20px; */
  74. position: relative;
  75. }
  76. /* 背景图 */
  77. .content-bgPic{
  78. position: absolute;
  79. top: -65px;
  80. left: -20px;
  81. width: 21%;
  82. z-index: 1;
  83. }
  84. .content-bgPic img{
  85. width: 100%;
  86. }
  87. .content-row{
  88. display: flex;
  89. justify-content: space-between;
  90. background-color: #fff;
  91. padding-top: 5px;
  92. }
  93. .content-item{
  94. width: 49%;
  95. box-sizing: border-box;
  96. margin-bottom: 20px;
  97. }
  98. .content-item h2{
  99. background-size: contain;
  100. font-size: 14px;
  101. overflow: hidden;
  102. padding-right: 14px;
  103. border-bottom: 2px solid #004c98;
  104. }
  105. .content-item h2 span{
  106. display: inline-block;
  107. padding: 10px 14px;
  108. font-size: 18px;
  109. color: #004c98;
  110. }
  111. .content-item h2 span i{
  112. border-left: 6px solid #FF6600;
  113. margin-right: 12px;
  114. }
  115. .content-item h2 a{
  116. font-weight: normal;
  117. float: right;
  118. margin-top: 10px;
  119. }
  120. .content-item h2 a:hover{
  121. color: #FF0000;
  122. }
  123. .content-item h2 a:hover .triangle{
  124. border-left-color: #FF0000;
  125. }
  126. .content-wrap ul li{
  127. height: 44px;
  128. line-height: 44px;
  129. margin: 0 10px;
  130. border-bottom: 1px dashed #ccc;
  131. }
  132. .content-wrap li p{
  133. width: calc(100% - 80px);
  134. overflow: hidden;
  135. text-overflow: ellipsis;
  136. white-space: nowrap;
  137. float: left;
  138. }
  139. .content-wrap .list-time {
  140. float: right;
  141. color: #666;
  142. }
  143. .content-wrap a:hover .list-time {
  144. color: #ff1111;
  145. }
  146. .content-QRcode{
  147. text-align: center;
  148. display: flex;
  149. justify-content: space-around;
  150. margin: 50px 0;
  151. }
  152. .content-QRcode-item{
  153. width: 32%;
  154. }
  155. .content-QRcode-item img{
  156. width: 100%;
  157. }
  158. .content-QRcode-item p{
  159. margin-top: 10px;
  160. }
  161. /* banner */
  162. .banner{
  163. padding: 30px 0;
  164. background-color: #c4daf1;
  165. position: relative;
  166. }
  167. .banner-nav{
  168. width: 100%;
  169. background-color: transparent;
  170. position: absolute;
  171. top: 100px;
  172. left: 0;
  173. z-index: 2;
  174. }
  175. .banner-nav ul{
  176. display: flex;
  177. flex-wrap: wrap;
  178. }
  179. .banner-nav ul::after{
  180. content: "";
  181. width: 50%;
  182. }
  183. .banner-nav ul li{
  184. width: 50%;
  185. flex: auto;
  186. margin-bottom: 30px;
  187. }
  188. .banner-nav ul li a{
  189. margin-left: 7%;
  190. }
  191. .banner-nav ul li:hover a{
  192. background-color: #004c98;
  193. }
  194. .banner-nav ul li:nth-child(even) a{
  195. float: right;
  196. margin-right: 7%;
  197. }
  198. .banner-nav ul li a{
  199. background-color: #004c98;
  200. width: 120px;
  201. }
  202. /* banner轮播 */
  203. .banner-swiper{
  204. width: 65%;
  205. margin: 0 auto;
  206. z-index: 3;
  207. }
  208. .banner .swiper-pagination-bullet{
  209. width: 12px;
  210. height: 12px;
  211. }
  212. .banner .swiper-pagination-bullet-active {
  213. color:#fff;
  214. background: #ff3300;
  215. }
  216. .banner .swiper-container-horizontal>.swiper-pagination-bullets{
  217. text-align: right;
  218. left: -8px;
  219. }
  220. .banner .swiper-slide{
  221. position: relative;
  222. }
  223. .banner .swiper-slide img{
  224. display: block;
  225. width: 100%;
  226. }
  227. .banner .swiper-slide .swiper-title{
  228. position: absolute;
  229. left: 0;
  230. bottom: 0;
  231. height: 38px;
  232. line-height: 38px;
  233. background-color: rgba(0,0,0,.6);
  234. color: #fff;
  235. padding: 0 125px 0 10px;
  236. box-sizing: border-box;
  237. width: 100%;
  238. overflow: hidden;
  239. text-overflow: ellipsis;
  240. white-space: nowrap;
  241. }
  242. /* 轮播 */
  243. .content-item-swiper .swiper-pagination-bullet{
  244. width: 22px;
  245. height: 18px;
  246. line-height: 18px;
  247. border-radius: 2px;
  248. font-size: 12px;
  249. text-align: center;
  250. background-color: rgba(0, 0, 0, .6);
  251. color: #fff;
  252. }
  253. .content-item-swiper .swiper-pagination-bullet-active {
  254. color:#fff;
  255. background: rgba(185, 13, 13, .7);
  256. }
  257. .content-item-swiper .swiper-container-horizontal>.swiper-pagination-bullets{
  258. text-align: right;
  259. left: -3px;
  260. bottom: 3px;
  261. }
  262. .content-item-swiper .swiper-slide{
  263. position: relative;
  264. }
  265. .content-item-swiper .swiper-slide img{
  266. display: block;
  267. width: 100%;
  268. }
  269. .content-item-swiper .swiper-slide .swiper-title{
  270. position: absolute;
  271. left: 0;
  272. top: 0;
  273. height: 26px;
  274. line-height: 26px;
  275. background-color: #B90D0D;
  276. color: #fff;
  277. padding: 0 10px;
  278. box-sizing: border-box;
  279. width: 100%;
  280. overflow: hidden;
  281. text-overflow: ellipsis;
  282. white-space: nowrap;
  283. text-align: center;
  284. }
  285. .sidebar{
  286. position: fixed;
  287. right: 0;
  288. top: 50%;
  289. transform: translateY(-50%);
  290. z-index: 10;
  291. }
  292. .sidebar img{
  293. display: block;
  294. }
  295. .sidebar p{
  296. text-align: center;
  297. line-height: 18px;
  298. }
  299. .sidebar-close{
  300. float: right;
  301. padding: 5px 10px;
  302. }
  303. /* 列表页 */
  304. .content-list-wrap,
  305. .content-left{
  306. border: 1px solid #004c98;
  307. background-color: #fff;
  308. }
  309. .content-list-wrap{
  310. margin-top: 15px;
  311. margin-bottom: 15px;
  312. }
  313. .content-left-list li a{
  314. background: url(../images/icon/triangle.jpg) no-repeat 10px center;
  315. text-align: left;
  316. padding-left: 32px;
  317. }
  318. .crumbs{
  319. background-color: #004c98;
  320. line-height: 40px;
  321. overflow: hidden;
  322. color: #fff;
  323. }
  324. .crumbs p {
  325. float: left;
  326. font-weight: bold;
  327. font-size: 16px;
  328. }
  329. .crumbs a{
  330. color: #fff;
  331. }
  332. .crumbs-right {
  333. float: right;
  334. }
  335. .list-wrap .list-time{
  336. color: #666;
  337. }
  338. /* 目录页 */
  339. .catalog-title{
  340. /* border: none;
  341. background-color: #87cefa;
  342. padding: 0 20px; */
  343. border-color: #ff0000;
  344. }
  345. /* 底部 */
  346. .footer-mesg{
  347. background-color: #004c98;
  348. color: #fff;
  349. }
  350. .mobile-nav-icon span{
  351. background-color: #ff0000;
  352. }
  353. .mobile-header-nav .nav-threeLevel li a{
  354. background-color: #f55555;
  355. }
  356. /* 响应式 */
  357. @media screen and (max-width: 1024px) {
  358. .banner-nav{
  359. top: 60px;
  360. }
  361. }
  362. @media screen and (max-width: 980px) {
  363. .header-nav ul{
  364. height: auto;
  365. }
  366. /* flex布局,item元素补全 */
  367. .header-nav ul::after{
  368. content: "";
  369. width: 50%;
  370. }
  371. .header-mesg{
  372. position: relative;
  373. top: 0;
  374. left: 0;
  375. transform: translateY(0);
  376. overflow: hidden;
  377. }
  378. .header-mesg p{
  379. float: left;
  380. margin-right: 20px;
  381. margin-bottom: 8px;
  382. }
  383. .content-row{
  384. flex-wrap: wrap;
  385. }
  386. .content-item{
  387. width: 100% !important;
  388. }
  389. .banner-swiper{
  390. width: 100%;
  391. }
  392. }
  393. @media screen and (max-width: 768px) {
  394. .content-item{
  395. width: 100%;
  396. }
  397. /* 轮播 */
  398. .content-item-swiper .swiper-container{
  399. width: 100%;
  400. float: inherit;
  401. }
  402. .content-item-swiper ul{
  403. margin-left: 0;
  404. }
  405. .content-item-swiper .content-wrap{
  406. margin-left: 0;
  407. margin-top: 20px;
  408. }
  409. }
  410. @media screen and (max-width: 640px) {
  411. .header{
  412. box-shadow: 0 1px 3px #ddd;
  413. }
  414. .header-top .wrap{
  415. width: 100%;
  416. }
  417. .mobile-nav-icon {
  418. right: 18px;
  419. }
  420. .header-img{
  421. width: 100%;
  422. height: auto;
  423. }
  424. .header-img img{
  425. /* height: 60px; */
  426. /* width: auto; */
  427. width: 100%;
  428. }
  429. .content-wrap li p{
  430. width: calc(100% - 100px);
  431. }
  432. .content{
  433. margin-top: 122px !important;
  434. }
  435. .content-list-wrap{
  436. margin-top: 137px !important;
  437. }
  438. .content-bgPic{
  439. top: 0;
  440. }
  441. }