jgsz.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659
  1. body {
  2. color: #000;
  3. }
  4. a {
  5. color: #000;
  6. }
  7. a:hover {
  8. color: #941c1e;
  9. }
  10. .header {
  11. background: #941c1e url("/main/dist/websites/images/index/header-bg.png")
  12. no-repeat;
  13. background-size: cover;
  14. background-position: center;
  15. }
  16. .gallery {
  17. display: flex;
  18. justify-content: space-around;
  19. align-items: center;
  20. }
  21. .thumbnail {
  22. width: 100px;
  23. /* 初始大小 */
  24. transition: transform 0.3s ease;
  25. /* 平滑过渡效果 */
  26. }
  27. .thumbnail:hover {
  28. transform: scale(1.5);
  29. /* 鼠标经过时放大到1.5倍 */
  30. }
  31. .content-list-wrap,
  32. .banner-list {
  33. margin-bottom: 20px;
  34. }
  35. .banner-list,
  36. .banner-list img {
  37. width: 100%;
  38. height: 150px;
  39. object-fit: cover;
  40. }
  41. .swiper-wrapper {
  42. height: auto;
  43. }
  44. .mobile-nav-icon {
  45. top: calc(50% + 3px);
  46. }
  47. .header-top-bg {
  48. width: 100%;
  49. height: 14px;
  50. /* background-image: url('/main/dist/websites/images/gjjl/header-bg.png'); */
  51. }
  52. .header-top .header-top-left {
  53. /* width: 100%; */
  54. padding: 0 30px;
  55. float: left;
  56. }
  57. .header-top .header-top-right {
  58. /* width: 100%; */
  59. padding: 0 30px;
  60. float: right;
  61. }
  62. .header-top-left span:last-child,
  63. .header-top-right span:last-child {
  64. border: none;
  65. /* float: right; */
  66. }
  67. /* .header-top .header-top-left span:nth-last-of-type(1),
  68. .header-top .header-top-left span:nth-last-of-type(2),
  69. .header-top .header-top-left span:nth-last-of-type(3) {
  70. float: right;
  71. } */
  72. /* .header-top .header-top-left span:nth-last-of-type(3),.header-top .header-top-left span:nth-last-of-type(4){
  73. border: none;
  74. } */
  75. .header-top div span {
  76. padding: 0 10px;
  77. color: white;
  78. border-right: 1px solid #fff;
  79. }
  80. .header-top div span:first-child {
  81. padding-left: 0;
  82. }
  83. .header-top div span a {
  84. color: white;
  85. }
  86. .header-img {
  87. clear: both;
  88. display: flex;
  89. justify-content: center;
  90. align-items: center;
  91. margin-bottom: 10px;
  92. }
  93. .header-img .header-img-line {
  94. width: 1px;
  95. height: 50px;
  96. margin: 10px;
  97. background-color: white;
  98. }
  99. .header-img img {
  100. display: inline-block;
  101. width: auto;
  102. height: 50px;
  103. }
  104. /* 导航 */
  105. .header-nav {
  106. background-color: transparent;
  107. display: flex;
  108. justify-content: center;
  109. }
  110. /* .wrap{
  111. width: 100%;
  112. } */
  113. .header-nav > ul {
  114. /* width: 100%; */
  115. height: 40px;
  116. line-height: 40px;
  117. background-color: transparent;
  118. display: inline-block;
  119. }
  120. .header-nav > ul > li {
  121. width: 100px;
  122. float: left;
  123. display: flex;
  124. align-items: center;
  125. height: 40px;
  126. justify-content: center;
  127. }
  128. .header-nav > ul > li a {
  129. /* line-height: 50px; */
  130. font-size: 16px;
  131. }
  132. .nav-secondLevel {
  133. top: 40px;
  134. }
  135. .header-nav li:last-child {
  136. background: none;
  137. }
  138. .header-nav li:hover a {
  139. background-color: transparent;
  140. }
  141. .header-nav .nav-secondLevel {
  142. background-color: #c90303;
  143. }
  144. .header-nav .nav-secondLevel li a {
  145. border-color: #9f0d0d;
  146. background-color: #c90303;
  147. }
  148. .header-nav .nav-secondLevel li a:hover {
  149. color: #ffff00;
  150. background-color: #ff1111;
  151. }
  152. .header-nav .nav-threeLevel li a:hover {
  153. background-color: #ff1111;
  154. }
  155. .header-nav li a {
  156. position: relative;
  157. font-weight: normal;
  158. }
  159. .header-nav a i {
  160. width: 0;
  161. height: 0;
  162. border: 6px solid transparent;
  163. border-bottom-color: #fff;
  164. position: absolute;
  165. bottom: 0;
  166. left: 50%;
  167. transform: translateX(-50%);
  168. opacity: 0;
  169. }
  170. .header-nav li:hover a i {
  171. opacity: 1;
  172. }
  173. .content-row {
  174. width: 100%;
  175. }
  176. /* 主体 */
  177. .swiper-slide img {
  178. display: block;
  179. width: 100%;
  180. }
  181. .banner .slide-content {
  182. position: absolute;
  183. top: 0;
  184. left: 3rem;
  185. right: 0;
  186. bottom: 3rem;
  187. display: flex;
  188. justify-content: end;
  189. /* align-items: center; */
  190. text-align: left;
  191. flex-direction: column;
  192. color: #fff;
  193. opacity: 1;
  194. z-index: 1111;
  195. }
  196. .banner .slide-content h2 {
  197. width: 30%;
  198. font-size: 2rem;
  199. font-weight: normal;
  200. display: flex;
  201. align-items: center;
  202. }
  203. .banner .slide-content h2::before {
  204. content: "";
  205. width: 0.5rem;
  206. height: 0.5rem;
  207. margin-right: 1rem;
  208. border-radius: 50%;
  209. background-color: #fff;
  210. display: block;
  211. }
  212. .banner .slide-content p {
  213. margin-top: 1rem;
  214. width: 30%;
  215. font-size: 1rem;
  216. line-height: 30px;
  217. display: -webkit-box;
  218. -webkit-box-orient: vertical;
  219. -webkit-line-clamp: 4;
  220. overflow: hidden;
  221. }
  222. .tabs {
  223. width: 90%;
  224. display: flex;
  225. justify-content: center;
  226. align-items: center;
  227. margin: 20px auto;
  228. }
  229. .tab-button {
  230. width: 50%;
  231. background-color: #941c1e;
  232. border: 2px solid #941c1e;
  233. border-bottom: none;
  234. padding: 10px 20px;
  235. cursor: pointer;
  236. outline: none;
  237. font-size: 16px;
  238. color: #fff;
  239. position: relative;
  240. border-radius: 15px 15px 0 0;
  241. }
  242. .tab-button.active {
  243. background-color: #fff;
  244. color: #941c1e;
  245. border-radius: 15px 15px 0 0;
  246. }
  247. .tab-contents {
  248. width: 80%;
  249. margin: 3rem auto;
  250. padding: 20px;
  251. }
  252. .tab-content {
  253. display: none;
  254. }
  255. .tab-content.active {
  256. display: flex; /* 切换为 flex 布局时显示 */
  257. flex-wrap: wrap; /* 启用换行 */
  258. justify-content: space-between;
  259. }
  260. .school-container {
  261. width: 48%; /* 每个容器占 48% 的宽度,保证两列布局 */
  262. margin-bottom: 20px; /* 底部留出间距 */
  263. box-sizing: border-box;
  264. }
  265. .school-title {
  266. font-size: 24px;
  267. font-weight: bold;
  268. color: #0c3c91; /* 蓝色字体 */
  269. display: flex;
  270. align-items: center;
  271. }
  272. .school-title a{
  273. color: #0c3c91; /* 蓝色字体 */
  274. }
  275. .school-icon {
  276. color: #941c1e; /* 红色图标 */
  277. margin-left: 10px;
  278. font-size: 20px;
  279. }
  280. .school-divider {
  281. border: none;
  282. border-top: 1px solid #000; /* 红色细横线 */
  283. margin: 10px 0;
  284. position: relative;
  285. }
  286. .school-divider::after {
  287. content: "";
  288. width: 10%;
  289. height: 2px;
  290. background-color: #941c1e;
  291. display: block;
  292. position: absolute;
  293. z-index: 11111;
  294. top: -1px;
  295. }
  296. .school-content {
  297. width: 80%;
  298. margin: 0 auto;
  299. display: flex;
  300. justify-content: space-between;
  301. align-items: flex-start;
  302. }
  303. .school-course-list {
  304. list-style-type: none;
  305. padding: 0;
  306. margin: 0;
  307. flex: 1;
  308. }
  309. .school-course-list li {
  310. font-size: 16px;
  311. margin-bottom: 12px;
  312. list-style: disc;
  313. }
  314. .school-course-list a {
  315. text-decoration: none;
  316. color: #000;
  317. transition: color 0.3s ease;
  318. }
  319. .school-course-list a:hover {
  320. color: #941c1e; /* 悬停时变成红色 */
  321. }
  322. .school-course-image {
  323. display: block;
  324. width: 86%;
  325. margin: 0 auto 8px;
  326. height: auto;
  327. }
  328. /* 底部 */
  329. .footer {
  330. padding-top: 5px;
  331. background: #580b0c url(/main/dist/websites/images/index/stripe6.png)
  332. no-repeat center bottom;
  333. background-size: 50%;
  334. }
  335. .footer-white-line {
  336. width: 98%;
  337. height: 5px;
  338. background-color: #fff;
  339. margin: 0 auto;
  340. }
  341. .footer-logo {
  342. padding: 30px 0;
  343. width: 15%;
  344. margin: 0 auto;
  345. }
  346. .footer-logo img {
  347. width: 100%;
  348. }
  349. .footer-mesg {
  350. background-color: transparent;
  351. display: flex;
  352. justify-content: space-between;
  353. padding: 10px 0;
  354. width: 98%;
  355. margin: 0 auto;
  356. }
  357. .footer-mesg > div {
  358. width: 33%;
  359. /* height: 100%; */
  360. display: flex;
  361. padding-top: 10px;
  362. padding-left: 50px;
  363. text-align: left;
  364. justify-content: space-between;
  365. flex-direction: column;
  366. border-right: 1px solid #fff;
  367. }
  368. .footer-mesg > div:first-child p {
  369. line-height: 20px;
  370. }
  371. .footer-mesg > div:last-child {
  372. border: none;
  373. }
  374. .footer-mesg > div:nth-of-type(2) {
  375. padding-left: 0;
  376. }
  377. .footer-mesg > div:nth-of-type(2) h2 {
  378. text-align: center;
  379. }
  380. .footer-mesg .lxwm > div {
  381. display: flex;
  382. align-items: center;
  383. }
  384. .footer-mesg .lxwm img {
  385. width: 25px;
  386. height: 25px;
  387. margin-right: 10px;
  388. }
  389. .footer-mesg .gzwm {
  390. display: flex;
  391. justify-content: space-around;
  392. margin-bottom: 30px;
  393. /* flex-direction: row; */
  394. }
  395. .footer-mesg .gzwm p {
  396. text-align: center;
  397. }
  398. .footer-mesg .gzwm img {
  399. width: 100px;
  400. height: 100px;
  401. }
  402. .footer-mesg a {
  403. text-decoration: none;
  404. }
  405. .footer-mesg a:hover {
  406. color: white;
  407. }
  408. .footer-link {
  409. background-color: #c1d6e3;
  410. line-height: 36px;
  411. }
  412. .footer-link ul {
  413. display: inline-block;
  414. }
  415. .footer-link ul li {
  416. display: inline-block;
  417. margin-right: 15px;
  418. }
  419. /* 列表页 */
  420. .content-list-wrap {
  421. width: 95%;
  422. border: 1px solid #941c1e;
  423. margin: 20px auto;
  424. }
  425. .crumbs {
  426. background-color: #941c1e;
  427. color: #fff;
  428. }
  429. .crumbs a {
  430. color: #fff;
  431. }
  432. .article-wrap video{
  433. max-width: 100%;
  434. height: 100%;
  435. }
  436. /* 目录页 */
  437. .catalog-title {
  438. border-color: #941c1e;
  439. }
  440. .mobile-nav-icon span {
  441. background-color: #fff;
  442. }
  443. .mobile-header-nav > ul {
  444. background-color: #941c1e;
  445. }
  446. .mobile-header-nav > ul > li {
  447. background-color: #941c1e;
  448. }
  449. /*
  450. .mobile-header-nav li a {
  451. border-color: #47ade8;
  452. }
  453. .mobile-header-nav .nav-secondLevel {
  454. background-color: #0099ff;
  455. }
  456. .mobile-header-nav .nav-threeLevel {
  457. background-color: #6dbedc;
  458. } */
  459. /* 响应式 */
  460. @media screen and (max-width: 1600px) {
  461. }
  462. @media screen and (max-width: 1280px) {
  463. }
  464. @media screen and (max-width: 1080px) {
  465. }
  466. @media screen and (max-width: 980px) {
  467. .mobile-nav-icon,
  468. .mobile-header-nav {
  469. display: none;
  470. }
  471. .header-top .wrap {
  472. width: 100%;
  473. }
  474. .header-img img {
  475. width: auto;
  476. }
  477. .footer-mesg {
  478. flex-direction: column;
  479. }
  480. .footer-mesg > div {
  481. width: 100%;
  482. border: none;
  483. padding-left: 10px;
  484. }
  485. }
  486. @media screen and (max-width: 780px) {
  487. .school-container {
  488. width: 98%; /* 每个容器占 48% 的宽度,保证两列布局 */
  489. margin-bottom: 20px; /* 底部留出间距 */
  490. box-sizing: border-box;
  491. }
  492. .mobile-nav-icon,
  493. .mobile-header-nav {
  494. display: block;
  495. }
  496. .header-nav {
  497. display: none;
  498. }
  499. .header-img {
  500. width: 90%;
  501. flex-direction: column;
  502. }
  503. .header-top-left,
  504. .header-top-right {
  505. display: none;
  506. }
  507. .mobile-nav-icon {
  508. right: 20px;
  509. }
  510. .header-nav {
  511. display: none;
  512. }
  513. .header-top .wrap {
  514. width: 100%;
  515. }
  516. .header-img {
  517. width: 90%;
  518. flex-direction: column;
  519. }
  520. .header-top-left,
  521. .header-top-right {
  522. display: none;
  523. }
  524. .header-img img {
  525. width: 80%;
  526. object-fit: contain;
  527. margin-bottom: unset;
  528. margin-top: 10px;
  529. }
  530. .mobile-nav-icon {
  531. right: 20px;
  532. }
  533. .wrap {
  534. width: 90%;
  535. }
  536. .footer-logo {
  537. width: 80%;
  538. padding: 30px 0 0 0;
  539. }
  540. }
  541. @media screen and (max-width: 640px) {
  542. .content {
  543. margin-top: 105px !important;
  544. }
  545. .banner .slide-content{
  546. left: 1rem;
  547. bottom: 1rem;
  548. }
  549. .banner .slide-content h2{
  550. font-size: 1.4rem;
  551. }
  552. .banner .slide-content p{
  553. line-height: 1rem;
  554. }
  555. .tab-contents{
  556. padding: 0;
  557. }
  558. }