-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
styles.css
440 lines (403 loc) · 8.9 KB
/
styles.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
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
/* style.css */
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background-color: #87ceeb; /* Light sky blue */
background-image: linear-gradient(to top right, #48859c, #0a250b); /* Gradient from light sky blue to white */
color: #f9f9f9;
background-size: cover;
background-position: center;
}
/* Set the maximum width for the main content area */
main {
margin: 0 auto; /* Center the content horizontally within the main area */
padding: 20px; /* Optional padding to create spacing between content and edges */
}
/* Header format */
header {
background-size: cover;
font-size: 25px;
background-position: center;
height: auto; /* Adjust the height to fit the content */
text-align: center; /* Center the header content horizontally */
padding-top: 10px; /* Add some top padding to the header */
/* Add the opacity value to the background image */
background-color: rgba(0, 0, 0, 0.6); /* The last value (0.6) sets the opacity to 60% */
}
.header-container {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
text-align: center;
}
header h1 {
font-size: 40px;
margin-left: 10px;
color: white; /* Set the text color to white */
}
h1 {
font-size: 40px;
margin-left: 10px;
}
/*Profile photo */
.centered-image {
display: block;
margin: 0 auto;
}
.profile-image {
width: 250px; /* Adjust the width as needed */
height: auto; /* Adjust the height as needed */
border-radius: 15%; /* To create a circular image */
margin-left: auto;
transition: box-shadow 0.3s ease;
max-width: 100%; /* Add this to limit the image width */
height: auto; /* Maintain aspect ratio */
}
.profile-image:hover {
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Customize the box shadow effect */
}
/* Nevigation format */
.navbar {
background-color: #333; /* Set the background color of the navigation bar */
overflow: hidden;
padding-top: 10px; /* Reduce the top padding to decrease space */
}
.navbar li {
float: none;
display: inline-block;
}
.navbar li a {
display: block;
padding: 16px;
text-decoration: none;
color: rgb(246, 239, 239);
transition: background-color 0.3s ease, color 0.3s ease; /* Add color transition */
}
.navbar li a:hover {
background-color: #f9f9f9;
color: black; /* Change text color when hovered */
}
/* Styling for the links in the navbar and dropdown menu */
.navbar li a,
.dropdown-content a {
display: block;
padding: 16px;
text-decoration: none;
color: #87ceeb; /* Light blue color */
transition: background-color 0.3s ease, color 0.3s ease; /* Add color transition */
}
.navbar li a:hover,
.dropdown-content a:hover {
background-color: #f9f9f9;
color: #0066cc; /* Darker blue color when hovered */
}
/* Styling for the dropdown menu */
.dropdown-content {
display: none;
position: absolute;
background-color: #281f1f;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 2; /* Set a higher z-index value for the dropdown menu */
}
.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
transition: background-color 0.3s ease;
}
.dropdown:hover .dropdown-content {
display: block;
}
.dropdown-content a:hover {
background-color: red;
}
#typing-text {
font-size: 24px;
margin-left: 10px;
white-space: nowrap;
overflow: hidden;
border-right: 0.15em solid #000; /* Cursor style */
animation: typing 3s steps(40, end), blink-caret 0.5s step-end infinite;
}
@keyframes typing {
from {
width: 0;
}
to {
width: 300px; /* Adjust the width as needed */
}
}
@keyframes blink-caret {
from, to {
border-color: transparent;
}
50% {
border-color: #000;
}
}
@media screen and (max-width: 768px) {
img {
max-width: 100%;
height: auto;
}
}
/* Styling for the content (email section) */
.content {
max-width: 1400px;
margin: 30px auto;
padding: 10px;
z-index: 1; /* Set a higher z-index value for the email section */
}
.content h2 {
font-size: 20px;
margin-bottom: 10px;
}
.content p {
font-size: 14px;
line-height: 1.6;
}
.content ul {
list-style-type: disc;
margin-left: 20px;
margin-bottom: 20px;
}
.content li {
font-size: 14px;
line-height: 1.6;
}
pre {
background-color: #f1f50b52;
padding: 10px;
font-size: 14px;
font-family: 'Courier New', monospace;
white-space: pre-wrap;
}
.project-list {
border: 1px solid #d31010;
background-color: #28408169;
padding: 10px;
margin-bottom: 20px;
font-size: 20px; /* Set the desired font size here */
}
.project-list ul {
list-style: none;
padding: 0;
margin: 0;
}
.project-list li {
margin-bottom: 5px;
}
.project-list li a {
text-decoration: none;
color: #f9f9f9;
}
.project-list li a:hover {
color: #0066cc;
}
/* Styling for the links in the project list */
.project-list li a {
text-decoration: none;
color: #f9f9f9; /* Set the font color to white */
}
.project-list li a:hover {
color: #0066cc; /* Light blue color when hovered */
}
/* Styling for the footer links */
footer a {
text-decoration: none;
color: #87ceeb; /* Light blue color */
transition: color 0.3s ease; /* Add color transition */
}
footer a:hover {
color: #0066cc; /* Darker blue color when hovered */
}
/* Styling for the footer */
footer {
text-align: center;
padding: 20px;
background-color: #0f0e0e;
color: #f9f9f9; /* Set the font color to white */
}
/* Styling for the copied message */
.copied-message {
display: none;
position: absolute;
background-color: #333;
color: #f9f9f9;
padding: 5px 10px;
border-radius: 5px;
top: 50%;
left: 100%;
transform: translate(10px, -50%);
z-index: 1; /* Set a lower z-index value for the dropdown menu */
}
/* Styling for the container of the email link */
.email-container {
position: relative;
display: inline-block;
}
table {
border-collapse: collapse;
width: 100%;
}
th, td {
padding: 10px;
text-align: left;
border-bottom: 1px solid #ddd;
}
tr:hover {
background-color: #171515;
}
td:first-child {
width: 30px;
}
/* Container for button and shade */
.button-container {
position: relative;
display: inline-block;
margin-right: 10px; /* Add space between buttons */
}
.left { /* Added left class */
margin-right: 10px; /* Space between buttons */
margin-left: 0; /* Reset margin */
}
.right {
margin-right: 0; /* Reset margin for the right button */
margin-left: auto; /* Move the button to the right */
}
/* Button styles */
.custom-button {
display: inline-block;
padding: 15px 30px;
background-color: rgb(28, 221, 242);
color: rgb(112, 15, 15);
font-size: 16px;
border: none;
cursor: pointer;
overflow: hidden;
border-radius: 10px; /* Add curved corners */
}
/* Shade styles */
.shade {
position: absolute;
bottom: 5;
left: -40%; /* Start from left */
width: 100%;
height: 100%;
background-color: rgba(163, 156, 156, 0.683);
transition: left 0.3s ease-in-out;
z-index: -1;
border-radius: 10px; /* Add curved corners */
}
/* Hover effect */
.button-container:hover .shade {
left: 0; /* Move to right */
}
/* Hover effect for the first button */
.button-container.left:hover .shade {
left: 0; /* Move to right */
}
/* Hover effect for the second button */
.button-container.right:hover .shade {
right: 0; /* Move to left */
left: auto; /* Reset the 'left' property */
}
/* CSS */
.button-85 {
padding: 0.6em 2em;
border: none;
outline: none;
color: rgb(255, 255, 255);
background: #111;
cursor: pointer;
position: relative;
z-index: 0;
border-radius: 10px;
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
}
.button-85:before {
content: "";
background: linear-gradient(
45deg,
#ff0000,
#ff7300,
#fffb00,
#48ff00,
#00ffd5,
#002bff,
#7a00ff,
#ff00c8,
#ff0000
);
position: absolute;
top: -2px;
left: -2px;
background-size: 400%;
z-index: -1;
filter: blur(5px);
-webkit-filter: blur(5px);
width: calc(100% + 4px);
height: calc(100% + 4px);
animation: glowing-button-85 20s linear infinite;
transition: opacity 0.3s ease-in-out;
border-radius: 10px;
}
@keyframes glowing-button-85 {
0% {
background-position: 0 0;
}
50% {
background-position: 400% 0;
}
100% {
background-position: 0 0;
}
}
.button-85:after {
z-index: -1;
content: "";
position: absolute;
width: 100%;
height: 100%;
background: #222;
left: 0;
top: 0;
border-radius: 10px;
}
.back-button {
padding: 10px 20px;
font-size: 16px;
background-color: #007bff;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
.back-button:hover {
background-color: #0056b3;
}
/* Style for the "Back to Top" button */
#myBtn {
display: none;
position: fixed;
bottom: 20px;
right: 30px;
z-index: 99;
font-size: 18px;
border: none;
outline: none;
background-color: red;
color: white;
cursor: pointer;
padding: 15px;
border-radius: 4px;
}
#myBtn:hover {
background-color: #555;
}