djzc.css 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531
  1. body {
  2. color: #000;
  3. }
  4. a {
  5. color: #000;
  6. }
  7. a:hover {
  8. color: #940f19;
  9. }
  10. .header {
  11. background-color: #940f19;
  12. /* background: #940f19 url("/main/dist/websites/images/jy/header_bg.png"); */
  13. background-size: cover;
  14. background-position: center;
  15. }
  16. .content-list-wrap,
  17. .banner-list {
  18. margin-bottom: 20px;
  19. }
  20. .banner-list,
  21. .banner-list img {
  22. width: 100%;
  23. height: 150px;
  24. object-fit: cover;
  25. }
  26. .mobile-nav-icon {
  27. top: 50%;
  28. }
  29. .header-top-bg {
  30. width: 100%;
  31. height: 14px;
  32. }
  33. .header-top .header-top-left {
  34. /* width: 100%; */
  35. padding: 0 30px;
  36. float: left;
  37. }
  38. .header-top .header-top-right {
  39. /* width: 100%; */
  40. padding: 0 30px;
  41. float: right;
  42. }
  43. .header-top-left span:last-child,
  44. .header-top-right span:last-child {
  45. border: none;
  46. /* float: right; */
  47. }
  48. /* .header-top .header-top-left span:nth-last-of-type(1),
  49. .header-top .header-top-left span:nth-last-of-type(2),
  50. .header-top .header-top-left span:nth-last-of-type(3) {
  51. float: right;
  52. } */
  53. /* .header-top .header-top-left span:nth-last-of-type(3),.header-top .header-top-left span:nth-last-of-type(4){
  54. border: none;
  55. } */
  56. .header-top div span {
  57. padding: 0 10px;
  58. color: white;
  59. border-right: 1px solid #fff;
  60. }
  61. .header-top div span:first-child {
  62. padding-left: 0;
  63. }
  64. .header-top div span a {
  65. color: white;
  66. }
  67. .header-img {
  68. clear: both;
  69. display: flex;
  70. justify-content: center;
  71. align-items: center;
  72. margin-bottom: 10px;
  73. }
  74. .header-img .header-img-line {
  75. width: 1px;
  76. height: 50px;
  77. margin: 10px;
  78. background-color: white;
  79. }
  80. .header-img img {
  81. display: inline-block;
  82. width: auto;
  83. height: 70px;
  84. }
  85. /* 导航 */
  86. .header-nav {
  87. background-color: transparent;
  88. display: flex;
  89. justify-content: center;
  90. }
  91. .header-nav > ul {
  92. height: 40px;
  93. line-height: 40px;
  94. background-color: transparent;
  95. display: inline-block;
  96. }
  97. .header-nav > ul > li {
  98. width: 100px;
  99. float: left;
  100. display: flex;
  101. align-items: center;
  102. height: 40px;
  103. justify-content: center;
  104. }
  105. .header-nav > ul > li a {
  106. font-size: 16px;
  107. }
  108. .nav-secondLevel {
  109. top: 40px;
  110. }
  111. .header-nav li:last-child {
  112. background: none;
  113. }
  114. .header-nav li:hover a {
  115. background-color: transparent;
  116. }
  117. .header-nav .nav-secondLevel {
  118. background-color: #b24f4d;
  119. }
  120. .header-nav .nav-secondLevel li a {
  121. border-color: #ae1420;
  122. background-color: #b24f4d;
  123. }
  124. .header-nav .nav-secondLevel li a:hover {
  125. background-color: #ae1420;
  126. }
  127. .header-nav .nav-threeLevel li a:hover {
  128. background-color: #ae1420;
  129. }
  130. .header-nav li a {
  131. position: relative;
  132. font-weight: normal;
  133. }
  134. .header-nav a i {
  135. width: 0;
  136. height: 0;
  137. border: 6px solid transparent;
  138. border-bottom-color: #fff;
  139. position: absolute;
  140. bottom: 0;
  141. left: 50%;
  142. transform: translateX(-50%);
  143. opacity: 0;
  144. }
  145. .header-nav li:hover a i {
  146. opacity: 1;
  147. }
  148. .title {
  149. width: 100%;
  150. margin: 1rem 0;
  151. justify-content: space-between;
  152. display: flex;
  153. align-items: center;
  154. }
  155. .title a,
  156. .time,
  157. .part1-content>div>a {
  158. color: #b4b4b4;
  159. }
  160. .calendar1,.calendar2 ,.calendar2 a{
  161. width: 100%;
  162. display: flex;
  163. align-items: center;
  164. }
  165. .calendar1 div,.calendar2 div {
  166. display: flex;
  167. align-items: center;
  168. justify-content: center;
  169. flex-direction: column;
  170. width: 4rem;
  171. height: 4rem;
  172. text-align: center;
  173. font-weight: bold;
  174. color: #fff;
  175. background-color: #940f19;
  176. }
  177. .calendar1 div span,.calendar2 div span {
  178. font-size: 1.2rem;
  179. }
  180. .calendar1 p,.calendar2 p {
  181. width: calc(100% - 4.5rem);
  182. padding-left: 0.5rem;
  183. font-size: 1rem;
  184. line-height: 1.3rem;
  185. display: -webkit-box;
  186. -webkit-box-orient: vertical;
  187. -webkit-line-clamp: 2;
  188. overflow: hidden;
  189. }
  190. .calendar2 div {
  191. color: #940f19;
  192. background-color: #f6dee0;
  193. }
  194. .banner .swiper-container {
  195. max-height: 730px;
  196. }
  197. .banner .swiper-container img{
  198. width: 100%;
  199. height: 100%;
  200. object-fit: cover;
  201. }
  202. .banner .swiper-pagination {
  203. width: 100%;
  204. background: rgba(0, 0, 0, 0.4);
  205. position: absolute;
  206. bottom: 0;
  207. }
  208. .banner .swiper-pagination-bullet {
  209. text-align: center;
  210. width: 2rem;
  211. height: 3rem;
  212. line-height: 3rem;
  213. background-color: transparent;
  214. color: #fff;
  215. border-radius: 0;
  216. margin: 0 !important;
  217. }
  218. .banner .swiper-pagination-bullet-active {
  219. background-color: #940f19;
  220. }
  221. .wrap {
  222. width: 70%;
  223. margin: 0 auto;
  224. text-align: left;
  225. }
  226. .part1 .title{
  227. margin: 2rem 0;
  228. }
  229. .part1-content,.part3-content{
  230. display: grid;
  231. gap: 1rem;
  232. grid-template-columns: repeat(3,32.5%);
  233. }
  234. .part1-content img{
  235. width: 100%;
  236. margin: 0.5rem 0;
  237. }
  238. .part1-content>div>p{
  239. font-size: 1rem;
  240. line-height: 1.5rem;
  241. margin-bottom: 1rem;
  242. display: -webkit-box;
  243. -webkit-box-orient: vertical;
  244. -webkit-line-clamp: 2;
  245. overflow: hidden;
  246. }
  247. .part1-content>div>a{
  248. width: 100%;
  249. text-align: right;
  250. display: block;
  251. }
  252. .part1-content li,.part3-content li{
  253. line-height: 2.1rem;
  254. }
  255. .part1-content li a,.part3-content li a{
  256. display: flex;
  257. font-size: 1rem;
  258. justify-content: space-between;
  259. }
  260. .part1-content li p,.part3-content li p{
  261. position: relative;
  262. width: calc(100% - 4rem);
  263. padding-left: 1rem;
  264. display: -webkit-box;
  265. -webkit-box-orient: vertical;
  266. -webkit-line-clamp: 1;
  267. overflow: hidden;
  268. }
  269. .part1-content li p::before{
  270. position: absolute;
  271. top: 50%;
  272. transform: translateY(-50%);
  273. left: 0;
  274. content: " ";
  275. width: 0.5rem;
  276. height: 0.5rem;
  277. background: #bbb;
  278. border-radius: 50%;
  279. display: block;
  280. }
  281. .part1-content-list{
  282. height: 430px;
  283. overflow: hidden;
  284. }
  285. .part2{
  286. width: 100%;
  287. margin: 2rem 0;
  288. }
  289. .part2-content{
  290. width: 100%;
  291. display: flex;
  292. }
  293. .part2-content>div{
  294. flex: 1;
  295. height: 22.5rem;
  296. position: relative;
  297. }
  298. .part2-content>div:last-child div{
  299. height: 50%;
  300. position: relative;
  301. }
  302. .part2-content p{
  303. width: 100%;
  304. padding: 0 5%;
  305. position: absolute;
  306. bottom:5%;
  307. color: #fff;
  308. font-size: 1rem;
  309. line-height: 2rem;
  310. display: -webkit-box;
  311. -webkit-box-orient: vertical;
  312. -webkit-line-clamp: 2;
  313. overflow: hidden;
  314. }
  315. .part2-content img{
  316. width: 100%;
  317. height: 100%;
  318. object-fit: cover;
  319. }
  320. .part3-content{
  321. margin-bottom: 2rem;
  322. }
  323. .part3-content .calendar2{
  324. padding: 1.4rem 0;
  325. border-bottom: 1px solid #eeeeee;
  326. }
  327. .part3-content li p{
  328. width: calc(100% - 4rem);
  329. padding-left: 0;
  330. }
  331. .article-wrap video{
  332. max-width: 100%;
  333. height: 100%;
  334. }
  335. /* 列表页 */
  336. .content-list-wrap {
  337. width: 95%;
  338. border: 1px solid #940f19;
  339. margin: 20px auto;
  340. }
  341. .crumbs {
  342. background-color: #940f19;
  343. color: #fff;
  344. }
  345. .crumbs a {
  346. color: #fff;
  347. }
  348. /* 目录页 */
  349. .catalog-title {
  350. border-color: #940f19;
  351. }
  352. /* 底部 */
  353. .footer {
  354. padding-top: 5px;
  355. background-color: #940f19;
  356. }
  357. .footer-mesg {
  358. background-color: transparent;
  359. padding: 30px 0;
  360. width: 98%;
  361. margin: 0 auto;
  362. }
  363. .footer-mesg > div {
  364. width: 33%;
  365. padding-left: 50px;
  366. text-align: left;
  367. justify-content: space-between;
  368. flex-direction: column;
  369. border-right: 1px solid #fff;
  370. }
  371. .footer-link {
  372. background-color: #c1d6e3;
  373. line-height: 36px;
  374. }
  375. .footer-link ul {
  376. display: inline-block;
  377. }
  378. .footer-link ul li {
  379. display: inline-block;
  380. margin-right: 15px;
  381. }
  382. .mobile-nav-icon span {
  383. background-color: #fff;
  384. }
  385. .mobile-header-nav > ul {
  386. background-color: #940f19;
  387. overflow: unset !important;
  388. }
  389. .mobile-header-nav > ul > li {
  390. background-color: #940f19;
  391. }
  392. .mobile-header-nav li a {
  393. border-color: #940f19;
  394. }
  395. .mobile-header-nav .nav-secondLevel {
  396. background-color: #ae1420;
  397. }
  398. .mobile-header-nav .nav-threeLevel {
  399. background-color: #ae1420;
  400. }
  401. @media screen and (max-width: 1600px) {
  402. .part1-content-list{
  403. height: 380px;
  404. }
  405. }
  406. /* 响应式 */
  407. @media screen and (max-width: 1315px) {
  408. .banner .swiper-container{
  409. height: 700px;
  410. }
  411. .mobile-nav-icon,
  412. .mobile-header-nav {
  413. display: none;
  414. }
  415. .header-nav li {
  416. width: 80px;
  417. }
  418. .part1-content-list{
  419. height: 380px;
  420. }
  421. }
  422. @media screen and (max-width: 1080px) {
  423. .header {
  424. position: relative;
  425. }
  426. .banner .swiper-container{
  427. height: 500px;
  428. }
  429. .part1-content-list{
  430. height: 330px;
  431. }
  432. .mobile-nav-icon,
  433. .mobile-header-nav {
  434. display: block;
  435. }
  436. .header-nav {
  437. display: none;
  438. }
  439. .header-top-left,
  440. .header-top-right {
  441. display: none;
  442. }
  443. }
  444. @media screen and (max-width: 768px) {
  445. .banner .swiper-container{
  446. height: 300px;
  447. }
  448. .wrap{
  449. width: 90%;
  450. }
  451. .part1-content,.part3-content{
  452. display: grid;
  453. grid-template-columns:repeat(1,100%);
  454. grid-template-rows: repeat(3,1fr);
  455. }
  456. .part2-content {
  457. flex-direction: column;
  458. }
  459. }
  460. @media screen and (max-width: 640px) {
  461. .content{
  462. margin-top: 0 !important;
  463. }
  464. .header-img img {
  465. display: inline-block;
  466. width: auto;
  467. height: 65px;
  468. margin-right: 35px;
  469. }
  470. }