|
@@ -1,4 +1,16 @@
|
|
|
-/* General style reset */
|
|
|
+/* ===== Variables ===== */
|
|
|
+:root {
|
|
|
+ --primary-color: #e74c3c; /* 江西红 */
|
|
|
+ --secondary-color: #f39c12; /* 江西橙 */
|
|
|
+ --dark-color: #2c3e50;
|
|
|
+ --light-color: #ecf0f1;
|
|
|
+ --text-color: #333;
|
|
|
+ --text-light: #777;
|
|
|
+ --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
|
+ --transition: all 0.3s ease;
|
|
|
+}
|
|
|
+
|
|
|
+/* ===== Base Styles ===== */
|
|
|
* {
|
|
|
margin: 0;
|
|
|
padding: 0;
|
|
@@ -6,140 +18,428 @@
|
|
|
}
|
|
|
|
|
|
body {
|
|
|
- font-family: "Microsoft YaHei", sans-serif;
|
|
|
+ font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
|
|
|
background-color: #fff;
|
|
|
- color: #333;
|
|
|
+ color: var(--text-color);
|
|
|
+ line-height: 1.6;
|
|
|
+ overflow-x: hidden;
|
|
|
}
|
|
|
|
|
|
-/* Header navigation styles */
|
|
|
-.header {
|
|
|
+/* ===== Banner Styles ===== */
|
|
|
+.banner {
|
|
|
+ position: relative;
|
|
|
+ height: 70vh;
|
|
|
+ min-height: 500px;
|
|
|
+ background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
|
|
|
+ url('https://example.com/jiangxi-bg.jpg') center/cover no-repeat;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- justify-content: space-between;
|
|
|
- padding: 0 20px;
|
|
|
- height: 60px;
|
|
|
- border-bottom: 1px solid #eee;
|
|
|
-
|
|
|
- .logo {
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ text-align: center;
|
|
|
+ color: white;
|
|
|
+ overflow: hidden;
|
|
|
+
|
|
|
+ &::before {
|
|
|
+ content: '';
|
|
|
+ position: absolute;
|
|
|
+ bottom: 0;
|
|
|
+ left: 0;
|
|
|
+ width: 100%;
|
|
|
+ height: 100px;
|
|
|
+ background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23fff"></path><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23fff"></path><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23fff"></path></svg>');
|
|
|
+ background-size: cover;
|
|
|
+ z-index: 1;
|
|
|
+ }
|
|
|
+
|
|
|
+ .banner-content {
|
|
|
+ position: relative;
|
|
|
+ z-index: 2;
|
|
|
+ padding: 0 20px;
|
|
|
+ max-width: 800px;
|
|
|
+ margin: 0 auto;
|
|
|
|
|
|
- img {
|
|
|
- height: 30px;
|
|
|
- margin-right: 8px;
|
|
|
+ h1 {
|
|
|
+ font-size: 3.5rem;
|
|
|
+ margin-bottom: 1rem;
|
|
|
+ text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
|
|
|
+ color: white;
|
|
|
}
|
|
|
|
|
|
- span {
|
|
|
- font-size: 18px;
|
|
|
- font-weight: bold;
|
|
|
- color: #007bff;
|
|
|
+ p {
|
|
|
+ font-size: 1.2rem;
|
|
|
+ opacity: 0.9;
|
|
|
+ margin-bottom: 2rem;
|
|
|
}
|
|
|
}
|
|
|
+}
|
|
|
+
|
|
|
+/* Scroll Indicator */
|
|
|
+.scroll-indicator {
|
|
|
+ margin-top: 3rem;
|
|
|
+ display: inline-block;
|
|
|
|
|
|
- .nav {
|
|
|
- display: flex;
|
|
|
- gap: 20px;
|
|
|
+ span {
|
|
|
+ display: block;
|
|
|
+ width: 30px;
|
|
|
+ height: 50px;
|
|
|
+ border: 2px solid white;
|
|
|
+ border-radius: 15px;
|
|
|
+ position: relative;
|
|
|
|
|
|
- a {
|
|
|
- text-decoration: none;
|
|
|
- color: #333;
|
|
|
- transition: color 0.3s ease;
|
|
|
-
|
|
|
- &:hover {
|
|
|
- color: #007bff;
|
|
|
- }
|
|
|
-
|
|
|
- &.active {
|
|
|
- color: #007bff;
|
|
|
- font-weight: bold;
|
|
|
- }
|
|
|
+ &::before {
|
|
|
+ content: '';
|
|
|
+ position: absolute;
|
|
|
+ top: 8px;
|
|
|
+ left: 50%;
|
|
|
+ width: 6px;
|
|
|
+ height: 6px;
|
|
|
+ background: white;
|
|
|
+ border-radius: 50%;
|
|
|
+ transform: translateX(-50%);
|
|
|
+ animation: scrollIndicator 2s infinite;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-/* Banner area */
|
|
|
-.banner {
|
|
|
- background-color: #444;
|
|
|
- color: #fff;
|
|
|
- text-align: center;
|
|
|
- padding: 50px 0;
|
|
|
-
|
|
|
- h1 {
|
|
|
- font-size: 28px;
|
|
|
- margin-bottom: 10px;
|
|
|
+@keyframes scrollIndicator {
|
|
|
+ 0% {
|
|
|
+ opacity: 1;
|
|
|
+ transform: translateY(0) translateX(-50%);
|
|
|
}
|
|
|
-
|
|
|
- p {
|
|
|
- font-size: 14px;
|
|
|
- opacity: 0.9;
|
|
|
+ 100% {
|
|
|
+ opacity: 0;
|
|
|
+ transform: translateY(20px) translateX(-50%);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-/* Main content container */
|
|
|
+/* ===== Section Styles ===== */
|
|
|
.container {
|
|
|
width: 90%;
|
|
|
max-width: 1200px;
|
|
|
- margin: 40px auto;
|
|
|
+ margin: 0 auto;
|
|
|
+ padding: 4rem 0;
|
|
|
+}
|
|
|
+
|
|
|
+.section {
|
|
|
+ margin-bottom: 4rem;
|
|
|
+
|
|
|
+ &:last-child {
|
|
|
+ margin-bottom: 0;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.section-title {
|
|
|
- font-size: 20px;
|
|
|
- font-weight: bold;
|
|
|
- margin-bottom: 20px;
|
|
|
- padding-bottom: 10px;
|
|
|
- border-bottom: 2px solid #007bff;
|
|
|
- display: inline-block;
|
|
|
+ text-align: center;
|
|
|
+ margin-bottom: 3rem;
|
|
|
+
|
|
|
+ h2 {
|
|
|
+ font-size: 2.2rem;
|
|
|
+ color: var(--dark-color);
|
|
|
+ margin-bottom: 1rem;
|
|
|
+ position: relative;
|
|
|
+ display: inline-block;
|
|
|
+
|
|
|
+ &::after {
|
|
|
+ content: '';
|
|
|
+ position: absolute;
|
|
|
+ bottom: -10px;
|
|
|
+ left: 50%;
|
|
|
+ transform: translateX(-50%);
|
|
|
+ width: 80px;
|
|
|
+ height: 3px;
|
|
|
+ background: var(--primary-color);
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
-.about-content {
|
|
|
+.jiangxi-divider {
|
|
|
display: flex;
|
|
|
- flex-wrap: wrap;
|
|
|
- gap: 30px;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ margin: 1rem 0;
|
|
|
+
|
|
|
+ .line {
|
|
|
+ width: 80px;
|
|
|
+ height: 2px;
|
|
|
+ background: linear-gradient(to right, transparent, var(--primary-color), transparent);
|
|
|
+
|
|
|
+ &:first-child {
|
|
|
+ background: linear-gradient(to right, transparent, var(--primary-color));
|
|
|
+ }
|
|
|
+
|
|
|
+ &:last-child {
|
|
|
+ background: linear-gradient(to left, transparent, var(--primary-color));
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .icon {
|
|
|
+ margin: 0 1rem;
|
|
|
+ color: var(--primary-color);
|
|
|
+ font-size: 1.2rem;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+/* ===== Card Styles ===== */
|
|
|
+.about-content {
|
|
|
+ display: grid;
|
|
|
+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
|
+ gap: 2rem;
|
|
|
+ margin-top: 2rem;
|
|
|
}
|
|
|
|
|
|
.about-item {
|
|
|
- flex: 1;
|
|
|
- min-width: 280px;
|
|
|
- background-color: #f9f9f9;
|
|
|
- padding: 20px;
|
|
|
- border-radius: 8px;
|
|
|
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
|
+ background: white;
|
|
|
+ border-radius: 10px;
|
|
|
+ padding: 2rem;
|
|
|
+ box-shadow: var(--shadow);
|
|
|
+ transition: var(--transition);
|
|
|
+ position: relative;
|
|
|
+ overflow: hidden;
|
|
|
+ z-index: 1;
|
|
|
+
|
|
|
+ &::before {
|
|
|
+ content: '';
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ width: 100%;
|
|
|
+ height: 5px;
|
|
|
+ background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
|
|
|
+ transition: var(--transition);
|
|
|
+ }
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ transform: translateY(-10px);
|
|
|
+ box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
|
|
|
+
|
|
|
+ &::before {
|
|
|
+ height: 10px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .card-icon {
|
|
|
+ transform: scale(1.1);
|
|
|
+ color: var(--primary-color);
|
|
|
+ }
|
|
|
+
|
|
|
+ .jiangxi-pattern {
|
|
|
+ opacity: 0.1;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .card-icon {
|
|
|
+ font-size: 2.5rem;
|
|
|
+ margin-bottom: 1.5rem;
|
|
|
+ transition: var(--transition);
|
|
|
+ }
|
|
|
|
|
|
h3 {
|
|
|
- font-size: 18px;
|
|
|
- margin-bottom: 10px;
|
|
|
- color: #007bff;
|
|
|
+ font-size: 1.5rem;
|
|
|
+ margin-bottom: 1rem;
|
|
|
+ color: var(--dark-color);
|
|
|
}
|
|
|
|
|
|
p {
|
|
|
- line-height: 1.6;
|
|
|
+ color: var(--text-light);
|
|
|
+ margin-bottom: 1.5rem;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-/* Footer styles */
|
|
|
-.footer {
|
|
|
- text-align: center;
|
|
|
- padding: 20px;
|
|
|
- background-color: #f5f5f5;
|
|
|
- border-top: 1px solid #eee;
|
|
|
- margin-top: 40px;
|
|
|
+.jiangxi-pattern {
|
|
|
+ position: absolute;
|
|
|
+ bottom: -20px;
|
|
|
+ right: -20px;
|
|
|
+ width: 150px;
|
|
|
+ height: 150px;
|
|
|
+ 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"><path d="M20,20 L80,20 L80,80 L20,80 Z" fill="none" stroke="%23e74c3c" stroke-width="2" stroke-dasharray="5,5"/><circle cx="50" cy="50" r="10" fill="%23f39c12"/></svg>');
|
|
|
+ opacity: 0.05;
|
|
|
+ z-index: -1;
|
|
|
+ transition: var(--transition);
|
|
|
+}
|
|
|
+
|
|
|
+/* ===== Back to Top Button ===== */
|
|
|
+.back-to-top {
|
|
|
+ position: fixed;
|
|
|
+ bottom: 30px;
|
|
|
+ right: 30px;
|
|
|
+ width: 50px;
|
|
|
+ height: 50px;
|
|
|
+ background: var(--primary-color);
|
|
|
+ color: white;
|
|
|
+ border: none;
|
|
|
+ border-radius: 50%;
|
|
|
+ cursor: pointer;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
|
|
|
+ opacity: 0;
|
|
|
+ visibility: hidden;
|
|
|
+ transition: var(--transition);
|
|
|
+ z-index: 999;
|
|
|
+
|
|
|
+ svg {
|
|
|
+ width: 24px;
|
|
|
+ height: 24px;
|
|
|
+ fill: currentColor;
|
|
|
+ }
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ background: var(--secondary-color);
|
|
|
+ transform: translateY(-3px);
|
|
|
+ }
|
|
|
+
|
|
|
+ &.visible {
|
|
|
+ opacity: 1;
|
|
|
+ visibility: visible;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+/* ===== Responsive Styles ===== */
|
|
|
+@media (max-width: 992px) {
|
|
|
+ .banner {
|
|
|
+ height: 60vh;
|
|
|
+
|
|
|
+ h1 {
|
|
|
+ font-size: 2.8rem;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
-/* Responsive adjustments */
|
|
|
@media (max-width: 768px) {
|
|
|
- .header {
|
|
|
- flex-direction: column;
|
|
|
- height: auto;
|
|
|
- padding: 15px;
|
|
|
+ .banner {
|
|
|
+ height: 50vh;
|
|
|
+ min-height: 400px;
|
|
|
+
|
|
|
+ h1 {
|
|
|
+ font-size: 2.2rem;
|
|
|
+ }
|
|
|
+
|
|
|
+ p {
|
|
|
+ font-size: 1rem;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .about-content {
|
|
|
+ grid-template-columns: 1fr;
|
|
|
+ }
|
|
|
+
|
|
|
+ .section-title h2 {
|
|
|
+ font-size: 1.8rem;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+@media (max-width: 576px) {
|
|
|
+ .banner {
|
|
|
+ height: 40vh;
|
|
|
|
|
|
- .nav {
|
|
|
- margin-top: 15px;
|
|
|
- flex-wrap: wrap;
|
|
|
- justify-content: center;
|
|
|
+ h1 {
|
|
|
+ font-size: 1.8rem;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .about-item {
|
|
|
- min-width: 100%;
|
|
|
+ .back-to-top {
|
|
|
+ width: 40px;
|
|
|
+ height: 40px;
|
|
|
+ bottom: 20px;
|
|
|
+ right: 20px;
|
|
|
+
|
|
|
+ svg {
|
|
|
+ width: 18px;
|
|
|
+ height: 18px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+/* ===== Footer Styles ===== */
|
|
|
+.footer {
|
|
|
+ background-color: #2c3e50;
|
|
|
+ color: #ecf0f1;
|
|
|
+ padding: 3rem 0 0;
|
|
|
+ font-size: 0.9rem;
|
|
|
+
|
|
|
+ .footer-content {
|
|
|
+ display: grid;
|
|
|
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
|
+ gap: 2rem;
|
|
|
+ max-width: 1200px;
|
|
|
+ margin: 0 auto;
|
|
|
+ padding: 0 20px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .footer-column {
|
|
|
+ h3 {
|
|
|
+ color: white;
|
|
|
+ margin-bottom: 1.5rem;
|
|
|
+ font-size: 1.1rem;
|
|
|
+ position: relative;
|
|
|
+ padding-bottom: 0.5rem;
|
|
|
+
|
|
|
+ &::after {
|
|
|
+ content: '';
|
|
|
+ position: absolute;
|
|
|
+ bottom: 0;
|
|
|
+ left: 0;
|
|
|
+ width: 40px;
|
|
|
+ height: 2px;
|
|
|
+ background: #e74c3c;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ ul {
|
|
|
+ list-style: none;
|
|
|
+
|
|
|
+ li {
|
|
|
+ margin-bottom: 0.8rem;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+
|
|
|
+ i {
|
|
|
+ margin-right: 0.5rem;
|
|
|
+ width: 1rem;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+
|
|
|
+ a {
|
|
|
+ color: #bdc3c7;
|
|
|
+ text-decoration: none;
|
|
|
+ transition: color 0.3s ease;
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ color: #e74c3c;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .copyright {
|
|
|
+ text-align: center;
|
|
|
+ padding: 1.5rem 0;
|
|
|
+ margin-top: 2rem;
|
|
|
+ background-color: rgba(0, 0, 0, 0.2);
|
|
|
+ color: #bdc3c7;
|
|
|
+ font-size: 0.8rem;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+/* Ensure Font Awesome icons display properly */
|
|
|
+.fas, .fab {
|
|
|
+ font-style: normal;
|
|
|
+}
|
|
|
+
|
|
|
+/* Responsive adjustments for footer */
|
|
|
+@media (max-width: 768px) {
|
|
|
+ .footer-content {
|
|
|
+ grid-template-columns: 1fr 1fr !important;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+@media (max-width: 480px) {
|
|
|
+ .footer-content {
|
|
|
+ grid-template-columns: 1fr !important;
|
|
|
+ gap: 1.5rem !important;
|
|
|
+ }
|
|
|
+
|
|
|
+ .footer-column {
|
|
|
+ margin-bottom: 1.5rem;
|
|
|
}
|
|
|
}
|