diff --git a/wp-content/themes/nenghui-energy-theme-4/assets/css/index.css b/wp-content/themes/nenghui-energy-theme-4/assets/css/index.css index 92bfbb4..ca7045e 100644 --- a/wp-content/themes/nenghui-energy-theme-4/assets/css/index.css +++ b/wp-content/themes/nenghui-energy-theme-4/assets/css/index.css @@ -213,7 +213,7 @@ img { } } -/* +/* * 首页Banner轮播组件样式 */ @@ -250,7 +250,7 @@ img { .banner-title { font-size: 3rem; - + font-weight: bold; margin-bottom: 1rem; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); } @@ -289,22 +289,22 @@ img { .nenghui-banner { height: 400px; } - + .banner-title { font-size: 2rem; } - + .banner-description { font-size: 1rem; } - + .banner-btn { padding: 10px 25px; font-size: 1rem; } } -/* +/* * Futures 组件样式 */ @@ -416,7 +416,7 @@ img { animation-name: fadeInUp; } -/* +/* * 首页News板块 */ .news-container { @@ -434,7 +434,8 @@ img { } .news-title { - font-size: 42px; + font-size: 48px; + font-weight: bold; color: #333; letter-spacing: 2px; } @@ -563,9 +564,9 @@ img { } } - -/* -* 首页Tabs选项卡样式 + +/* +* 首页Tabs选项卡样式 */ .nenghui-container { max-width: 80%; @@ -720,7 +721,7 @@ img { padding: 40px 15px; border-radius: 20px; } - + .main-content { gap: 40px; padding: 40px; @@ -732,7 +733,7 @@ img { padding: 30px 15px; border-radius: 15px; } - + .main-content { flex-direction: column; padding: 30px 20px; @@ -755,7 +756,7 @@ img { font-size: 13px; padding: 10px 18px; } - + .tab-image { height: 250px; } @@ -765,43 +766,43 @@ img { .nenghui-container { padding: 20px 10px; } - + .main-content { padding: 20px 15px; } - + .main-title { font-size: 28px; } - + .nenghui-tab { font-size: 12px; padding: 8px 16px; } - + .learn-more-btn { padding: 12px 24px; font-size: 14px; } - + .tab-image { height: 200px; } } -/* +/* * Footer 样式 */ .main-footer { background-color: #fff !important; padding: 60px 0 30px; border-top: 1px solid #e9ecef; - position: relative; + position: relative; z-index: 1; } .footer-container { - max-width: 1320px; + max-width: 1390px; margin: 0 auto; padding: 0 20px; } @@ -844,13 +845,13 @@ img { align-items: center; justify-content: center; border-radius: 50%; - + /* 默认状态:深色图标,浅色背景 */ background: #ffffff; /* 纯白背景 */ border: 1px solid rgba(13, 27, 23, 0.1); /* 极淡的深色边框 */ color: #0d1b17; /* 深绿色/黑色图标,确保可见性 */ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); /* 轻微阴影增加层次感 */ - + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; overflow: hidden; @@ -1062,12 +1063,12 @@ img { gap: 40px; text-align: center; } - + .footer-nav { grid-template-columns: repeat(2, 1fr); gap: 40px; } - + .footer-subscribe { align-items: center; } @@ -1078,16 +1079,16 @@ img { padding: 40px 0 20px; margin-top: 60px; } - + .article-content { width: 90%; padding: 20px 10px; } - + .footer-container { padding: 0 15px; } - + .footer-main { gap: 30px; } @@ -1095,22 +1096,22 @@ img { .footer-logo { justify-content: center; } - + .footer-nav { grid-template-columns: 1fr; gap: 30px; } - + .footer-bottom { flex-direction: column; text-align: center; gap: 15px; } - + .footer-links { gap: 20px; } - + .subscribe-form { max-width: 100%; } @@ -1120,22 +1121,22 @@ img { .footer-links { gap: 10px; } - + .footer-social { justify-content: center; } - + .subscribe-form { flex-direction: column; gap: 10px; } - + .subscribe-input { border-radius: 4px; border-right: 1px solid #dee2e6; } - + .subscribe-btn { border-radius: 4px; } -} +} \ No newline at end of file diff --git a/wp-content/themes/nenghui-energy-theme-4/footer.php b/wp-content/themes/nenghui-energy-theme-4/footer.php index d0c6040..d8b63a7 100644 --- a/wp-content/themes/nenghui-energy-theme-4/footer.php +++ b/wp-content/themes/nenghui-energy-theme-4/footer.php @@ -5,7 +5,7 @@ - + @@ -31,13 +33,13 @@ "silver-accent": "#e2e8f0", "about-us": "#ff6b00", "primary-dark": "#0da670", // Added for contrast on light mode - "accent": "#ff6b00" + "accent": "#ff6b00" }, fontFamily: { "display": ["Montserrat", "sans-serif"], "sans": ["Montserrat", "sans-serif"], - "mono": ["JetBrains Mono", "Montserrat"], - "inter": ["Inter", "Montserrat"], + "mono": ["JetBrains Mono", "monospace"], + "inter": ["Inter", "monospace"], }, borderRadius: { "DEFAULT": "0.5rem", @@ -52,7 +54,7 @@ 'glass-gradient': 'linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.3) 100%)', 'aurora': 'linear-gradient(135deg, rgba(19,236,164,0.1) 0%, rgba(13,166,112,0.05) 50%, rgba(248,252,250,0) 100%)', 'mesh': 'radial-gradient(at 40% 20%, rgba(19,236,164,0.08) 0px, transparent 50%), radial-gradient(at 80% 0%, rgba(16,34,28,0.05) 0px, transparent 50%), radial-gradient(at 0% 50%, rgba(19,236,164,0.05) 0px, transparent 50%)', - + }, boxShadow: { // 将光效统一映射为 primary 颜色 (13eca4 的 RGBA) @@ -87,18 +89,18 @@ '100%': { boxShadow: '0 0 0px rgba(19,236,164,0)' }, }, // 高级交互动画 - pulseGlow: { - '0%': { textShadow: '0 0 10px rgba(19, 236, 164, 0.4)' }, - '100%': { textShadow: '0 0 30px #ff6b00' } + pulseGlow: { + '0%': { textShadow: '0 0 10px rgba(19, 236, 164, 0.4)' }, + '100%': { textShadow: '0 0 30px #ff6b00' } }, sweep: { '100%': { left: '200%' } }, - cardFlip: { - '0%': { opacity: '0', transform: 'rotateY(-90deg) translateZ(50px)' }, - '100%': { opacity: '1', transform: 'rotateY(0deg) translateZ(0)' } + cardFlip: { + '0%': { opacity: '0', transform: 'rotateY(-90deg) translateZ(50px)' }, + '100%': { opacity: '1', transform: 'rotateY(0deg) translateZ(0)' } }, - floatY: { - '0%, 100%': { transform: 'translateY(0)' }, - '50%': { transform: 'translateY(-15px)' } + floatY: { + '0%, 100%': { transform: 'translateY(0)' }, + '50%': { transform: 'translateY(-15px)' } }, textShimmer: { '0%': { backgroundPosition: '0% 50%' }, @@ -106,8 +108,8 @@ }, blobSpin: { '0%': { transform: 'rotate(0deg) scale(1)' }, - '50%': { transform: 'rotate(180deg) translate(-80%, 50%) scale(1.1)' }, - '100%': { transform: 'rotate(360deg) translate(0) scale(1)' }, + '50%': { transform: 'rotate(180deg) scale(1.1)' }, + '100%': { transform: 'rotate(360deg) scale(1)' }, } }, animation: { @@ -131,7 +133,7 @@