djzc.css 8.1 KB

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