Spaces:
Sleeping
Sleeping
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: 'Inter', 'Noto Sans SC', sans-serif; | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| min-height: 100vh; | |
| color: #333; | |
| line-height: 1.6; | |
| } | |
| .App { | |
| min-height: 100vh; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .main-content { | |
| flex: 1; | |
| padding: 2rem; | |
| max-width: 1400px; | |
| margin: 0 auto; | |
| width: 100%; | |
| } | |
| /* Header Styles */ | |
| .header { | |
| background: rgba(255, 255, 255, 0.95); | |
| backdrop-filter: blur(10px); | |
| padding: 1rem 2rem; | |
| box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1); | |
| border-bottom: 1px solid rgba(255, 255, 255, 0.2); | |
| } | |
| .header-content { | |
| max-width: 1400px; | |
| margin: 0 auto; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| } | |
| .logo { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| text-decoration: none; | |
| color: #333; | |
| } | |
| .logo h1 { | |
| font-size: 1.5rem; | |
| font-weight: 700; | |
| background: linear-gradient(135deg, #667eea, #764ba2); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| } | |
| .nav { | |
| display: flex; | |
| gap: 2rem; | |
| align-items: center; | |
| } | |
| .nav a { | |
| text-decoration: none; | |
| color: #666; | |
| font-weight: 500; | |
| padding: 0.5rem 1rem; | |
| border-radius: 8px; | |
| transition: all 0.3s ease; | |
| } | |
| .nav a:hover, | |
| .nav a.active { | |
| color: #667eea; | |
| background: rgba(102, 126, 234, 0.1); | |
| } | |
| /* Card Styles */ | |
| .card { | |
| background: rgba(255, 255, 255, 0.95); | |
| backdrop-filter: blur(10px); | |
| border-radius: 20px; | |
| padding: 2rem; | |
| box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); | |
| border: 1px solid rgba(255, 255, 255, 0.2); | |
| transition: all 0.3s ease; | |
| } | |
| .card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15); | |
| } | |
| .example-card { | |
| background: rgba(255, 255, 255, 0.95); | |
| backdrop-filter: blur(10px); | |
| border-radius: 16px; | |
| padding: 1.5rem; | |
| margin-bottom: 1rem; | |
| box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); | |
| border: 1px solid rgba(255, 255, 255, 0.2); | |
| transition: all 0.3s ease; | |
| } | |
| .example-card:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15); | |
| } | |
| .example-header { | |
| display: flex; | |
| justify-content: between; | |
| align-items: flex-start; | |
| margin-bottom: 1rem; | |
| } | |
| .example-brand { | |
| font-size: 0.9rem; | |
| color: #667eea; | |
| font-weight: 600; | |
| background: rgba(102, 126, 234, 0.1); | |
| padding: 0.25rem 0.75rem; | |
| border-radius: 20px; | |
| } | |
| .example-category { | |
| font-size: 0.8rem; | |
| color: #888; | |
| background: rgba(136, 136, 136, 0.1); | |
| padding: 0.25rem 0.75rem; | |
| border-radius: 20px; | |
| margin-left: auto; | |
| } | |
| .language-section { | |
| margin: 1rem 0; | |
| } | |
| .language-label { | |
| font-size: 0.9rem; | |
| color: #666; | |
| font-weight: 600; | |
| margin-bottom: 0.5rem; | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| } | |
| .language-text { | |
| font-size: 1.1rem; | |
| font-weight: 500; | |
| color: #333; | |
| padding: 0.75rem; | |
| background: rgba(102, 126, 234, 0.05); | |
| border-radius: 8px; | |
| border-left: 3px solid #667eea; | |
| } | |
| .chinese-text { | |
| font-family: 'Noto Sans SC', sans-serif; | |
| } | |
| .example-description { | |
| margin-top: 1rem; | |
| padding-top: 1rem; | |
| border-top: 1px solid rgba(0, 0, 0, 0.1); | |
| font-size: 0.9rem; | |
| color: #666; | |
| line-height: 1.5; | |
| } | |
| /* Button Styles */ | |
| .btn { | |
| background: linear-gradient(135deg, #667eea, #764ba2); | |
| color: white; | |
| border: none; | |
| padding: 0.75rem 1.5rem; | |
| border-radius: 10px; | |
| font-size: 1rem; | |
| font-weight: 600; | |
| cursor: pointer; | |
| transition: all 0.3s ease; | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| text-decoration: none; | |
| } | |
| .btn:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4); | |
| } | |
| .btn-secondary { | |
| background: rgba(255, 255, 255, 0.2); | |
| color: #333; | |
| border: 1px solid rgba(255, 255, 255, 0.3); | |
| } | |
| .btn-secondary:hover { | |
| background: rgba(255, 255, 255, 0.3); | |
| box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); | |
| } | |
| .btn-large { | |
| padding: 1rem 2rem; | |
| font-size: 1.1rem; | |
| } | |
| /* Search Styles */ | |
| .search-container { | |
| margin-bottom: 2rem; | |
| } | |
| .search-input { | |
| width: 100%; | |
| padding: 1rem 1.5rem; | |
| border: 1px solid rgba(255, 255, 255, 0.3); | |
| border-radius: 12px; | |
| font-size: 1rem; | |
| background: rgba(255, 255, 255, 0.9); | |
| backdrop-filter: blur(10px); | |
| color: #333; | |
| transition: all 0.3s ease; | |
| } | |
| .search-input:focus { | |
| outline: none; | |
| border-color: #667eea; | |
| box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); | |
| } | |
| .search-input::placeholder { | |
| color: #999; | |
| } | |
| /* Filter Styles */ | |
| .filters { | |
| display: flex; | |
| gap: 1rem; | |
| margin-bottom: 2rem; | |
| flex-wrap: wrap; | |
| } | |
| .filter-select { | |
| padding: 0.5rem 1rem; | |
| border: 1px solid rgba(255, 255, 255, 0.3); | |
| border-radius: 8px; | |
| background: rgba(255, 255, 255, 0.9); | |
| color: #333; | |
| font-size: 0.9rem; | |
| min-width: 150px; | |
| } | |
| .filter-select:focus { | |
| outline: none; | |
| border-color: #667eea; | |
| } | |
| /* Grid Layouts */ | |
| .grid { | |
| display: grid; | |
| gap: 1.5rem; | |
| } | |
| .grid-1 { | |
| grid-template-columns: 1fr; | |
| } | |
| .grid-2 { | |
| grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | |
| } | |
| .grid-3 { | |
| grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | |
| } | |
| /* Home Page Styles */ | |
| .hero { | |
| text-align: center; | |
| padding: 4rem 0; | |
| } | |
| .hero h1 { | |
| font-size: 3rem; | |
| font-weight: 700; | |
| color: white; | |
| margin-bottom: 1rem; | |
| text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); | |
| } | |
| .hero p { | |
| font-size: 1.2rem; | |
| color: rgba(255, 255, 255, 0.9); | |
| margin-bottom: 2rem; | |
| max-width: 600px; | |
| margin-left: auto; | |
| margin-right: auto; | |
| } | |
| .hero-actions { | |
| display: flex; | |
| gap: 1rem; | |
| justify-content: center; | |
| flex-wrap: wrap; | |
| } | |
| .feature-grid { | |
| margin-top: 4rem; | |
| } | |
| .feature-card { | |
| text-align: center; | |
| padding: 2rem; | |
| } | |
| .feature-icon { | |
| width: 60px; | |
| height: 60px; | |
| margin: 0 auto 1rem; | |
| background: linear-gradient(135deg, #667eea, #764ba2); | |
| border-radius: 50%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| color: white; | |
| } | |
| .feature-card h3 { | |
| font-size: 1.3rem; | |
| margin-bottom: 0.5rem; | |
| color: #333; | |
| } | |
| .feature-card p { | |
| color: #666; | |
| } | |
| /* Loading States */ | |
| .loading { | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| padding: 2rem; | |
| } | |
| .spinner { | |
| width: 40px; | |
| height: 40px; | |
| border: 3px solid rgba(102, 126, 234, 0.3); | |
| border-top: 3px solid #667eea; | |
| border-radius: 50%; | |
| animation: spin 1s linear infinite; | |
| } | |
| @keyframes spin { | |
| 0% { transform: rotate(0deg); } | |
| 100% { transform: rotate(360deg); } | |
| } | |
| /* Error States */ | |
| .error { | |
| background: rgba(239, 68, 68, 0.1); | |
| color: #dc2626; | |
| padding: 1rem; | |
| border-radius: 8px; | |
| border: 1px solid rgba(239, 68, 68, 0.2); | |
| margin: 1rem 0; | |
| } | |
| /* Success States */ | |
| .success { | |
| background: rgba(34, 197, 94, 0.1); | |
| color: #059669; | |
| padding: 1rem; | |
| border-radius: 8px; | |
| border: 1px solid rgba(34, 197, 94, 0.2); | |
| margin: 1rem 0; | |
| } | |
| /* Responsive Design */ | |
| @media (max-width: 768px) { | |
| .main-content { | |
| padding: 1rem; | |
| } | |
| .header { | |
| padding: 1rem; | |
| } | |
| .header-content { | |
| flex-direction: column; | |
| gap: 1rem; | |
| } | |
| .nav { | |
| gap: 1rem; | |
| } | |
| .hero h1 { | |
| font-size: 2rem; | |
| } | |
| .hero p { | |
| font-size: 1rem; | |
| } | |
| .filters { | |
| flex-direction: column; | |
| } | |
| .filter-select { | |
| min-width: auto; | |
| } | |
| .hero-actions { | |
| flex-direction: column; | |
| align-items: center; | |
| } | |
| .btn { | |
| width: 100%; | |
| max-width: 300px; | |
| justify-content: center; | |
| } | |
| } | |
| @media (max-width: 480px) { | |
| .card { | |
| padding: 1.5rem; | |
| } | |
| .example-card { | |
| padding: 1rem; | |
| } | |
| .hero h1 { | |
| font-size: 1.8rem; | |
| } | |
| .nav { | |
| flex-direction: column; | |
| gap: 0.5rem; | |
| } | |
| } |