the-exploit-expert commited on
Commit
a0b48fc
·
verified ·
1 Parent(s): 043dd66

Update static/style.css

Browse files
Files changed (1) hide show
  1. static/style.css +296 -277
static/style.css CHANGED
@@ -1,277 +1,296 @@
1
- body{
2
- background-color: #faf9f6;
3
- margin: 0;
4
- }
5
-
6
- .logo {
7
- display: flex;
8
- flex-direction: column;
9
- align-items: flex-start;
10
- }
11
-
12
- .logo h1{
13
- margin: 30px;
14
- font-size: 30px;
15
- font-weight: bold;
16
- color: black;
17
- font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
18
- margin-bottom: -5px;
19
-
20
- }
21
-
22
- .logo p{
23
- margin: 30px;
24
- margin-top: 5px;
25
- font-size: 15px;
26
- font-weight: bold;
27
- color: black;
28
- font-family: 'Lucidia Sans', sans-serif;
29
- }
30
-
31
- .upload-container h3{
32
- color: black;
33
- font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
34
- }
35
- .upload-container {
36
- text-align: center;
37
- padding: 10px;
38
- background-color: white;
39
- border-radius: 100px;
40
- margin: 10px;
41
- }
42
-
43
- .upload-container input[type="file"] {
44
- color: black;
45
- text-align: center;
46
- }
47
-
48
- .upload-container button {
49
- padding: 10px 20px;
50
- border: none;
51
- border-radius: 25px;
52
- background: skyblue;
53
- cursor: pointer;
54
- font-weight: bold;
55
- transition: 0.3s;
56
- text-align: center;
57
- }
58
-
59
- .upload-container button:hover {
60
- background: white;
61
- text-align: center;
62
- color: black;
63
- }
64
-
65
- .upload-container h2{
66
- text-align: center;
67
- color: skyblue;
68
- font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
69
- font-weight: bold;
70
- }
71
-
72
- .navbar{
73
- margin: 0;
74
- padding: 15px 40px;
75
- background-color: #DCDCDC;
76
- }
77
-
78
- .navbar ul{
79
- margin: 0;
80
- display: flex;
81
- padding: 0;
82
- }
83
-
84
- .navbar ul {
85
- list-style-type: none;
86
- }
87
-
88
- .navbar a{
89
- text-decoration: none;
90
- display: flex;
91
- padding: 15px;
92
- color: black;
93
- font-weight: bold;
94
-
95
- }
96
-
97
- .container {
98
- background-color: white;
99
- padding: 30px;
100
- margin: 50px auto;
101
- width: 60%;
102
- align-items: center;
103
- display: flex;
104
- flex-direction: center;
105
- box-shadow: 0 10px 30px rgba(0,0,0,0.05);
106
- justify-content: center;
107
- border-radius: 50px;
108
- }
109
-
110
- .container h1{
111
- padding: 5px;
112
- margin: 5px;
113
- align-items: center;
114
- display: flex;
115
- justify-content: cneter;
116
- font-family: Verdana, Geneva, Tahoma, sans-serif;
117
- font-weight: bold;
118
- text-align: center;
119
- }
120
-
121
- .container ul{
122
- list-style-type: none;
123
- font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
124
- }
125
-
126
- .vision {
127
- background-color: white;
128
- border-radius: 25px;
129
- padding: 30px;
130
- display: flex;
131
- justify-content: center;
132
- align-items: center;
133
- text-align: center;
134
- width: 60%;
135
- margin: 50px auto;
136
- box-shadow: 0 10px 30px rgba(0,0,0,0.05);
137
- }
138
-
139
- .vision p {
140
- font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
141
- }
142
-
143
- .splash-screen {
144
- background-color: white;
145
- width: 100vw;
146
- height: 100vh;
147
- display: flex;
148
- flex-direction: column;
149
- justify-content: center;
150
- align-items: center;
151
- z-index: 9999;
152
- position: fixed;
153
- top: 0;
154
- left: 0;
155
- }
156
-
157
- .splash-screen h1{
158
- color: black;
159
- font-size: 2.5rem;
160
- margin: 0;
161
- justify-content: center;
162
- display: flex;
163
- font-family: sans-serif;
164
- }
165
-
166
- .splash-screen p{
167
- color: black;
168
- font-size: 1rem;
169
- margin-top: 10px;
170
- justify-content: center;
171
- display: flex;
172
- gap: 4px;
173
- font-family: 'Times New Roman', Times, serif;
174
- }
175
-
176
- .splash-screen p1{
177
- color: blue;
178
- gap: 2px;
179
- justify-content: center;
180
- text-align: center;
181
- font-family: 'Times New Roman', Times, serif;
182
- }
183
-
184
- footer{
185
- color: grey;
186
- text-align: center;
187
- font-family: Verdana, Geneva, Tahoma, sans-serif;
188
- }
189
-
190
- .consent-box {
191
- margin: 15px 0;
192
- padding: 12px;
193
- background: white;
194
- border: 1px solid #333;
195
- border-radius: 8px;
196
- font-size: 0.85rem;
197
- color: black;
198
- display: flex;
199
- align-items: flex-start;
200
- gap: 10px;
201
- }
202
-
203
- .consetn-box input{
204
- margin-top: 3px;
205
- cursor: pointer;
206
- }
207
-
208
- #scan-btn:disabled{
209
- background-color: #444;
210
- color: #888;
211
- opacity: 0.5;
212
- cursor: not allowed;
213
- }
214
-
215
-
216
- .consent-box a{
217
- text-decoration: none;
218
- color: darkblue;
219
- cursor: pointer;
220
- }
221
-
222
- .report-section {
223
- background-color: white;
224
- width: 350px;
225
- padding: 25px;
226
- border-radius: 20px;
227
- box-shadow: 0 10px 50px rgba(0,0,0,0.3);
228
-
229
- margin: 50px auto;
230
- display: flex;
231
- flex-direction: column;
232
- gap: 15px;
233
- }
234
-
235
- .report h3{
236
- color: black;
237
- font-family: Georgia, 'Times New Roman', Times, serif;
238
- display: flex;
239
- justify-content: center;
240
- text-align: center;
241
- }
242
-
243
- .report textarea{
244
- border: 2px solid grey;
245
- text-decoration: none;
246
- }
247
-
248
- .report button{
249
- padding: 10px 20px;
250
- border: none;
251
- border-radius: 25px;
252
- background: skyblue;
253
- cursor: pointer;
254
- font-weight: bold;
255
- transition: 0.3s;
256
- text-align: center;
257
- }
258
-
259
- .bar{
260
- width: 100%;
261
- height: 10px;
262
- max-width: 300px;
263
- background-color: #ddd;
264
- border-radius: 10px;
265
-
266
- }
267
-
268
- .fill{
269
- height: 100%;
270
- width: 0;
271
- background: red;
272
- border-radius: 10px;
273
- }
274
-
275
- .dot{
276
- color: red;
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
+ }