jyxy.css 7.0 KB

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