page-association.scss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609
  1. :host {
  2. --wood-primary: #8B4513; /* 木质主色 */
  3. --wood-secondary: #A0522D; /* 木质辅色 */
  4. --wood-light: #DEB887; /* 木质亮色 */
  5. --brick-color: #7D5A50; /* 青砖色 */
  6. --porcelain-blue: #2a5daa; /* 青花蓝 */
  7. --gold-yellow: #e8c34d; /* 稻穗金 */
  8. --mountain-green: #4a6b3d; /* 山林绿 */
  9. --river-blue: #4a86e8; /* 赣江蓝 */
  10. }
  11. * {
  12. margin: 0;
  13. padding: 0;
  14. box-sizing: border-box;
  15. }
  16. body {
  17. font-family: 'Microsoft YaHei', 'Segoe UI', sans-serif;
  18. background-color: #f5f2e9;
  19. color: #333;
  20. line-height: 1.6;
  21. overflow-x: hidden;
  22. background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23f5f2e9"/><path d="M0,0 L100,100 M100,0 L0,100" stroke="%23e8e0d022" stroke-width="1"/></svg>');
  23. }
  24. /* 页面标题 */
  25. .page-header {
  26. background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
  27. url('https://images.unsplash.com/photo-1606193431680-8f5a06d61c9b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center/cover;
  28. height: 300px;
  29. display: flex;
  30. flex-direction: column;
  31. justify-content: center;
  32. align-items: center;
  33. color: white;
  34. text-align: center;
  35. position: relative;
  36. }
  37. .page-title {
  38. font-size: 3.5rem;
  39. font-weight: bold;
  40. margin-bottom: 1rem;
  41. text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  42. }
  43. .page-subtitle {
  44. font-size: 1.5rem;
  45. max-width: 800px;
  46. }
  47. /* 内容区域 */
  48. .content-section {
  49. padding: 4rem 5%;
  50. background-color: #fcfaf5;
  51. position: relative;
  52. }
  53. .content-section::before {
  54. content: '';
  55. position: absolute;
  56. top: 0;
  57. left: 0;
  58. right: 0;
  59. height: 10px;
  60. background: linear-gradient(90deg, var(--wood-primary), var(--wood-secondary));
  61. }
  62. .section-header {
  63. display: flex;
  64. align-items: center;
  65. margin-bottom: 3rem;
  66. position: relative;
  67. }
  68. .section-title {
  69. font-size: 2.2rem;
  70. color: var(--wood-primary);
  71. position: relative;
  72. padding-left: 1.5rem;
  73. z-index: 2;
  74. background: linear-gradient(90deg, var(--wood-light), transparent 80%);
  75. padding: 0.5rem 1.5rem;
  76. border-radius: 0 30px 30px 0;
  77. }
  78. .section-title::before {
  79. content: '';
  80. position: absolute;
  81. left: 0;
  82. top: 50%;
  83. transform: translateY(-50%);
  84. width: 8px;
  85. height: 40px;
  86. background: var(--wood-primary);
  87. border-radius: 4px;
  88. }
  89. .section-content {
  90. display: flex;
  91. flex-wrap: wrap;
  92. gap: 2rem;
  93. margin-top: 2rem;
  94. }
  95. /* 走进协会 */
  96. .org-chart-container {
  97. flex: 1;
  98. min-width: 300px;
  99. background: white;
  100. border-radius: 12px;
  101. overflow: hidden;
  102. box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  103. border: 2px solid var(--wood-light);
  104. position: relative;
  105. }
  106. .org-header {
  107. padding: 1.2rem;
  108. background: linear-gradient(90deg, var(--wood-primary), var(--wood-secondary));
  109. color: white;
  110. display: flex;
  111. align-items: center;
  112. }
  113. .org-body {
  114. padding: 1.5rem;
  115. height: 500px;
  116. }
  117. .leaders-container {
  118. flex: 1;
  119. min-width: 300px;
  120. display: flex;
  121. flex-direction: column;
  122. gap: 1.5rem;
  123. }
  124. .leader-card {
  125. background: white;
  126. border-radius: 12px;
  127. overflow: hidden;
  128. box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  129. display: flex;
  130. border: 2px solid var(--wood-light);
  131. transition: all 0.3s ease;
  132. }
  133. .leader-card:hover {
  134. transform: translateY(-5px);
  135. box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  136. }
  137. .leader-img {
  138. width: 150px;
  139. height: 180px;
  140. background: #ddd;
  141. position: relative;
  142. overflow: hidden;
  143. }
  144. .leader-img::after {
  145. content: '';
  146. position: absolute;
  147. top: 0;
  148. left: 0;
  149. width: 100%;
  150. height: 100%;
  151. background: radial-gradient(circle, transparent 60%, rgba(0,0,0,0.7));
  152. border: 5px solid var(--wood-light);
  153. border-radius: 50%;
  154. box-sizing: border-box;
  155. }
  156. .leader-info {
  157. flex: 1;
  158. padding: 1.5rem;
  159. position: relative;
  160. }
  161. .leader-info::before {
  162. content: '';
  163. position: absolute;
  164. top: 0;
  165. left: 0;
  166. width: 4px;
  167. height: 100%;
  168. background: var(--wood-primary);
  169. }
  170. .leader-name {
  171. font-size: 1.5rem;
  172. color: var(--wood-primary);
  173. margin-bottom: 0.5rem;
  174. }
  175. .leader-title {
  176. color: var(--wood-secondary);
  177. margin-bottom: 1rem;
  178. }
  179. .leader-desc {
  180. color: #666;
  181. font-size: 0.95rem;
  182. }
  183. .ar-tag {
  184. position: absolute;
  185. top: 1rem;
  186. right: 1rem;
  187. background: var(--porcelain-blue);
  188. color: white;
  189. padding: 0.3rem 0.8rem;
  190. border-radius: 30px;
  191. font-size: 0.8rem;
  192. }
  193. /* 协会章程 */
  194. .constitution-container {
  195. margin-top: 3rem;
  196. background: white;
  197. border-radius: 12px;
  198. overflow: hidden;
  199. box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  200. border: 2px solid var(--wood-light);
  201. position: relative;
  202. }
  203. .search-box {
  204. padding: 1.5rem;
  205. background: linear-gradient(135deg, #4a86e8 0%, #2a5daa 100%);
  206. display: flex;
  207. align-items: center;
  208. position: relative;
  209. overflow: hidden;
  210. }
  211. .search-box::before {
  212. content: '';
  213. position: absolute;
  214. top: -50px;
  215. right: -50px;
  216. width: 150px;
  217. height: 150px;
  218. background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20,50 Q40,20 60,50 T100,50" fill="none" stroke="white" stroke-width="1" opacity="0.2"/></svg>');
  219. background-size: contain;
  220. transform: rotate(20deg);
  221. }
  222. .search-input {
  223. flex: 1;
  224. padding: 1rem 1.5rem;
  225. border: none;
  226. border-radius: 50px;
  227. font-size: 1.1rem;
  228. box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  229. }
  230. .search-btn {
  231. background: var(--gold-yellow);
  232. color: var(--wood-primary);
  233. border: none;
  234. padding: 1rem 2rem;
  235. border-radius: 50px;
  236. margin-left: 1rem;
  237. font-weight: bold;
  238. cursor: pointer;
  239. transition: all 0.3s ease;
  240. box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  241. }
  242. .search-btn:hover {
  243. background: #d9b347;
  244. transform: translateY(-2px);
  245. }
  246. .constitution-content {
  247. padding: 2rem;
  248. max-height: 400px;
  249. overflow-y: auto;
  250. background: #f9f6f0;
  251. font-family: 'SimSun', serif;
  252. line-height: 2;
  253. position: relative;
  254. }
  255. .constitution-content::before {
  256. content: '';
  257. position: absolute;
  258. top: 0;
  259. left: 0;
  260. width: 100%;
  261. height: 100%;
  262. background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M10,10 L90,10 L90,90 L10,90 Z" fill="none" stroke="%23e8e0d0" stroke-width="1"/></svg>');
  263. opacity: 0.3;
  264. pointer-events: none;
  265. }
  266. .highlight {
  267. background-color: rgba(232, 195, 77, 0.3);
  268. padding: 0 2px;
  269. border-radius: 2px;
  270. font-weight: bold;
  271. }
  272. /* 学术体系 */
  273. .academic-calendar {
  274. flex: 1;
  275. min-width: 300px;
  276. background: white;
  277. border-radius: 12px;
  278. overflow: hidden;
  279. box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  280. border: 2px solid var(--wood-light);
  281. }
  282. .calendar-header {
  283. padding: 1.2rem;
  284. background: linear-gradient(90deg, var(--mountain-green), #5d8c5a);
  285. color: white;
  286. display: flex;
  287. align-items: center;
  288. }
  289. .calendar-body {
  290. padding: 1.5rem;
  291. height: 400px;
  292. }
  293. .standards-container {
  294. flex: 1;
  295. min-width: 300px;
  296. background: white;
  297. border-radius: 12px;
  298. overflow: hidden;
  299. box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  300. border: 2px solid var(--wood-light);
  301. }
  302. .standards-header {
  303. padding: 1.2rem;
  304. background: linear-gradient(90deg, var(--wood-primary), var(--wood-secondary));
  305. color: white;
  306. display: flex;
  307. align-items: center;
  308. }
  309. .standards-body {
  310. padding: 1.5rem;
  311. }
  312. .versions {
  313. display: flex;
  314. gap: 1.5rem;
  315. margin-top: 1rem;
  316. }
  317. .version-card {
  318. flex: 1;
  319. background: #f9f6f0;
  320. border-radius: 8px;
  321. padding: 1.5rem;
  322. position: relative;
  323. border: 1px solid var(--wood-light);
  324. }
  325. .version-title {
  326. font-size: 1.2rem;
  327. color: var(--wood-primary);
  328. margin-bottom: 1rem;
  329. padding-bottom: 0.5rem;
  330. border-bottom: 2px solid var(--wood-light);
  331. }
  332. .version-content {
  333. line-height: 1.8;
  334. }
  335. .diff-highlight {
  336. background-color: rgba(255, 0, 0, 0.1);
  337. text-decoration: line-through;
  338. }
  339. .new-highlight {
  340. background-color: rgba(0, 128, 0, 0.1);
  341. font-weight: bold;
  342. }
  343. .diff-highlight.active-highlight {
  344. background-color: rgba(255, 0, 0, 0.2);
  345. }
  346. .new-highlight.active-highlight {
  347. background-color: rgba(0, 128, 0, 0.2);
  348. }
  349. /* 人才培养 */
  350. .training-container {
  351. display: flex;
  352. flex-wrap: wrap;
  353. gap: 2rem;
  354. margin-top: 2rem;
  355. }
  356. .training-card {
  357. flex: 1;
  358. min-width: 300px;
  359. background: white;
  360. border-radius: 12px;
  361. overflow: hidden;
  362. box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  363. border: 2px solid var(--wood-light);
  364. }
  365. .training-header {
  366. padding: 1.2rem;
  367. background: linear-gradient(90deg, var(--porcelain-blue), #3a7de8);
  368. color: white;
  369. display: flex;
  370. align-items: center;
  371. }
  372. .training-body {
  373. padding: 1.5rem;
  374. }
  375. .progress-track {
  376. height: 40px;
  377. background: #f0e6d2;
  378. border-radius: 20px;
  379. overflow: hidden;
  380. margin: 1.5rem 0;
  381. position: relative;
  382. box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
  383. border: 2px solid var(--wood-light);
  384. }
  385. .progress-bar {
  386. height: 100%;
  387. background: linear-gradient(90deg, var(--gold-yellow), #d9b347);
  388. width: 65%;
  389. border-radius: 20px;
  390. position: relative;
  391. display: flex;
  392. align-items: center;
  393. padding-left: 20px;
  394. color: var(--wood-primary);
  395. font-weight: bold;
  396. box-shadow: 0 0 10px rgba(232, 195, 77, 0.5);
  397. }
  398. .progress-bar::after {
  399. content: '';
  400. position: absolute;
  401. right: 0;
  402. top: 0;
  403. width: 50px;
  404. height: 100%;
  405. background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M10,50 L40,20 L40,80 Z" fill="%238B4513"/></svg>') right center no-repeat;
  406. background-size: 30px;
  407. }
  408. .courses {
  409. display: grid;
  410. grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  411. gap: 1.5rem;
  412. margin-top: 1rem;
  413. }
  414. .course-card {
  415. background: #f9f6f0;
  416. border-radius: 8px;
  417. overflow: hidden;
  418. box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  419. border: 1px solid var(--wood-light);
  420. position: relative;
  421. transition: all 0.3s ease;
  422. }
  423. .course-card:hover {
  424. transform: translateY(-5px);
  425. box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  426. }
  427. .course-img {
  428. height: 160px;
  429. background: #ddd;
  430. position: relative;
  431. overflow: hidden;
  432. }
  433. .course-img::before {
  434. content: '';
  435. position: absolute;
  436. top: 0;
  437. left: 0;
  438. width: 100%;
  439. height: 100%;
  440. background: linear-gradient(transparent 60%, rgba(0,0,0,0.6));
  441. }
  442. .course-content {
  443. padding: 1.2rem;
  444. }
  445. .course-title {
  446. font-size: 1.2rem;
  447. color: var(--wood-primary);
  448. margin-bottom: 0.5rem;
  449. }
  450. .course-meta {
  451. display: flex;
  452. justify-content: space-between;
  453. color: var(--wood-secondary);
  454. font-size: 0.9rem;
  455. margin-top: 1rem;
  456. }
  457. /* 页脚 */
  458. .footer {
  459. background: var(--wood-primary);
  460. color: #f0e6d2;
  461. padding: 3rem 5% 2rem;
  462. margin-top: 3rem;
  463. }
  464. .footer-content {
  465. display: flex;
  466. flex-wrap: wrap;
  467. gap: 3rem;
  468. margin-bottom: 2rem;
  469. }
  470. .footer-column {
  471. flex: 1;
  472. min-width: 200px;
  473. }
  474. .footer-column h3 {
  475. color: var(--gold-yellow);
  476. margin-bottom: 1.5rem;
  477. position: relative;
  478. padding-bottom: 0.5rem;
  479. }
  480. .footer-column h3::after {
  481. content: '';
  482. position: absolute;
  483. bottom: 0;
  484. left: 0;
  485. width: 40px;
  486. height: 2px;
  487. background: var(--gold-yellow);
  488. }
  489. .footer-column ul {
  490. list-style: none;
  491. }
  492. .footer-column ul li {
  493. margin-bottom: 0.8rem;
  494. }
  495. .footer-column a {
  496. color: #f0e6d2;
  497. text-decoration: none;
  498. transition: color 0.3s ease;
  499. }
  500. .footer-column a:hover {
  501. color: var(--gold-yellow);
  502. }
  503. .copyright {
  504. text-align: center;
  505. padding-top: 2rem;
  506. border-top: 1px solid rgba(240, 230, 210, 0.3);
  507. color: #d9c7a7;
  508. font-size: 0.9rem;
  509. }
  510. /* 动画效果 */
  511. @keyframes float {
  512. 0% { transform: translateY(0px); }
  513. 50% { transform: translateY(-10px); }
  514. 100% { transform: translateY(0px); }
  515. }
  516. .floating {
  517. animation: float 3s ease-in-out infinite;
  518. }
  519. /* 响应式设计 */
  520. @media (max-width: 768px) {
  521. .section-content, .versions, .training-container {
  522. flex-direction: column;
  523. }
  524. .leader-card {
  525. flex-direction: column;
  526. }
  527. .leader-img {
  528. width: 100%;
  529. height: 200px;
  530. }
  531. }