123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609 |
- :host {
- --wood-primary: #8B4513; /* 木质主色 */
- --wood-secondary: #A0522D; /* 木质辅色 */
- --wood-light: #DEB887; /* 木质亮色 */
- --brick-color: #7D5A50; /* 青砖色 */
- --porcelain-blue: #2a5daa; /* 青花蓝 */
- --gold-yellow: #e8c34d; /* 稻穗金 */
- --mountain-green: #4a6b3d; /* 山林绿 */
- --river-blue: #4a86e8; /* 赣江蓝 */
- }
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- body {
- font-family: 'Microsoft YaHei', 'Segoe UI', sans-serif;
- background-color: #f5f2e9;
- color: #333;
- line-height: 1.6;
- overflow-x: hidden;
- 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>');
- }
- /* 页面标题 */
- .page-header {
- background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
- url('https://images.unsplash.com/photo-1606193431680-8f5a06d61c9b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center/cover;
- height: 300px;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- color: white;
- text-align: center;
- position: relative;
- }
- .page-title {
- font-size: 3.5rem;
- font-weight: bold;
- margin-bottom: 1rem;
- text-shadow: 0 2px 10px rgba(0,0,0,0.5);
- }
- .page-subtitle {
- font-size: 1.5rem;
- max-width: 800px;
- }
- /* 内容区域 */
- .content-section {
- padding: 4rem 5%;
- background-color: #fcfaf5;
- position: relative;
- }
- .content-section::before {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- height: 10px;
- background: linear-gradient(90deg, var(--wood-primary), var(--wood-secondary));
- }
- .section-header {
- display: flex;
- align-items: center;
- margin-bottom: 3rem;
- position: relative;
- }
- .section-title {
- font-size: 2.2rem;
- color: var(--wood-primary);
- position: relative;
- padding-left: 1.5rem;
- z-index: 2;
- background: linear-gradient(90deg, var(--wood-light), transparent 80%);
- padding: 0.5rem 1.5rem;
- border-radius: 0 30px 30px 0;
- }
- .section-title::before {
- content: '';
- position: absolute;
- left: 0;
- top: 50%;
- transform: translateY(-50%);
- width: 8px;
- height: 40px;
- background: var(--wood-primary);
- border-radius: 4px;
- }
- .section-content {
- display: flex;
- flex-wrap: wrap;
- gap: 2rem;
- margin-top: 2rem;
- }
- /* 走进协会 */
- .org-chart-container {
- flex: 1;
- min-width: 300px;
- background: white;
- border-radius: 12px;
- overflow: hidden;
- box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
- border: 2px solid var(--wood-light);
- position: relative;
- }
- .org-header {
- padding: 1.2rem;
- background: linear-gradient(90deg, var(--wood-primary), var(--wood-secondary));
- color: white;
- display: flex;
- align-items: center;
- }
- .org-body {
- padding: 1.5rem;
- height: 500px;
- }
- .leaders-container {
- flex: 1;
- min-width: 300px;
- display: flex;
- flex-direction: column;
- gap: 1.5rem;
- }
- .leader-card {
- background: white;
- border-radius: 12px;
- overflow: hidden;
- box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
- display: flex;
- border: 2px solid var(--wood-light);
- transition: all 0.3s ease;
- }
- .leader-card:hover {
- transform: translateY(-5px);
- box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
- }
- .leader-img {
- width: 150px;
- height: 180px;
- background: #ddd;
- position: relative;
- overflow: hidden;
- }
- .leader-img::after {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background: radial-gradient(circle, transparent 60%, rgba(0,0,0,0.7));
- border: 5px solid var(--wood-light);
- border-radius: 50%;
- box-sizing: border-box;
- }
- .leader-info {
- flex: 1;
- padding: 1.5rem;
- position: relative;
- }
- .leader-info::before {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- width: 4px;
- height: 100%;
- background: var(--wood-primary);
- }
- .leader-name {
- font-size: 1.5rem;
- color: var(--wood-primary);
- margin-bottom: 0.5rem;
- }
- .leader-title {
- color: var(--wood-secondary);
- margin-bottom: 1rem;
- }
- .leader-desc {
- color: #666;
- font-size: 0.95rem;
- }
- .ar-tag {
- position: absolute;
- top: 1rem;
- right: 1rem;
- background: var(--porcelain-blue);
- color: white;
- padding: 0.3rem 0.8rem;
- border-radius: 30px;
- font-size: 0.8rem;
- }
- /* 协会章程 */
- .constitution-container {
- margin-top: 3rem;
- background: white;
- border-radius: 12px;
- overflow: hidden;
- box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
- border: 2px solid var(--wood-light);
- position: relative;
- }
- .search-box {
- padding: 1.5rem;
- background: linear-gradient(135deg, #4a86e8 0%, #2a5daa 100%);
- display: flex;
- align-items: center;
- position: relative;
- overflow: hidden;
- }
- .search-box::before {
- content: '';
- position: absolute;
- top: -50px;
- right: -50px;
- width: 150px;
- height: 150px;
- 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>');
- background-size: contain;
- transform: rotate(20deg);
- }
- .search-input {
- flex: 1;
- padding: 1rem 1.5rem;
- border: none;
- border-radius: 50px;
- font-size: 1.1rem;
- box-shadow: 0 4px 10px rgba(0,0,0,0.2);
- }
- .search-btn {
- background: var(--gold-yellow);
- color: var(--wood-primary);
- border: none;
- padding: 1rem 2rem;
- border-radius: 50px;
- margin-left: 1rem;
- font-weight: bold;
- cursor: pointer;
- transition: all 0.3s ease;
- box-shadow: 0 4px 10px rgba(0,0,0,0.2);
- }
- .search-btn:hover {
- background: #d9b347;
- transform: translateY(-2px);
- }
- .constitution-content {
- padding: 2rem;
- max-height: 400px;
- overflow-y: auto;
- background: #f9f6f0;
- font-family: 'SimSun', serif;
- line-height: 2;
- position: relative;
- }
- .constitution-content::before {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- 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>');
- opacity: 0.3;
- pointer-events: none;
- }
- .highlight {
- background-color: rgba(232, 195, 77, 0.3);
- padding: 0 2px;
- border-radius: 2px;
- font-weight: bold;
- }
- /* 学术体系 */
- .academic-calendar {
- flex: 1;
- min-width: 300px;
- background: white;
- border-radius: 12px;
- overflow: hidden;
- box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
- border: 2px solid var(--wood-light);
- }
- .calendar-header {
- padding: 1.2rem;
- background: linear-gradient(90deg, var(--mountain-green), #5d8c5a);
- color: white;
- display: flex;
- align-items: center;
- }
- .calendar-body {
- padding: 1.5rem;
- height: 400px;
- }
- .standards-container {
- flex: 1;
- min-width: 300px;
- background: white;
- border-radius: 12px;
- overflow: hidden;
- box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
- border: 2px solid var(--wood-light);
- }
- .standards-header {
- padding: 1.2rem;
- background: linear-gradient(90deg, var(--wood-primary), var(--wood-secondary));
- color: white;
- display: flex;
- align-items: center;
- }
- .standards-body {
- padding: 1.5rem;
- }
- .versions {
- display: flex;
- gap: 1.5rem;
- margin-top: 1rem;
- }
- .version-card {
- flex: 1;
- background: #f9f6f0;
- border-radius: 8px;
- padding: 1.5rem;
- position: relative;
- border: 1px solid var(--wood-light);
- }
- .version-title {
- font-size: 1.2rem;
- color: var(--wood-primary);
- margin-bottom: 1rem;
- padding-bottom: 0.5rem;
- border-bottom: 2px solid var(--wood-light);
- }
- .version-content {
- line-height: 1.8;
- }
- .diff-highlight {
- background-color: rgba(255, 0, 0, 0.1);
- text-decoration: line-through;
- }
- .new-highlight {
- background-color: rgba(0, 128, 0, 0.1);
- font-weight: bold;
- }
- .diff-highlight.active-highlight {
- background-color: rgba(255, 0, 0, 0.2);
- }
- .new-highlight.active-highlight {
- background-color: rgba(0, 128, 0, 0.2);
- }
- /* 人才培养 */
- .training-container {
- display: flex;
- flex-wrap: wrap;
- gap: 2rem;
- margin-top: 2rem;
- }
- .training-card {
- flex: 1;
- min-width: 300px;
- background: white;
- border-radius: 12px;
- overflow: hidden;
- box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
- border: 2px solid var(--wood-light);
- }
- .training-header {
- padding: 1.2rem;
- background: linear-gradient(90deg, var(--porcelain-blue), #3a7de8);
- color: white;
- display: flex;
- align-items: center;
- }
- .training-body {
- padding: 1.5rem;
- }
- .progress-track {
- height: 40px;
- background: #f0e6d2;
- border-radius: 20px;
- overflow: hidden;
- margin: 1.5rem 0;
- position: relative;
- box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
- border: 2px solid var(--wood-light);
- }
- .progress-bar {
- height: 100%;
- background: linear-gradient(90deg, var(--gold-yellow), #d9b347);
- width: 65%;
- border-radius: 20px;
- position: relative;
- display: flex;
- align-items: center;
- padding-left: 20px;
- color: var(--wood-primary);
- font-weight: bold;
- box-shadow: 0 0 10px rgba(232, 195, 77, 0.5);
- }
- .progress-bar::after {
- content: '';
- position: absolute;
- right: 0;
- top: 0;
- width: 50px;
- height: 100%;
- 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;
- background-size: 30px;
- }
- .courses {
- display: grid;
- grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
- gap: 1.5rem;
- margin-top: 1rem;
- }
- .course-card {
- background: #f9f6f0;
- border-radius: 8px;
- overflow: hidden;
- box-shadow: 0 4px 10px rgba(0,0,0,0.08);
- border: 1px solid var(--wood-light);
- position: relative;
- transition: all 0.3s ease;
- }
- .course-card:hover {
- transform: translateY(-5px);
- box-shadow: 0 8px 20px rgba(0,0,0,0.15);
- }
- .course-img {
- height: 160px;
- background: #ddd;
- position: relative;
- overflow: hidden;
- }
- .course-img::before {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background: linear-gradient(transparent 60%, rgba(0,0,0,0.6));
- }
- .course-content {
- padding: 1.2rem;
- }
- .course-title {
- font-size: 1.2rem;
- color: var(--wood-primary);
- margin-bottom: 0.5rem;
- }
- .course-meta {
- display: flex;
- justify-content: space-between;
- color: var(--wood-secondary);
- font-size: 0.9rem;
- margin-top: 1rem;
- }
- /* 页脚 */
- .footer {
- background: var(--wood-primary);
- color: #f0e6d2;
- padding: 3rem 5% 2rem;
- margin-top: 3rem;
- }
- .footer-content {
- display: flex;
- flex-wrap: wrap;
- gap: 3rem;
- margin-bottom: 2rem;
- }
- .footer-column {
- flex: 1;
- min-width: 200px;
- }
- .footer-column h3 {
- color: var(--gold-yellow);
- margin-bottom: 1.5rem;
- position: relative;
- padding-bottom: 0.5rem;
- }
- .footer-column h3::after {
- content: '';
- position: absolute;
- bottom: 0;
- left: 0;
- width: 40px;
- height: 2px;
- background: var(--gold-yellow);
- }
- .footer-column ul {
- list-style: none;
- }
- .footer-column ul li {
- margin-bottom: 0.8rem;
- }
- .footer-column a {
- color: #f0e6d2;
- text-decoration: none;
- transition: color 0.3s ease;
- }
- .footer-column a:hover {
- color: var(--gold-yellow);
- }
- .copyright {
- text-align: center;
- padding-top: 2rem;
- border-top: 1px solid rgba(240, 230, 210, 0.3);
- color: #d9c7a7;
- font-size: 0.9rem;
- }
- /* 动画效果 */
- @keyframes float {
- 0% { transform: translateY(0px); }
- 50% { transform: translateY(-10px); }
- 100% { transform: translateY(0px); }
- }
- .floating {
- animation: float 3s ease-in-out infinite;
- }
- /* 响应式设计 */
- @media (max-width: 768px) {
- .section-content, .versions, .training-container {
- flex-direction: column;
- }
-
- .leader-card {
- flex-direction: column;
- }
-
- .leader-img {
- width: 100%;
- height: 200px;
- }
- }
|