forked from mansiruhil13/Bobble-AI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style1.css
400 lines (342 loc) · 6.63 KB
/
style1.css
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
/* Base Styles */
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
max-width: 100%;
width: 100%;
position: relative;
top: 50px;
margin: 0;
padding: 0;
color: #333;
display: flex;
flex-direction: column;
min-height: 100vh;
overflow: hidden;
}
/* Navbar styles */
header {
background-color: #fff;
/* Light mode background */
padding: 10px 0;
width: 100%;
}
.menu ul {
display: flex;
list-style: none;
padding: 0;
margin: 0;
}
.menu ul li {
margin-right: 20px;
}
.menu ul li a {
padding: 10px 15px;
color: black;
/* Light mode link color */
text-decoration: none;
border-radius: 10px;
}
/* scroll to top */
#back-to-top {
display: none;
/* Initially hidden */
position: fixed;
/* Fix the button to the bottom right */
bottom: 20px;
/* Distance from the bottom */
right: 20px;
/* Distance from the right */
padding: 10px;
/* Padding around the icon */
background-color: #3341ff;
/* Button background color */
color: white;
/* Icon color */
border: none;
/* No border */
border-radius: 50%;
/* Circular shape */
cursor: pointer;
/* Change cursor to pointer */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
/* Add shadow for depth */
transition: background-color 0.3s, transform 0.3s;
/* Smooth transitions */
}
#back-to-top:hover {
background-color: #2739bb;
/* Darker shade on hover */
transform: scale(1.1);
/* Slightly enlarge on hover */
}
/* Dark mode styles */
body.dark-mode {
background-color: #333;
color: #fff;
}
/* Navbar in dark mode */
body.dark-mode header {
background-color: #222;
/* Dark mode navbar background */
}
body.dark-mode .menu ul li a {
color: #fff;
/* White links in dark mode */
}
.dark-mode-toggle {
background-color: transparent;
/* No background color */
border: none;
/* Remove border */
cursor: pointer;
/* Pointer cursor for better UX */
}
body.dark-mode .dark-mode-toggle i {
color: #ffd333;
/* Icon color in dark mode */
}
/* Optional: Add a hover effect for better feedback */
.dark-mode-toggle:hover {
opacity: 0.8;
}
/* Headings and text in dark mode */
body.dark-mode .content h1 {
color: #ff5733;
/* H1 color in dark mode */
}
body.dark-mode .feature p,
body.dark-mode .team-feature p,
body.dark-mode .contact-feature p,
body.dark-mode .content h2 {
color: #fff;
/* White text for elements in dark mode */
}
/* Content area styles */
.content {
background-color: #fff;
color: #333;
margin: 20px;
padding: 20px;
border-radius: 5px;
flex-grow: 1;
max-width: 100%;
}
body.dark-mode .content {
background-color: #444;
color: #795555;
}
/* Feature box styles in dark mode */
body.dark-mode .feature,
body.dark-mode .team-feature,
body.dark-mode .contact-feature {
background-color: #555;
color: #fff;
border: 1px solid #666;
}
h1 {
color: #2c3e50;
text-align: center;
margin-bottom: 20px;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 20px;
animation: fadeIn 1s ease-in-out;
}
.feature {
background-color: #e7f3fe;
border-radius: 10px;
padding: 15px;
text-align: center;
transition: transform 0.3s, box-shadow 0.3s;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.feature:hover {
transform: translateY(-5px);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.feature img {
width: 100px;
height: 100px;
object-fit: cover;
margin-bottom: 10px;
border-radius: 50%;
}
.feature h2 {
color: #2980b9;
margin-bottom: 10px;
}
.feature p {
color: #555;
}
.team-feature,
.contact-feature {
padding: 20px;
display: flex;
align-items: center;
text-align: left;
border-radius: 10px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
grid-column: 1 / -1;
}
.team-feature {
background-color: #e7ffe7;
}
.contact-feature {
background-color: #f2e4aa;
}
.team-feature img,
.contact-feature img {
width: 150px;
height: auto;
margin-right: 20px;
border-radius: 10px;
}
.feature p {
color: #555;
}
.team-feature {
background-color: #e7ffe7;
padding: 20px;
display: flex;
align-items: center;
text-align: left;
border-radius: 10px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
grid-column: 1 / -1;
}
.team-feature img {
width: 150px;
height: auto;
margin-right: 20px;
border-radius: 10px;
}
.contact-feature {
background-color: #f2e4aa;
padding: 20px;
display: flex;
align-items: center;
text-align: left;
border-radius: 10px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
grid-column: 1 / -1;
}
.contact-feature img {
width: 150px;
height: auto;
margin-right: 20px;
border-radius: 10px;
}
footer {
text-align: center;
flex-wrap: wrap;
justify-content: space-between;
background-color: #fff5f5;
box-sizing: border-box;
width: 100%;
position: relative;
}
.footer-container {
display: flex;
justify-content: space-between;
align-items: flex-start;
background-color: #C4D7FF;
color: #f3f4f6;
width: 100%;
padding: 20px 10px;
}
.footer-copyright {
background-color: #C4D7FF;
color: #000000;
display: flex;
justify-content: center;
align-items: center;
padding: 10px 20px;
width: 100%;
}
.contact-ft {
flex: 1;
min-width: 200px;
}
.social-ft {
flex: 1;
display: flex;
flex-direction: column;
align-items: flex-end;
padding-right: 20px;
/* Adjust this value for right padding */
}
.links {
display: flex;
justify-content: center;
gap: 1rem;
font-size: 1.5rem;
flex-wrap: wrap;
}
.links a {
color: white;
text-decoration: none;
}
.contact-ft {
flex: 1;
min-width: 200px;
padding-left: 20px;
/* Add left padding for alignment */
}
pre {
margin: 0;
/* Remove default margin from pre element */
white-space: pre-wrap;
/* Ensure the content wraps as needed */
}
.quick-links {
flex: 1 1 200px;
/* Allows the section to grow and shrink */
min-width: 200px;
/* Minimum width */
margin-bottom: 20px;
/* Spacing below */
}
.quick-links-list {
list-style-type: none;
/* Remove default list styles */
padding: 0;
/* Remove default padding */
display: flex;
/* Enable flexbox layout */
flex-direction: column;
/* Stack items vertically */
}
.quick-links-list li {
margin-bottom: 10px;
/* Space between items */
}
.quick-links-list a {
color: #000000;
/* Link color */
text-decoration: none;
/* Remove underline */
transition: color 0.3s;
/* Smooth color change on hover */
}
.quick-links-list a:hover {
color: #2980b9;
/* Change color on hover */
}
/* Responsive adjustments */
@media (max-width: 600px) {
.quick-links {
text-align: center;
/* Center text on small screens */
}
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}