jyxy.css 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499
  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. .header-img.tyb-header-img{
  22. min-height: 112px;
  23. display: flex;
  24. align-items: center;
  25. }
  26. .tyb-header-brand{
  27. display: flex;
  28. align-items: center;
  29. gap: 20px;
  30. color: #8C0000;
  31. }
  32. .tyb-header-brand:hover{
  33. color: #8C0000;
  34. }
  35. .tyb-header-brand img{
  36. height: 72px;
  37. width: auto;
  38. }
  39. .tyb-header-name{
  40. font-family: "Noto Serif SC", "STZhongsong", "Songti SC", serif;
  41. font-size: 34px;
  42. font-weight: 700;
  43. letter-spacing: 0.12em;
  44. }
  45. @media (max-width: 680px){
  46. .header-img.tyb-header-img{
  47. min-height: 88px;
  48. }
  49. .tyb-header-brand{
  50. gap: 10px;
  51. }
  52. .tyb-header-brand img{
  53. height: 50px;
  54. }
  55. .tyb-header-name{
  56. font-size: 24px;
  57. }
  58. }
  59. /* 导航 */
  60. .header-nav{
  61. background-color: #9c0000;
  62. }
  63. .header-nav ul{
  64. height: 46px;
  65. line-height: 46px;
  66. background-color: transparent;
  67. }
  68. .nav-secondLevel{
  69. top: 46px;
  70. }
  71. .header-nav li:last-child{
  72. background: none;
  73. }
  74. .header-nav li:hover a {
  75. background-color: #8C0000 ;
  76. }
  77. .header-nav .nav-secondLevel li a{
  78. border-color: transparent;
  79. background-color: #9c0000;
  80. }
  81. .nav-secondLevel li:hover a {
  82. background-color: #8C0000 ;
  83. }
  84. .header-nav li a{
  85. position: relative;
  86. height: 46px;
  87. line-height: 46px;
  88. }
  89. .header-nav>ul>li>a{
  90. font-size: 16px;
  91. }
  92. .header-nav a i{
  93. width: 0;
  94. height: 0;
  95. border: 6px solid transparent;
  96. border-bottom-color: #fff;
  97. position: absolute;
  98. bottom: 0;
  99. left: 50%;
  100. transform: translateX(-50%);
  101. opacity: 0;
  102. }
  103. .header-nav li:hover a i{
  104. opacity: 1;
  105. }
  106. /* 主体 */
  107. .content{
  108. margin-top: 20px;
  109. }
  110. .content-row{
  111. display: flex;
  112. justify-content: space-between;
  113. background-color: #fff;
  114. }
  115. .content-item{
  116. width: 49%;
  117. box-sizing: border-box;
  118. margin-bottom: 20px;
  119. }
  120. .content-row-first .content-item{
  121. width: 32%;
  122. }
  123. .content-item-swiper{
  124. margin-top: 6px;
  125. }
  126. .content-item h2{
  127. font-size: 16px;
  128. background-size: contain;
  129. font-size: 14px;
  130. overflow: hidden;
  131. border-bottom: 2px solid #720808;
  132. box-shadow: 0 1px 0px #ccc;
  133. }
  134. .content-item h2 i{
  135. font-style: normal;
  136. font-weight: normal;
  137. padding: 0 3px;
  138. }
  139. .content-item h2 span{
  140. display: inline-block;
  141. color: #720808;
  142. padding: 10px 14px;
  143. font-size: 18px;
  144. }
  145. .content-item h2 a{
  146. font-weight: normal;
  147. float: right;
  148. margin-top: 10px;
  149. }
  150. .content-item h2 a:hover{
  151. color: #FF0000;
  152. }
  153. .content-item h2 a:hover .triangle{
  154. border-left-color: #FF0000;
  155. }
  156. .content-wrap ul li{
  157. height: 38px;
  158. line-height: 38px;
  159. margin: 0 10px;
  160. /* border-bottom: 1px dashed #ccc; */
  161. }
  162. .content-wrap li p{
  163. width: calc(100% - 80px);
  164. overflow: hidden;
  165. text-overflow: ellipsis;
  166. white-space: nowrap;
  167. float: left;
  168. }
  169. .content-wrap li dl{
  170. float: left;
  171. width: 50px;
  172. text-align: center;
  173. }
  174. .content-wrap li dl dt{
  175. background-color: #B90D0D;
  176. color: #fff;
  177. line-height: 26px;
  178. font-weight: bold;
  179. }
  180. .content-wrap li dl dd{
  181. background-color: #CCCCCC;
  182. color: #666;
  183. line-height: 20px;
  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: #B90D0D;
  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. /* 轮播 */
  249. .content-item-swiper .swiper-pagination-bullet{
  250. width: 22px;
  251. height: 18px;
  252. line-height: 18px;
  253. border-radius: 2px;
  254. font-size: 12px;
  255. text-align: center;
  256. background-color: rgba(0, 0, 0, .6);
  257. color: #fff;
  258. }
  259. .content-item-swiper .swiper-pagination-bullet-active {
  260. color:#fff;
  261. background: rgba(185, 13, 13, .7);
  262. }
  263. .content-item-swiper .swiper-container-horizontal>.swiper-pagination-bullets{
  264. text-align: right;
  265. left: -3px;
  266. bottom: 3px;
  267. }
  268. .content-item-swiper .swiper-slide{
  269. position: relative;
  270. }
  271. .content-item-swiper .swiper-slide img{
  272. display: block;
  273. width: 100%;
  274. }
  275. .content-item-swiper .swiper-slide .swiper-title{
  276. position: absolute;
  277. left: 0;
  278. top: 0;
  279. height: 26px;
  280. line-height: 26px;
  281. background-color: #B90D0D;
  282. color: #fff;
  283. padding: 0 10px;
  284. box-sizing: border-box;
  285. width: 100%;
  286. overflow: hidden;
  287. text-overflow: ellipsis;
  288. white-space: nowrap;
  289. text-align: center;
  290. }
  291. /* 列表页 */
  292. .content-list-wrap,
  293. .content-left{
  294. border: 1px solid #9c0000;
  295. background-color: #fff;
  296. }
  297. .content-left-list li a{
  298. background: url(../images/icon/triangle.jpg) no-repeat 10px center;
  299. text-align: left;
  300. padding-left: 32px;
  301. }
  302. .crumbs{
  303. background-color: #9c0000;
  304. color: #fff;
  305. line-height: 40px;
  306. overflow: hidden;
  307. }
  308. .crumbs a{
  309. color: #fff;
  310. }
  311. .crumbs-left{
  312. float: left;
  313. font-size: 16px;
  314. }
  315. .crumbs-right{
  316. float: right;
  317. }
  318. .content-left h2{
  319. background-color: #9c0000;
  320. }
  321. /* 底部 */
  322. .footer{
  323. margin-top: 20px;
  324. }
  325. .footer-mesg{
  326. background-color: #720808;
  327. }
  328. /* 响应式 */
  329. @media screen and (max-width: 1024px) {
  330. }
  331. @media screen and (max-width: 980px) {
  332. .header-top{
  333. background: #8C0000;
  334. }
  335. .header-nav ul{
  336. height: auto;
  337. }
  338. /* flex布局,item元素补全 */
  339. .header-nav ul::after{
  340. content: "";
  341. width: 50%;
  342. }
  343. .header-mesg{
  344. position: relative;
  345. top: 0;
  346. left: 0;
  347. transform: translateY(0);
  348. overflow: hidden;
  349. }
  350. .header-mesg p{
  351. float: left;
  352. margin-right: 20px;
  353. margin-bottom: 8px;
  354. }
  355. .content-row{
  356. flex-wrap: wrap;
  357. }
  358. .content-item{
  359. width: 100% !important;
  360. }
  361. }
  362. @media screen and (max-width: 768px) {
  363. .content-item{
  364. width: 100%;
  365. }
  366. /* 轮播 */
  367. .content-item-swiper .swiper-container{
  368. width: 100%;
  369. float: inherit;
  370. }
  371. .content-item-swiper ul{
  372. margin-left: 0;
  373. }
  374. .content-item-swiper .content-wrap{
  375. margin-left: 0;
  376. margin-top: 20px;
  377. }
  378. }
  379. @media screen and (max-width: 640px) {
  380. .header{
  381. box-shadow: 0 1px 3px #ddd;
  382. }
  383. .header-top .wrap{
  384. width: 100%;
  385. }
  386. .mobile-nav-icon {
  387. right: 18px;
  388. }
  389. .header-img{
  390. width: 100%;
  391. height: auto;
  392. }
  393. .header-img img{
  394. height: 60px;
  395. width: auto;
  396. }
  397. .content-wrap li p{
  398. width: calc(100% - 100px);
  399. }
  400. .content{
  401. margin-top: 70px !important;
  402. }
  403. }