Spaces:
Sleeping
Sleeping
Update static/style.css
Browse files- static/style.css +296 -277
static/style.css
CHANGED
|
@@ -1,277 +1,296 @@
|
|
| 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 |
-
margin:
|
| 101 |
-
width:
|
| 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 |
-
|
| 178 |
-
|
| 179 |
-
|
| 180 |
-
|
| 181 |
-
|
| 182 |
-
|
| 183 |
-
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
|
| 187 |
-
|
| 188 |
-
|
| 189 |
-
|
| 190 |
-
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
|
| 194 |
-
|
| 195 |
-
|
| 196 |
-
|
| 197 |
-
|
| 198 |
-
|
| 199 |
-
|
| 200 |
-
|
| 201 |
-
|
| 202 |
-
|
| 203 |
-
|
| 204 |
-
|
| 205 |
-
|
| 206 |
-
|
| 207 |
-
|
| 208 |
-
|
| 209 |
-
|
| 210 |
-
|
| 211 |
-
|
| 212 |
-
|
| 213 |
-
|
| 214 |
-
|
| 215 |
-
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
|
| 219 |
-
|
| 220 |
-
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
|
| 228 |
-
|
| 229 |
-
|
| 230 |
-
|
| 231 |
-
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
|
| 235 |
-
|
| 236 |
-
|
| 237 |
-
|
| 238 |
-
|
| 239 |
-
|
| 240 |
-
|
| 241 |
-
}
|
| 242 |
-
|
| 243 |
-
.
|
| 244 |
-
|
| 245 |
-
|
| 246 |
-
|
| 247 |
-
|
| 248 |
-
|
| 249 |
-
|
| 250 |
-
|
| 251 |
-
|
| 252 |
-
|
| 253 |
-
|
| 254 |
-
|
| 255 |
-
|
| 256 |
-
|
| 257 |
-
}
|
| 258 |
-
|
| 259 |
-
.
|
| 260 |
-
|
| 261 |
-
|
| 262 |
-
|
| 263 |
-
|
| 264 |
-
|
| 265 |
-
|
| 266 |
-
|
| 267 |
-
|
| 268 |
-
|
| 269 |
-
|
| 270 |
-
|
| 271 |
-
|
| 272 |
-
|
| 273 |
-
|
| 274 |
-
|
| 275 |
-
|
| 276 |
-
|
| 277 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
* {
|
| 2 |
+
box-sizing: border-box;
|
| 3 |
+
}
|
| 4 |
+
|
| 5 |
+
:root {
|
| 6 |
+
--bg: #111018;
|
| 7 |
+
--panel: rgba(255, 255, 255, 0.08);
|
| 8 |
+
--panel-border: rgba(255, 255, 255, 0.14);
|
| 9 |
+
--text: #f5f2ff;
|
| 10 |
+
--muted: #cfc8dd;
|
| 11 |
+
--accent: #77d4ff;
|
| 12 |
+
--accent-dark: #58bde9;
|
| 13 |
+
--shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
|
| 14 |
+
}
|
| 15 |
+
|
| 16 |
+
body {
|
| 17 |
+
margin: 0;
|
| 18 |
+
min-height: 100vh;
|
| 19 |
+
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
| 20 |
+
color: var(--text);
|
| 21 |
+
background:
|
| 22 |
+
linear-gradient(rgba(10, 8, 20, 0.72), rgba(10, 8, 20, 0.82)),
|
| 23 |
+
url("pawel-czerwinski-1A_dO4TFKgM-unsplash.jpg") center/cover no-repeat fixed;
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
.navbar {
|
| 27 |
+
width: min(1180px, calc(100% - 32px));
|
| 28 |
+
margin: 20px auto 0;
|
| 29 |
+
padding: 16px 22px;
|
| 30 |
+
border-radius: 18px;
|
| 31 |
+
background: rgba(255, 255, 255, 0.08);
|
| 32 |
+
border: 1px solid var(--panel-border);
|
| 33 |
+
display: flex;
|
| 34 |
+
justify-content: space-between;
|
| 35 |
+
align-items: center;
|
| 36 |
+
gap: 18px;
|
| 37 |
+
box-shadow: var(--shadow);
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
.nav-brand {
|
| 41 |
+
font-size: 1.4rem;
|
| 42 |
+
font-weight: 800;
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
.nav-brand span {
|
| 46 |
+
color: #ff77c8;
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
.navbar ul {
|
| 50 |
+
display: flex;
|
| 51 |
+
gap: 18px;
|
| 52 |
+
list-style: none;
|
| 53 |
+
margin: 0;
|
| 54 |
+
padding: 0;
|
| 55 |
+
flex-wrap: wrap;
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
.navbar a {
|
| 59 |
+
color: var(--text);
|
| 60 |
+
text-decoration: none;
|
| 61 |
+
font-weight: 600;
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
.page {
|
| 65 |
+
width: min(1180px, calc(100% - 32px));
|
| 66 |
+
margin: 28px auto 36px;
|
| 67 |
+
}
|
| 68 |
+
|
| 69 |
+
.hero {
|
| 70 |
+
margin-bottom: 24px;
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
.hero-text {
|
| 74 |
+
max-width: 720px;
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
.brand-tag {
|
| 78 |
+
margin: 0 0 10px;
|
| 79 |
+
color: var(--accent);
|
| 80 |
+
font-weight: 700;
|
| 81 |
+
letter-spacing: 2px;
|
| 82 |
+
text-transform: uppercase;
|
| 83 |
+
font-size: 0.85rem;
|
| 84 |
+
}
|
| 85 |
+
|
| 86 |
+
.hero h1 {
|
| 87 |
+
margin: 0;
|
| 88 |
+
font-size: clamp(2.5rem, 5vw, 4.5rem);
|
| 89 |
+
line-height: 1.02;
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
.subtitle {
|
| 93 |
+
margin: 10px 0;
|
| 94 |
+
font-size: 1.15rem;
|
| 95 |
+
font-weight: 700;
|
| 96 |
+
color: var(--muted);
|
| 97 |
+
}
|
| 98 |
+
|
| 99 |
+
.description {
|
| 100 |
+
margin: 0;
|
| 101 |
+
max-width: 60ch;
|
| 102 |
+
line-height: 1.7;
|
| 103 |
+
color: #ece7f8;
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
.grid {
|
| 107 |
+
display: grid;
|
| 108 |
+
grid-template-columns: 1fr 1fr;
|
| 109 |
+
gap: 22px;
|
| 110 |
+
margin-bottom: 22px;
|
| 111 |
+
}
|
| 112 |
+
|
| 113 |
+
.card,
|
| 114 |
+
.upload-card,
|
| 115 |
+
.report-card {
|
| 116 |
+
background: var(--panel);
|
| 117 |
+
border: 1px solid var(--panel-border);
|
| 118 |
+
border-radius: 24px;
|
| 119 |
+
padding: 24px;
|
| 120 |
+
box-shadow: var(--shadow);
|
| 121 |
+
backdrop-filter: blur(12px);
|
| 122 |
+
}
|
| 123 |
+
|
| 124 |
+
.card h2,
|
| 125 |
+
.upload-card h2,
|
| 126 |
+
.report-card h2 {
|
| 127 |
+
margin-top: 0;
|
| 128 |
+
margin-bottom: 16px;
|
| 129 |
+
}
|
| 130 |
+
|
| 131 |
+
.card p,
|
| 132 |
+
.report-card p {
|
| 133 |
+
color: var(--muted);
|
| 134 |
+
line-height: 1.7;
|
| 135 |
+
}
|
| 136 |
+
|
| 137 |
+
.steps {
|
| 138 |
+
margin: 0;
|
| 139 |
+
padding-left: 20px;
|
| 140 |
+
color: var(--muted);
|
| 141 |
+
line-height: 1.9;
|
| 142 |
+
font-weight: 600;
|
| 143 |
+
}
|
| 144 |
+
|
| 145 |
+
.upload-card {
|
| 146 |
+
margin-bottom: 22px;
|
| 147 |
+
}
|
| 148 |
+
|
| 149 |
+
.file-row {
|
| 150 |
+
margin-bottom: 16px;
|
| 151 |
+
}
|
| 152 |
+
|
| 153 |
+
input[type="file"] {
|
| 154 |
+
width: 100%;
|
| 155 |
+
padding: 14px;
|
| 156 |
+
border-radius: 14px;
|
| 157 |
+
border: 1px dashed rgba(255, 255, 255, 0.25);
|
| 158 |
+
background: rgba(255, 255, 255, 0.06);
|
| 159 |
+
color: var(--text);
|
| 160 |
+
}
|
| 161 |
+
|
| 162 |
+
#preview {
|
| 163 |
+
display: none;
|
| 164 |
+
width: 100%;
|
| 165 |
+
max-height: 320px;
|
| 166 |
+
object-fit: contain;
|
| 167 |
+
margin: 8px 0 18px;
|
| 168 |
+
border-radius: 18px;
|
| 169 |
+
}
|
| 170 |
+
|
| 171 |
+
.consent-box {
|
| 172 |
+
display: flex;
|
| 173 |
+
gap: 12px;
|
| 174 |
+
align-items: flex-start;
|
| 175 |
+
padding: 16px;
|
| 176 |
+
margin-bottom: 18px;
|
| 177 |
+
border-radius: 16px;
|
| 178 |
+
background: rgba(255, 255, 255, 0.06);
|
| 179 |
+
color: var(--muted);
|
| 180 |
+
line-height: 1.6;
|
| 181 |
+
}
|
| 182 |
+
|
| 183 |
+
.consent-box a {
|
| 184 |
+
color: var(--accent);
|
| 185 |
+
text-decoration: none;
|
| 186 |
+
}
|
| 187 |
+
|
| 188 |
+
#scan-btn,
|
| 189 |
+
#reportButton {
|
| 190 |
+
border: none;
|
| 191 |
+
border-radius: 999px;
|
| 192 |
+
background: var(--accent);
|
| 193 |
+
color: #071119;
|
| 194 |
+
font-weight: 800;
|
| 195 |
+
padding: 14px 24px;
|
| 196 |
+
cursor: pointer;
|
| 197 |
+
transition: 0.2s ease;
|
| 198 |
+
}
|
| 199 |
+
|
| 200 |
+
#scan-btn:hover,
|
| 201 |
+
#reportButton:hover {
|
| 202 |
+
background: var(--accent-dark);
|
| 203 |
+
}
|
| 204 |
+
|
| 205 |
+
#scan-btn:disabled {
|
| 206 |
+
opacity: 0.45;
|
| 207 |
+
cursor: not-allowed;
|
| 208 |
+
}
|
| 209 |
+
|
| 210 |
+
#result {
|
| 211 |
+
margin-top: 20px;
|
| 212 |
+
min-height: 72px;
|
| 213 |
+
padding: 16px;
|
| 214 |
+
border-radius: 16px;
|
| 215 |
+
background: rgba(255, 255, 255, 0.06);
|
| 216 |
+
color: var(--text);
|
| 217 |
+
}
|
| 218 |
+
|
| 219 |
+
.report-card textarea {
|
| 220 |
+
width: 100%;
|
| 221 |
+
min-height: 140px;
|
| 222 |
+
padding: 14px;
|
| 223 |
+
border-radius: 16px;
|
| 224 |
+
margin-bottom: 14px;
|
| 225 |
+
border: 1px solid rgba(255, 255, 255, 0.16);
|
| 226 |
+
background: rgba(255, 255, 255, 0.06);
|
| 227 |
+
color: var(--text);
|
| 228 |
+
resize: vertical;
|
| 229 |
+
}
|
| 230 |
+
|
| 231 |
+
.footer {
|
| 232 |
+
width: min(1180px, calc(100% - 32px));
|
| 233 |
+
margin: 0 auto 28px;
|
| 234 |
+
text-align: center;
|
| 235 |
+
color: var(--muted);
|
| 236 |
+
line-height: 1.7;
|
| 237 |
+
}
|
| 238 |
+
|
| 239 |
+
.footer p {
|
| 240 |
+
margin: 5px 0;
|
| 241 |
+
}
|
| 242 |
+
|
| 243 |
+
.splash-screen {
|
| 244 |
+
position: fixed;
|
| 245 |
+
inset: 0;
|
| 246 |
+
background: #0a0814;
|
| 247 |
+
display: flex;
|
| 248 |
+
flex-direction: column;
|
| 249 |
+
align-items: center;
|
| 250 |
+
justify-content: center;
|
| 251 |
+
z-index: 9999;
|
| 252 |
+
}
|
| 253 |
+
|
| 254 |
+
.splash-screen h1 {
|
| 255 |
+
margin: 0;
|
| 256 |
+
font-size: 3rem;
|
| 257 |
+
}
|
| 258 |
+
|
| 259 |
+
.splash-screen p {
|
| 260 |
+
margin-top: 10px;
|
| 261 |
+
color: var(--muted);
|
| 262 |
+
}
|
| 263 |
+
|
| 264 |
+
.splash-screen span {
|
| 265 |
+
color: var(--accent);
|
| 266 |
+
font-weight: 700;
|
| 267 |
+
}
|
| 268 |
+
|
| 269 |
+
@media (max-width: 860px) {
|
| 270 |
+
.grid {
|
| 271 |
+
grid-template-columns: 1fr;
|
| 272 |
+
}
|
| 273 |
+
|
| 274 |
+
.navbar {
|
| 275 |
+
flex-direction: column;
|
| 276 |
+
align-items: flex-start;
|
| 277 |
+
}
|
| 278 |
+
}
|
| 279 |
+
|
| 280 |
+
@media (max-width: 640px) {
|
| 281 |
+
.navbar,
|
| 282 |
+
.page,
|
| 283 |
+
.footer {
|
| 284 |
+
width: min(100% - 20px, 100%);
|
| 285 |
+
}
|
| 286 |
+
|
| 287 |
+
.hero h1 {
|
| 288 |
+
font-size: 2.4rem;
|
| 289 |
+
}
|
| 290 |
+
|
| 291 |
+
.card,
|
| 292 |
+
.upload-card,
|
| 293 |
+
.report-card {
|
| 294 |
+
padding: 18px;
|
| 295 |
+
}
|
| 296 |
+
}
|