Spaces:
Sleeping
Sleeping
| /* ------------------------------------------ | |
| 🌌 Web Content Extractor - Cyber Neon Purple Theme | |
| -------------------------------------------*/ | |
| :root { | |
| --bg: #0a0014; | |
| --card: rgba(255, 255, 255, 0.05); | |
| --accent1: #d94eff; | |
| --accent2: #7a00ff; | |
| --muted: #c8b6ff; | |
| --text: #f3e9ff; | |
| --error: #ff3366; | |
| --radius: 12px; | |
| font-family: 'Segoe UI', Roboto, sans-serif; | |
| } | |
| body { | |
| margin: 0; | |
| padding: 0; | |
| background: radial-gradient(circle at 30% 30%, #1a0033, #060011 80%); | |
| color: var(--text); | |
| min-height: 100vh; | |
| display: flex; | |
| justify-content: center; | |
| align-items: flex-start; | |
| padding-top: 40px; | |
| } | |
| /* ------------------------------ | |
| Container | |
| -------------------------------*/ | |
| .container { | |
| width: 90%; | |
| max-width: 800px; | |
| background: rgba(255, 255, 255, 0.04); | |
| border-radius: var(--radius); | |
| padding: 30px 40px; | |
| box-shadow: 0 8px 40px rgba(128, 0, 255, 0.4); | |
| backdrop-filter: blur(10px); | |
| border: 1px solid rgba(255, 255, 255, 0.08); | |
| } | |
| /* ------------------------------ | |
| Header & Inputs | |
| -------------------------------*/ | |
| h1 { | |
| text-align: center; | |
| margin-bottom: 24px; | |
| font-size: 30px; | |
| background: linear-gradient(90deg, var(--accent1), var(--accent2)); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| } | |
| .form-section { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 12px; | |
| align-items: center; | |
| margin-bottom: 24px; | |
| } | |
| input { | |
| width: 100%; | |
| padding: 12px; | |
| border-radius: var(--radius); | |
| border: none; | |
| outline: none; | |
| background: rgba(255, 255, 255, 0.08); | |
| color: var(--text); | |
| font-size: 15px; | |
| } | |
| button { | |
| background: linear-gradient(90deg, var(--accent1), var(--accent2)); | |
| color: #0a0014; | |
| font-weight: 700; | |
| border: none; | |
| border-radius: var(--radius); | |
| padding: 12px 24px; | |
| cursor: pointer; | |
| transition: all 0.25s ease; | |
| text-transform: uppercase; | |
| letter-spacing: 1px; | |
| } | |
| button:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 4px 16px rgba(217, 78, 255, 0.5); | |
| } | |
| /* ------------------------------ | |
| Result Box | |
| -------------------------------*/ | |
| #result-box { | |
| background: var(--card); | |
| padding: 20px; | |
| border-radius: var(--radius); | |
| margin-top: 20px; | |
| border: 1px solid rgba(255, 255, 255, 0.05); | |
| } | |
| #output p { | |
| background: rgba(255, 255, 255, 0.03); | |
| padding: 8px 10px; | |
| border-radius: 8px; | |
| margin: 6px 0; | |
| line-height: 1.4; | |
| } | |
| .error { | |
| background: rgba(255, 50, 100, 0.15); | |
| border-left: 4px solid var(--error); | |
| color: #ffc2d0; | |
| padding: 10px; | |
| border-radius: var(--radius); | |
| margin-top: 10px; | |
| } | |
| /* ------------------------------ | |
| Analysis Section | |
| -------------------------------*/ | |
| #analysis-box { | |
| background: rgba(255, 255, 255, 0.05); | |
| padding: 20px; | |
| border-radius: var(--radius); | |
| margin-top: 20px; | |
| border: 1px solid rgba(255, 255, 255, 0.06); | |
| } | |
| #analysis-box h3 { | |
| color: var(--accent1); | |
| margin-top: 0; | |
| } | |
| #analysis-box p { | |
| margin: 6px 0; | |
| } | |
| #topWords { | |
| list-style: none; | |
| padding: 0; | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 8px; | |
| } | |
| #topWords li { | |
| background: rgba(255, 255, 255, 0.08); | |
| padding: 6px 10px; | |
| border-radius: 20px; | |
| font-size: 14px; | |
| color: var(--accent1); | |
| } | |
| /* ------------------------------ | |
| Utility | |
| -------------------------------*/ | |
| .hidden { | |
| display: none; | |
| } | |
| @media (max-width: 600px) { | |
| .container { | |
| padding: 20px; | |
| } | |
| h1 { | |
| font-size: 24px; | |
| } | |
| button { | |
| width: 100%; | |
| } | |
| } | |