|
@@ -1,14 +1,16 @@
|
|
|
+// 颜色变量定义
|
|
|
: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;
|
|
@@ -24,9 +26,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(lch(31.77% 44.55 69.48 / 0.983)),
|
|
|
+ background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
|
|
|
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;
|
|
@@ -36,6 +38,7 @@ body {
|
|
|
color: white;
|
|
|
text-align: center;
|
|
|
position: relative;
|
|
|
+ border-bottom: 5px solid var(--wood-primary);
|
|
|
}
|
|
|
|
|
|
.page-title {
|
|
@@ -43,18 +46,24 @@ 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 {
|
|
@@ -65,6 +74,7 @@ body {
|
|
|
right: 0;
|
|
|
height: 10px;
|
|
|
background: linear-gradient(90deg, var(--wood-primary), var(--wood-secondary));
|
|
|
+ border-radius: 8px 8px 0 0;
|
|
|
}
|
|
|
|
|
|
.section-header {
|
|
@@ -83,6 +93,7 @@ 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 {
|
|
@@ -104,7 +115,7 @@ body {
|
|
|
margin-top: 2rem;
|
|
|
}
|
|
|
|
|
|
-/* 走进协会 */
|
|
|
+// 走进协会
|
|
|
.org-chart-container {
|
|
|
flex: 1;
|
|
|
min-width: 300px;
|
|
@@ -122,6 +133,12 @@ body {
|
|
|
color: white;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
+ gap: 1rem;
|
|
|
+ font-size: 1.2rem;
|
|
|
+}
|
|
|
+
|
|
|
+.org-header i {
|
|
|
+ font-size: 1.5rem;
|
|
|
}
|
|
|
|
|
|
.org-body {
|
|
@@ -145,6 +162,7 @@ body {
|
|
|
display: flex;
|
|
|
border: 2px solid var(--wood-light);
|
|
|
transition: all 0.3s ease;
|
|
|
+ position: relative;
|
|
|
}
|
|
|
|
|
|
.leader-card:hover {
|
|
@@ -159,10 +177,10 @@ body {
|
|
|
background-position: center;
|
|
|
background-repeat: no-repeat;
|
|
|
position: relative;
|
|
|
- border-radius: 50% / 60%; /* 水平半径50%,垂直半径60% */
|
|
|
+ border-radius: 50% / 60%;
|
|
|
overflow: hidden;
|
|
|
+ margin: 1rem;
|
|
|
|
|
|
- /* 移除或修改原有的伪元素样式 */
|
|
|
&::after {
|
|
|
content: '';
|
|
|
position: absolute;
|
|
@@ -171,10 +189,9 @@ 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));
|
|
|
}
|
|
|
}
|
|
@@ -199,16 +216,19 @@ 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 {
|
|
@@ -220,9 +240,10 @@ 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;
|
|
@@ -234,51 +255,118 @@ body {
|
|
|
}
|
|
|
|
|
|
.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);
|
|
|
+ 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);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.search-input {
|
|
|
flex: 1;
|
|
|
- padding: 1rem 1.5rem;
|
|
|
+ padding: 0.8rem 1.5rem;
|
|
|
border: none;
|
|
|
border-radius: 50px;
|
|
|
- font-size: 1.1rem;
|
|
|
- box-shadow: 0 4px 10px rgba(0,0,0,0.2);
|
|
|
+ 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);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
-.search-btn {
|
|
|
- background: var(--gold-yellow);
|
|
|
- color: var(--wood-primary);
|
|
|
+.search-btn, .clear-btn {
|
|
|
+ padding: 0.8rem 1.5rem;
|
|
|
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);
|
|
|
+ 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);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
-.search-btn:hover {
|
|
|
- background: #d9b347;
|
|
|
- transform: translateY(-2px);
|
|
|
+.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;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.constitution-content {
|
|
@@ -289,6 +377,7 @@ body {
|
|
|
font-family: 'SimSun', serif;
|
|
|
line-height: 2;
|
|
|
position: relative;
|
|
|
+ border-radius: 0 0 12px 12px;
|
|
|
}
|
|
|
|
|
|
.constitution-content::before {
|
|
@@ -304,13 +393,32 @@ body {
|
|
|
}
|
|
|
|
|
|
.highlight {
|
|
|
- background-color: rgba(232, 195, 77, 0.3);
|
|
|
+ background-color: rgba(232, 195, 77, 0.5);
|
|
|
+ color: var(--wood-primary);
|
|
|
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;
|
|
@@ -327,6 +435,11 @@ body {
|
|
|
color: white;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
+ gap: 1rem;
|
|
|
+}
|
|
|
+
|
|
|
+.calendar-header i {
|
|
|
+ font-size: 1.5rem;
|
|
|
}
|
|
|
|
|
|
.calendar-body {
|
|
@@ -350,6 +463,11 @@ body {
|
|
|
color: white;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
+ gap: 1rem;
|
|
|
+}
|
|
|
+
|
|
|
+.standards-header i {
|
|
|
+ font-size: 1.5rem;
|
|
|
}
|
|
|
|
|
|
.standards-body {
|
|
@@ -377,6 +495,7 @@ body {
|
|
|
margin-bottom: 1rem;
|
|
|
padding-bottom: 0.5rem;
|
|
|
border-bottom: 2px solid var(--wood-light);
|
|
|
+ font-family: 'SimSun', serif;
|
|
|
}
|
|
|
|
|
|
.version-content {
|
|
@@ -386,11 +505,13 @@ 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 {
|
|
@@ -401,7 +522,7 @@ body {
|
|
|
background-color: rgba(0, 128, 0, 0.2);
|
|
|
}
|
|
|
|
|
|
-/* 人才培养 */
|
|
|
+// 人才培养
|
|
|
.training-container {
|
|
|
display: flex;
|
|
|
flex-wrap: wrap;
|
|
@@ -425,6 +546,11 @@ body {
|
|
|
color: white;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
+ gap: 1rem;
|
|
|
+}
|
|
|
+
|
|
|
+.training-header i {
|
|
|
+ font-size: 1.5rem;
|
|
|
}
|
|
|
|
|
|
.training-body {
|
|
@@ -514,6 +640,7 @@ body {
|
|
|
font-size: 1.2rem;
|
|
|
color: var(--wood-primary);
|
|
|
margin-bottom: 0.5rem;
|
|
|
+ font-family: 'SimSun', serif;
|
|
|
}
|
|
|
|
|
|
.course-meta {
|
|
@@ -524,12 +651,13 @@ 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 {
|
|
@@ -537,6 +665,8 @@ body {
|
|
|
flex-wrap: wrap;
|
|
|
gap: 3rem;
|
|
|
margin-bottom: 2rem;
|
|
|
+ max-width: 1200px;
|
|
|
+ margin: 0 auto 2rem;
|
|
|
}
|
|
|
|
|
|
.footer-column {
|
|
@@ -549,6 +679,7 @@ body {
|
|
|
margin-bottom: 1.5rem;
|
|
|
position: relative;
|
|
|
padding-bottom: 0.5rem;
|
|
|
+ font-family: 'SimSun', serif;
|
|
|
}
|
|
|
|
|
|
.footer-column h3::after {
|
|
@@ -567,6 +698,9 @@ body {
|
|
|
|
|
|
.footer-column ul li {
|
|
|
margin-bottom: 0.8rem;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ gap: 0.5rem;
|
|
|
}
|
|
|
|
|
|
.footer-column a {
|
|
@@ -585,9 +719,11 @@ 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); }
|
|
@@ -598,7 +734,7 @@ body {
|
|
|
animation: float 3s ease-in-out infinite;
|
|
|
}
|
|
|
|
|
|
-/* 响应式设计 */
|
|
|
+// 响应式设计
|
|
|
@media (max-width: 768px) {
|
|
|
.section-content, .versions, .training-container {
|
|
|
flex-direction: column;
|
|
@@ -611,5 +747,39 @@ 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;
|
|
|
}
|
|
|
}
|