|
@@ -1,16 +1,14 @@
|
|
|
-// 颜色变量定义
|
|
|
: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; // 赣江蓝
|
|
|
+ --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;
|
|
@@ -26,9 +24,9 @@ body {
|
|
|
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.7)),
|
|
|
+ background: linear-gradient(lch(31.77% 44.55 69.48 / 0.983)),
|
|
|
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;
|
|
@@ -38,7 +36,6 @@ body {
|
|
|
color: white;
|
|
|
text-align: center;
|
|
|
position: relative;
|
|
|
- border-bottom: 5px solid var(--wood-primary);
|
|
|
}
|
|
|
|
|
|
.page-title {
|
|
@@ -46,24 +43,18 @@ body {
|
|
|
font-weight: bold;
|
|
|
margin-bottom: 1rem;
|
|
|
text-shadow: 0 2px 10px rgba(0,0,0,0.5);
|
|
|
- font-family: 'SimSun', serif;
|
|
|
}
|
|
|
|
|
|
.page-subtitle {
|
|
|
font-size: 1.5rem;
|
|
|
max-width: 800px;
|
|
|
- padding: 0 2rem;
|
|
|
}
|
|
|
|
|
|
-// 内容区域
|
|
|
+/* 内容区域 */
|
|
|
.content-section {
|
|
|
padding: 4rem 5%;
|
|
|
background-color: #fcfaf5;
|
|
|
position: relative;
|
|
|
- margin: 2rem auto;
|
|
|
- max-width: 1200px;
|
|
|
- box-shadow: 0 0 20px rgba(0,0,0,0.1);
|
|
|
- border-radius: 8px;
|
|
|
}
|
|
|
|
|
|
.content-section::before {
|
|
@@ -74,7 +65,6 @@ body {
|
|
|
right: 0;
|
|
|
height: 10px;
|
|
|
background: linear-gradient(90deg, var(--wood-primary), var(--wood-secondary));
|
|
|
- border-radius: 8px 8px 0 0;
|
|
|
}
|
|
|
|
|
|
.section-header {
|
|
@@ -93,7 +83,6 @@ body {
|
|
|
background: linear-gradient(90deg, var(--wood-light), transparent 80%);
|
|
|
padding: 0.5rem 1.5rem;
|
|
|
border-radius: 0 30px 30px 0;
|
|
|
- font-family: 'SimSun', serif;
|
|
|
}
|
|
|
|
|
|
.section-title::before {
|
|
@@ -115,7 +104,7 @@ body {
|
|
|
margin-top: 2rem;
|
|
|
}
|
|
|
|
|
|
-// 走进协会
|
|
|
+/* 走进协会 */
|
|
|
.org-chart-container {
|
|
|
flex: 1;
|
|
|
min-width: 300px;
|
|
@@ -133,12 +122,6 @@ body {
|
|
|
color: white;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- gap: 1rem;
|
|
|
- font-size: 1.2rem;
|
|
|
-}
|
|
|
-
|
|
|
-.org-header i {
|
|
|
- font-size: 1.5rem;
|
|
|
}
|
|
|
|
|
|
.org-body {
|
|
@@ -162,7 +145,6 @@ body {
|
|
|
display: flex;
|
|
|
border: 2px solid var(--wood-light);
|
|
|
transition: all 0.3s ease;
|
|
|
- position: relative;
|
|
|
}
|
|
|
|
|
|
.leader-card:hover {
|
|
@@ -177,10 +159,10 @@ body {
|
|
|
background-position: center;
|
|
|
background-repeat: no-repeat;
|
|
|
position: relative;
|
|
|
- border-radius: 50% / 60%;
|
|
|
+ border-radius: 50% / 60%; /* 水平半径50%,垂直半径60% */
|
|
|
overflow: hidden;
|
|
|
- margin: 1rem;
|
|
|
|
|
|
+ /* 移除或修改原有的伪元素样式 */
|
|
|
&::after {
|
|
|
content: '';
|
|
|
position: absolute;
|
|
@@ -189,9 +171,10 @@ body {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
border: 3px solid var(--wood-light);
|
|
|
- border-radius: 50% / 60%;
|
|
|
+ border-radius: 50% / 60%; /* 与父元素保持一致 */
|
|
|
box-sizing: border-box;
|
|
|
pointer-events: none;
|
|
|
+ /* 调整渐变效果 */
|
|
|
background: radial-gradient(circle, transparent 60%, rgba(0,0,0,0.2));
|
|
|
}
|
|
|
}
|
|
@@ -216,19 +199,16 @@ body {
|
|
|
font-size: 1.5rem;
|
|
|
color: var(--wood-primary);
|
|
|
margin-bottom: 0.5rem;
|
|
|
- font-family: 'SimSun', serif;
|
|
|
}
|
|
|
|
|
|
.leader-title {
|
|
|
color: var(--wood-secondary);
|
|
|
margin-bottom: 1rem;
|
|
|
- font-size: 0.95rem;
|
|
|
}
|
|
|
|
|
|
.leader-desc {
|
|
|
color: #666;
|
|
|
font-size: 0.95rem;
|
|
|
- line-height: 1.7;
|
|
|
}
|
|
|
|
|
|
.ar-tag {
|
|
@@ -240,10 +220,9 @@ body {
|
|
|
padding: 0.3rem 0.8rem;
|
|
|
border-radius: 30px;
|
|
|
font-size: 0.8rem;
|
|
|
- box-shadow: 0 2px 5px rgba(0,0,0,0.1);
|
|
|
}
|
|
|
|
|
|
-// 协会章程
|
|
|
+/* 协会章程 */
|
|
|
.constitution-container {
|
|
|
margin-top: 3rem;
|
|
|
background: white;
|
|
@@ -255,118 +234,51 @@ body {
|
|
|
}
|
|
|
|
|
|
.search-box {
|
|
|
- position: relative;
|
|
|
- display: flex;
|
|
|
- gap: 10px;
|
|
|
padding: 1.5rem;
|
|
|
- background: linear-gradient(135deg, var(--porcelain-blue) 0%, var(--river-blue) 100%);
|
|
|
- border-radius: 12px 12px 0 0;
|
|
|
-
|
|
|
- &::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);
|
|
|
- }
|
|
|
+ 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: 0.8rem 1.5rem;
|
|
|
+ padding: 1rem 1.5rem;
|
|
|
border: none;
|
|
|
border-radius: 50px;
|
|
|
- font-size: 1rem;
|
|
|
- box-shadow: 0 2px 8px rgba(0,0,0,0.1);
|
|
|
- transition: all 0.3s ease;
|
|
|
-
|
|
|
- &:focus {
|
|
|
- outline: none;
|
|
|
- box-shadow: 0 2px 12px rgba(0,0,0,0.2);
|
|
|
- }
|
|
|
+ font-size: 1.1rem;
|
|
|
+ box-shadow: 0 4px 10px rgba(0,0,0,0.2);
|
|
|
}
|
|
|
|
|
|
-.search-btn, .clear-btn {
|
|
|
- padding: 0.8rem 1.5rem;
|
|
|
+.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;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- gap: 8px;
|
|
|
-}
|
|
|
-
|
|
|
-.search-btn {
|
|
|
- background: var(--gold-yellow);
|
|
|
- color: var(--wood-primary);
|
|
|
- box-shadow: 0 2px 8px rgba(0,0,0,0.1);
|
|
|
-
|
|
|
- &:hover {
|
|
|
- background: #d9b347;
|
|
|
- transform: translateY(-2px);
|
|
|
- box-shadow: 0 4px 12px rgba(0,0,0,0.15);
|
|
|
- }
|
|
|
+ box-shadow: 0 4px 10px rgba(0,0,0,0.2);
|
|
|
}
|
|
|
|
|
|
-.clear-btn {
|
|
|
- background: #f44336;
|
|
|
- color: white;
|
|
|
-
|
|
|
- &:hover {
|
|
|
- background: #d32f2f;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-.search-results {
|
|
|
- padding: 1rem 1.5rem;
|
|
|
- background: rgba(255,255,255,0.9);
|
|
|
- border-bottom: 1px solid #eee;
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- align-items: center;
|
|
|
-
|
|
|
- p {
|
|
|
- margin: 0;
|
|
|
- color: var(--wood-primary);
|
|
|
- font-weight: bold;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-.navigation-buttons {
|
|
|
- display: flex;
|
|
|
- gap: 10px;
|
|
|
-
|
|
|
- button {
|
|
|
- padding: 0.5rem 1rem;
|
|
|
- border: 1px solid var(--wood-light);
|
|
|
- background: white;
|
|
|
- color: var(--wood-primary);
|
|
|
- border-radius: 4px;
|
|
|
- cursor: pointer;
|
|
|
- transition: all 0.2s ease;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
-
|
|
|
- &:hover:not(:disabled) {
|
|
|
- background: var(--wood-light);
|
|
|
- color: white;
|
|
|
- }
|
|
|
-
|
|
|
- &:disabled {
|
|
|
- opacity: 0.5;
|
|
|
- cursor: not-allowed;
|
|
|
- }
|
|
|
-
|
|
|
- i {
|
|
|
- margin-right: 5px;
|
|
|
- }
|
|
|
- }
|
|
|
+.search-btn:hover {
|
|
|
+ background: #d9b347;
|
|
|
+ transform: translateY(-2px);
|
|
|
}
|
|
|
|
|
|
.constitution-content {
|
|
@@ -377,7 +289,6 @@ body {
|
|
|
font-family: 'SimSun', serif;
|
|
|
line-height: 2;
|
|
|
position: relative;
|
|
|
- border-radius: 0 0 12px 12px;
|
|
|
}
|
|
|
|
|
|
.constitution-content::before {
|
|
@@ -393,32 +304,13 @@ body {
|
|
|
}
|
|
|
|
|
|
.highlight {
|
|
|
- background-color: rgba(232, 195, 77, 0.5);
|
|
|
- color: var(--wood-primary);
|
|
|
+ background-color: rgba(232, 195, 77, 0.3);
|
|
|
padding: 0 2px;
|
|
|
border-radius: 2px;
|
|
|
font-weight: bold;
|
|
|
- transition: all 0.2s ease;
|
|
|
-
|
|
|
- &.active-highlight {
|
|
|
- background-color: var(--gold-yellow);
|
|
|
- box-shadow: 0 0 0 2px var(--gold-yellow);
|
|
|
- animation: pulse 1s infinite alternate;
|
|
|
- position: relative;
|
|
|
- z-index: 1;
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
-@keyframes pulse {
|
|
|
- from {
|
|
|
- box-shadow: 0 0 0 0 rgba(232, 195, 77, 0.7);
|
|
|
- }
|
|
|
- to {
|
|
|
- box-shadow: 0 0 0 5px rgba(232, 195, 77, 0);
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-// 学术体系
|
|
|
+/* 学术体系 */
|
|
|
.academic-calendar {
|
|
|
flex: 1;
|
|
|
min-width: 300px;
|
|
@@ -435,11 +327,6 @@ body {
|
|
|
color: white;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- gap: 1rem;
|
|
|
-}
|
|
|
-
|
|
|
-.calendar-header i {
|
|
|
- font-size: 1.5rem;
|
|
|
}
|
|
|
|
|
|
.calendar-body {
|
|
@@ -463,11 +350,6 @@ body {
|
|
|
color: white;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- gap: 1rem;
|
|
|
-}
|
|
|
-
|
|
|
-.standards-header i {
|
|
|
- font-size: 1.5rem;
|
|
|
}
|
|
|
|
|
|
.standards-body {
|
|
@@ -495,7 +377,6 @@ body {
|
|
|
margin-bottom: 1rem;
|
|
|
padding-bottom: 0.5rem;
|
|
|
border-bottom: 2px solid var(--wood-light);
|
|
|
- font-family: 'SimSun', serif;
|
|
|
}
|
|
|
|
|
|
.version-content {
|
|
@@ -505,13 +386,11 @@ body {
|
|
|
.diff-highlight {
|
|
|
background-color: rgba(255, 0, 0, 0.1);
|
|
|
text-decoration: line-through;
|
|
|
- cursor: pointer;
|
|
|
}
|
|
|
|
|
|
.new-highlight {
|
|
|
background-color: rgba(0, 128, 0, 0.1);
|
|
|
font-weight: bold;
|
|
|
- cursor: pointer;
|
|
|
}
|
|
|
|
|
|
.diff-highlight.active-highlight {
|
|
@@ -522,7 +401,7 @@ body {
|
|
|
background-color: rgba(0, 128, 0, 0.2);
|
|
|
}
|
|
|
|
|
|
-// 人才培养
|
|
|
+/* 人才培养 */
|
|
|
.training-container {
|
|
|
display: flex;
|
|
|
flex-wrap: wrap;
|
|
@@ -546,11 +425,6 @@ body {
|
|
|
color: white;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- gap: 1rem;
|
|
|
-}
|
|
|
-
|
|
|
-.training-header i {
|
|
|
- font-size: 1.5rem;
|
|
|
}
|
|
|
|
|
|
.training-body {
|
|
@@ -640,7 +514,6 @@ body {
|
|
|
font-size: 1.2rem;
|
|
|
color: var(--wood-primary);
|
|
|
margin-bottom: 0.5rem;
|
|
|
- font-family: 'SimSun', serif;
|
|
|
}
|
|
|
|
|
|
.course-meta {
|
|
@@ -651,13 +524,12 @@ body {
|
|
|
margin-top: 1rem;
|
|
|
}
|
|
|
|
|
|
-// 页脚
|
|
|
+/* 页脚 */
|
|
|
.footer {
|
|
|
background: var(--wood-primary);
|
|
|
color: #f0e6d2;
|
|
|
padding: 3rem 5% 2rem;
|
|
|
margin-top: 3rem;
|
|
|
- border-top: 5px solid var(--wood-secondary);
|
|
|
}
|
|
|
|
|
|
.footer-content {
|
|
@@ -665,8 +537,6 @@ body {
|
|
|
flex-wrap: wrap;
|
|
|
gap: 3rem;
|
|
|
margin-bottom: 2rem;
|
|
|
- max-width: 1200px;
|
|
|
- margin: 0 auto 2rem;
|
|
|
}
|
|
|
|
|
|
.footer-column {
|
|
@@ -679,7 +549,6 @@ body {
|
|
|
margin-bottom: 1.5rem;
|
|
|
position: relative;
|
|
|
padding-bottom: 0.5rem;
|
|
|
- font-family: 'SimSun', serif;
|
|
|
}
|
|
|
|
|
|
.footer-column h3::after {
|
|
@@ -698,9 +567,6 @@ body {
|
|
|
|
|
|
.footer-column ul li {
|
|
|
margin-bottom: 0.8rem;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- gap: 0.5rem;
|
|
|
}
|
|
|
|
|
|
.footer-column a {
|
|
@@ -719,11 +585,9 @@ body {
|
|
|
border-top: 1px solid rgba(240, 230, 210, 0.3);
|
|
|
color: #d9c7a7;
|
|
|
font-size: 0.9rem;
|
|
|
- max-width: 1200px;
|
|
|
- margin: 0 auto;
|
|
|
}
|
|
|
|
|
|
-// 动画效果
|
|
|
+/* 动画效果 */
|
|
|
@keyframes float {
|
|
|
0% { transform: translateY(0px); }
|
|
|
50% { transform: translateY(-10px); }
|
|
@@ -734,7 +598,7 @@ body {
|
|
|
animation: float 3s ease-in-out infinite;
|
|
|
}
|
|
|
|
|
|
-// 响应式设计
|
|
|
+/* 响应式设计 */
|
|
|
@media (max-width: 768px) {
|
|
|
.section-content, .versions, .training-container {
|
|
|
flex-direction: column;
|
|
@@ -747,39 +611,5 @@ body {
|
|
|
.leader-img {
|
|
|
width: 100%;
|
|
|
height: 200px;
|
|
|
- margin: 0;
|
|
|
- border-radius: 0;
|
|
|
- }
|
|
|
-
|
|
|
- .search-box {
|
|
|
- flex-direction: column;
|
|
|
-
|
|
|
- button {
|
|
|
- width: 100%;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .search-results {
|
|
|
- flex-direction: column;
|
|
|
- gap: 1rem;
|
|
|
- align-items: flex-start;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-@media (max-width: 480px) {
|
|
|
- .page-title {
|
|
|
- font-size: 2.5rem;
|
|
|
- }
|
|
|
-
|
|
|
- .page-subtitle {
|
|
|
- font-size: 1.2rem;
|
|
|
- }
|
|
|
-
|
|
|
- .section-title {
|
|
|
- font-size: 1.8rem;
|
|
|
- }
|
|
|
-
|
|
|
- .constitution-content {
|
|
|
- padding: 1rem;
|
|
|
}
|
|
|
}
|