Spaces:
Sleeping
Sleeping
File size: 3,390 Bytes
be150e9 acda7d5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
/* ------------------------------------------
🌌 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%;
}
}
|