-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathstyle.css
More file actions
401 lines (352 loc) · 9.11 KB
/
style.css
File metadata and controls
401 lines (352 loc) · 9.11 KB
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
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
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
/* style.css */
/* welcome screen styling */
/* Make sure the page covers the full screen */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Full-screen black overlay */
.intro-container {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
width: 100vw;
background-color: white; /* Change background color to white */
color: black; /* Change text color to black for contrast */
background-image: url('hands.png');
background-size: cover; /* Keep the image covering the entire screen */
background-position: center; /* Center the image */
background-repeat: no-repeat;
background-attachment: fixed;
position: fixed;
top: 0;
left: 0;
}
button {
margin: 8px; /* Adjust this value as needed */
}
/* Content inside the intro screen */
.intro-content {
text-align: center; /* Ensure content inside intro-content is centered */
max-width: 90%;
padding: 20px;
display: flex;
flex-direction: column;
align-items: center; /* Center everything horizontally */
justify-content: center; /* Center content vertically */
}
/* Text box for title and subtitle */
.text-box {
background-color: rgb(255, 255, 255, 0.8); /* Semi-transparent background behind text */
border-radius: 25px; /* Rounded corners */
padding: 20px; /* Padding inside the text box */
margin-bottom: 20px; /* Spacing between the box and the button */
display: inline-block; /* Ensure text box wraps around the content */
text-align: center; /* Center text inside the box */
max-width: 100%; /* Allow text box to scale with screen size */
width: 100%; /* Make the box take full width */
}
/* Button styling */
#startButton {
padding: 15px 40px;
font-size: 1.2rem;
background-color: black;
color: white;
border: 2px solid black;
border-radius: 8px;
cursor: pointer;
transition: all 0.3s ease;
display: inline-block;
margin-top: 20px; /* Space between the button and text box */
}
/* Button hover effect */
#startButton:hover {
background-color: gray;
color: white;
border-color: gray;
}
/* Responsive design adjustments */
@media (max-width: 768px) {
.text-box {
width: 90%; /* Allow more space for text on smaller screens */
padding: 15px;
}
#startButton {
width: 80%; /* Make button take up more space on smaller screens */
padding: 12px 30px;
}
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: flex-start;
min-height: 100vh;
background-image: url('pixels.png');
background-color: rgba(0,0,0);
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
}
.container {
width: 80%;
max-width: 600px;
padding: 30px;
background-color: rgba(255, 255, 255, 0.9);
border-radius: 12px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
transition: transform 0.3s ease-in-out;
margin-top: 20px;
}
.container:hover {
transform: translateY(-5px);
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: flex-start;
min-height: 100vh;
background-image: url('./pixels.png');
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
.container {
width: 80%;
max-width: 600px;
padding: 30px;
background-color: rgba(255, 255, 255, 0.9);
border-radius: 12px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
transition: transform 0.3s ease-in-out;
margin-top: 20px;
}
.container:hover {
transform: translateY(-5px);
}
h1 {
text-align: center;
color: #333;
margin-bottom: 20px;
font-weight: 600;
letter-spacing: 1px;
}
textarea {
width: calc(100% - 22px);
padding: 12px;
margin-bottom: 20px;
border: 1px solid #ddd;
border-radius: 8px;
resize: vertical;
font-size: 16px;
line-height: 1.6;
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}
.input-group {
display: flex;
justify-content: space-between;
margin-bottom: 20px;
}
button {
flex: 1;
padding: 14px 20px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 8px;
cursor: pointer;
font-size: 16px;
font-weight: 600;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #3e8e41;
}
#result {
margin-top: 30px;
padding: 20px;
border: 1px solid #e0e0e0;
border-radius: 8px;
background-color: rgba(249, 249, 249, 0.85);
font-size: 16px;
line-height: 1.6;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}
.result-safe {
background-color: rgba(232, 245, 233, 0.9);
border: 1px solid #a5d6a7;
color: #2e7d32;
}
.result-warning {
background-color: rgba(255, 243, 224, 0.9);
border: 1px solid #ffca28;
color: #ef6c00;
}
.result-danger {
background-color: rgba(255, 235, 238, 0.9);
border: 1px solid #e57373;
color: #d32f2f;
}
#queryHistory {
margin-top: 20px;
padding: 15px;
background-color: rgba(255, 255, 255, 0.8);
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
#historyList {
list-style-type: none;
padding: 0;
}
#historyList li {
padding: 8px 12px;
border-bottom: 1px solid #eee;
}
#historyList li:last-child {
border-bottom: none;
}
/* Modal styles */
.modal {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0, 0, 0, 0.4);
}
.modal-content {
background-color: #fefefe;
margin: 15% auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
border-radius: 8px;
}
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
cursor: pointer;
}
.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
.container {
width: 80%;
max-width: 600px;
padding: 30px;
background-color: rgba(255, 255, 255, 0.9);
border-radius: 12px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Existing shadow */
transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Add transition for box-shadow */
margin-top: 20px;
}
.container:hover {
transform: translateY(-5px); /* Existing hover effect */
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
}
.social-icons {
position: fixed;
bottom: 20px;
right: 20px;
display: flex;
z-index: 1000; /* Ensure it's on top of other elements */
}
.social-icon {
width: 40px;
height: 40px;
background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
margin-left: 10px;
text-decoration: none;
color: #333;
font-size: 20px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
transition: background-color 0.3s ease;
}
.social-icon:hover {
background-color: rgba(255, 255, 255, 1); /* Opaque white on hover */
}
.floating-box {
position: fixed;
top: 50%;
left: 20px; /* Adjust left position as needed */
transform: translateY(-50%); /* Center vertically */
background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
z-index: 999; /* Ensure it's on top of other content */
text-align: center;
transition: transform 0.3s ease;
}
.floating-box:hover {
transform: translateY(-55%); /* Slight upward movement on hover */
}
.floating-logo {
font-size: 18px;
font-weight: bold;
color: #333;
line-height: 1.2;
}
.fancy-scam {
background: linear-gradient(135deg, #64b5f6, #42a5f5); /* Gradient background */
color: white;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* Subtle text shadow */
border-radius: 12px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhanced shadow */
padding: 30px;
text-align: center;
transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
}
.fancy-scam:hover {
transform: translateY(-5px); /* Slight lift on hover */
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
}
.fancy-icon {
font-size: 4em;
margin-bottom: 15px;
color: #e1f5fe; /* Lighter icon color */
}
.fancy-heading {
font-size: 2em;
margin-bottom: 15px;
font-weight: 600;
}
.fancy-text {
font-size: 1.1em;
margin-bottom: 20px;
}
.check-button {
background-color: #e1f5fe; /* Light button background */
color: #42a5f5; /* Button text color */
padding: 12px 25px;
border: none;
border-radius: 8px;
font-size: 1em;
font-weight: 600;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.3s ease;
}
.check-button:hover {
background-color: #bbdefb; /* Slightly darker button background on hover */
transform: scale(1.05); /* Slight scale on hover */
}
/* ... rest of your CSS ... */