芝麻web文件管理V1.00
编辑当前文件:/home/paymbalq/tamela.org/Style-eth.css
:root { --primary-color: #292E75; --secondary-color: #D86735; --dark-color: #212121; --light-color: #F8F9FA; --grey-color: #6C757D; --light-grey: #E9ECEF; --success-color: #28A745; } * { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } body { color: var(--dark); line-height: 1.6; } .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; } header { background-color: var(--primary); color: white; padding: 2rem 0; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } header .container { display: flex; justify-content: space-between; align-items: center; } .logo { font-size: 1.8rem; font-weight: 700; color: white; text-decoration: none; } .logo span { color: var(--secondary); } nav ul { display: flex; list-style: none; } nav ul li { margin-left: 1.5rem; } nav ul li a { color: white; text-decoration: none; font-weight: 500; transition: color 0.3s; } nav ul li a:hover { color: var(--secondary); } .hero { background: linear-gradient(rgba(41, 46, 117, 0.8), rgba(41, 46, 117, 0.8)), url('/api/placeholder/1200/600') center/cover no-repeat; color: white; padding: 4rem 0; text-align: center; } .hero h1 { font-size: 2.5rem; margin-bottom: 1rem; } .hero p { font-size: 1.2rem; max-width: 800px; margin: 0 auto 2rem; } .btn { display: inline-block; background-color: var(--secondary); color: white; padding: 0.8rem 1.8rem; border-radius: 5px; text-decoration: none; font-weight: 600; transition: background-color 0.3s; } .btn:hover { background-color: #c55728; } .section { padding: 4rem 0; } .section-title { text-align: center; margin-bottom: 3rem; color: var(--primary); } .section-title h2 { font-size: 2rem; position: relative; display: inline-block; padding-bottom: 0.5rem; } .section-title h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 3px; background-color: var(--secondary); } .overview { background-color: var(--light); } .overview-content { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; } .overview-text { flex: 1; min-width: 300px; } .overview-image { flex: 1; min-width: 300px; text-align: center; } .overview-image img { max-width: 100%; border-radius: 10px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); } .overview h3 { color: var(--primary); margin-bottom: 1rem; } .stat-container { display: flex; flex-wrap: wrap; justify-content: space-between; margin-top: 2rem; } .stat-box { flex: 1; min-width: 200px; background-color: white; padding: 1.5rem; margin: 0.5rem; border-radius: 8px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); text-align: center; } .stat-box h4 { color: var(--secondary); font-size: 2rem; margin-bottom: 0.5rem; } .stat-box p { color: var(--gray); } .challenges { background-color: white; } .challenges-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; } .challenge-card { background-color: var(--light-gray); border-radius: 8px; padding: 2rem; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); transition: transform 0.3s; } .challenge-card:hover { transform: translateY(-5px); } .challenge-card h3 { color: var(--primary); margin-bottom: 1rem; display: flex; align-items: center; } .challenge-card h3 i { margin-right: 0.5rem; color: var(--secondary); } .integration { background-color: var(--primary); color: white; } .integration h2::after { background-color: white; } .integration h2 { color: white; } .integration-content { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; } .integration-image { flex: 1; min-width: 300px; text-align: center; } .integration-image img { max-width: 100%; border-radius: 10px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); } .integration-text { flex: 1; min-width: 300px; } .integration-text h3 { color: var(--secondary); margin-bottom: 1rem; } .integration-features { margin-top: 2rem; } .feature { margin-bottom: 1.5rem; display: flex; align-items: flex-start; } .feature i { color: var(--secondary); margin-right: 1rem; font-size: 1.2rem; padding-top: 0.2rem; } .outcomes { background-color: var(--light); } .outcomes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; } .outcome-card { background-color: white; border-radius: 8px; padding: 2rem; text-align: center; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); transition: transform 0.3s; border-top: 5px solid var(--secondary); } .outcome-card:hover { transform: translateY(-5px); } .outcome-card h3 { color: var(--primary); font-size: 2.5rem; margin-bottom: 0.5rem; } .outcome-card h4 { color: var(--secondary); margin-bottom: 1rem; } footer { background-color: var(--primary-color); /*color: white;*/ padding: 3rem 0; } .footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; } .footer-column { flex: 1; margin-bottom: 2rem; min-width: 250px; padding-right: 2rem; } .footer-column h3 { color: var(--secondary); margin-bottom: 1.5rem; font-size: 1.2rem; } .footer-column ul { list-style: none; } .footer-column ul li { margin-bottom: 0.8rem; } .footer-column ul li a { color: var(--light-gray); text-decoration: none; transition: color 0.3s; } .footer-column ul li a:hover { color: var(--secondary); } .footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 2rem; margin-top: 2rem; text-align: center; color: var(--gray); } /* Mobile navigation */ .mobile-menu-btn { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; } @media (max-width: 768px) { header .container { flex-direction: column; align-items: flex-start; } .mobile-menu-btn { display: block; position: absolute; right: 20px; top: 20px; } nav { width: 100%; max-height: 0; overflow: hidden; transition: max-height 0.5s; } nav.active { max-height: 500px; } nav ul { flex-direction: column; width: 100%; padding-top: 1rem; } nav ul li { margin: 0; width: 100%; border-top: 1px solid rgba(255, 255, 255, 0.1); } nav ul li a { display: block; padding: 0.8rem 0; } .hero h1 { font-size: 2rem; } .section-title h2 { font-size: 1.8rem; } .footer-content { flex-direction: column; } }