-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
364 lines (304 loc) · 7.72 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
body {
font-family: 'Prompt', sans-serif;
background-color: #E9ECEF;
color: #333;
margin: 0;
padding: 0;
}
body h1 {
font-size: 2.7em; /* adjust this value as needed */
position: relative; /* Required to properly position the ::after pseudo-element */
display: inline-block; /* Makes sure the width of the h1 only stretches as far as its content */
padding-bottom: 5px; /* Add some space for the line below the text */
}
body h1::after {
content: ""; /* This is mandatory for the pseudo-element to show */
position: absolute;
bottom: 0; /* Align to the bottom of the h1 */
left: 0; /* Align to the left of the h1 */
width: 100%; /* Makes sure the line spans the full width of the h1 content */
height: 2px; /* Adjust for the thickness of the line */
background-color: grey; /* Adjust the color as needed */
}
nav {
position: fixed;
top: 0;
right: 10px; /* Reduced from 20px to move it further from the right */
font-size: 18px; /* Increasing the font size */
}
nav ul {
list-style-type: none;
padding: 0;
}
nav li {
display: inline;
margin-left: 15px;
}
nav a {
text-decoration: none;
color: #6B705C;
transition: color 0.2s;
}
nav a:hover {
color: #2A2A2A;
}
.card {
display: flex;
align-items: center;
justify-content: center;
margin-top: 100px;
background-color: #A5A58D;
border-radius: 10px;
padding: 30px; /* Increased padding for bigger card */
max-width: 900px; /* Increased width for bigger card */
margin-left: auto;
margin-right: auto;
position: relative; /* Added for positioning email and phone details */
}
.card img {
max-width: 150px; /* Increased from 100px */
max-height: 150px; /* Increased from 100px */
border-radius: 10px;
margin-right: 20px;
}
.content h1 {
margin: 0;
color: #2A2A2A;
}
.content p {
margin-top: 10px;
color: #2A2A2A;
}
.linkedin-link {
display: inline-block;
margin-left: 10px; /* Adjust the spacing */
}
.linkedin-link img {
max-width: 30px; /* Set the image width */
max-height: 30px; /* Set the image height */
vertical-align: middle;
}
/* New Styles for Email and Phone */
.contact-details {
position: absolute; /* Absolutely position relative to the card */
bottom: 15px; /* Spacing from the bottom */
right: 15px; /* Spacing from the right */
color: #2A2A2A; /* The greyish-black color you mentioned */
font-size: 12px; /* Smaller font size */
}
/* Adding space between email and phone */
.contact-details p {
margin: 0;
line-height: 1.5;
}
/* Timeline styles */
.timeline {
position: relative;
max-width: 800px;
margin: 100px auto;
padding: 50px 0;
}
.timeline::before {
content: "";
position: absolute;
top: 0;
bottom: 0;
left: 50%;
width: 2px;
background: #6B705C;
}
.timeline-item {
position: relative;
width: 50%;
padding: 20px;
box-sizing: border-box;
}
.timeline-item.right {
margin-left: 50%;
padding-left: 30px;
text-align: left;
}
.timeline-item.left {
margin-right: 50%;
padding-right: 30px;
text-align: right;
}
.timeline-item::before {
content: "";
position: absolute;
width: 20px;
height: 20px;
border-radius: 50%;
background: #6B705C;
z-index: 1;
}
.timeline-item.right::before {
left: -30px;
top: 20px;
}
.timeline-item.left::before {
right: -30px;
top: 20px;
}
.timeline-item h2,
.timeline-item h3,
.timeline-item p {
margin: 0;
margin-bottom: 10px;
}
html {
scroll-behavior: smooth;
}
.timeline.work {
display: none;
}
.timeline-switcher {
text-align: center;
margin: 50px 0;
}
.btn {
padding: 15px 30px; /* Increased padding for larger buttons */
margin: 0 10px;
border: none;
cursor: pointer;
background-color: #E9ECEF;
color: #333; /* Lighter color for contrast */
font-size: 20px; /* Increased font size */
font-family: 'Prompt', sans-serif;
transition: background-color 0.3s, transform 0.3s;
border-radius: 10px; /* Rounded edges */
}
.btn:hover {
background-color: #6B705C; /* Color transition on hover */
transform: scale(1.05); /* Slightly enlarge the button on hover */
}
#skills {
text-align: center;
padding: 50px 0;
}
.skill-set {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
margin: 20px 0;
}
.skill {
display: flex;
flex-direction: column;
align-items: center;
}
.skill i {
font-size: 40px;
margin-bottom: 10px;
}
.languages {
margin-top: 30px;
}
.language-icon {
width: 40px;
height: 40px;
margin-bottom: 10px;
}
/* Additional styling for language name and proficiency level */
.languages p:first-child {
font-weight: bold;
}
.languages p:last-child {
color: #777;
}
.skill-icon {
width: 40px;
height: 40px;
margin-bottom: 10px;
}
#honors {
margin-top: 30px;
display: flex;
flex-direction: column;
align-items: center;
width: 100%; /* Full width of its container */
}
.honor {
width: 80%; /* Adjust to your liking */
margin-bottom: 30px;
padding: 15px 0; /* Space at the top and bottom of each honor */
border-bottom: 1px solid grey; /* Grey line separating each honor */
text-align: center; /* Centered text */
}
.honor:last-child {
border-bottom: none; /* Remove the border for the last honor */
}
.honor h3, .honor strong {
font-size: 1.8em; /* Adjust based on your preference */
font-weight: bold; /* Bold text */
margin-top: 10px;
}
.honor p, .honor a {
margin-top: 10px;
}
.honor a {
text-decoration: none;
color: #007BFF;
transition: color 0.2s;
}
.honor a:hover {
color: #0056b3;
}
.download-cv {
display: inline-block;
margin-top: 20px;
background-color: #2A2A2A; /* You can adjust this color as needed */
color: #ffffff;
padding: 10px 20px;
border-radius: 5px;
font-weight: bold;
transition: background-color 0.3s;
text-decoration: none;
align-self: flex-start; /* Align to the start of the flex container */
}
.download-cv:hover {
background-color: #6B705C;
}
.download-cv i {
margin-right: 5px;
}
#projects {
padding: 50px 5%; /* This will give 5% of the screen width as padding on both left and right sides. */
text-align: center; /* To ensure the "My Projects" title is centered */
}
.project-row {
display: flex;
justify-content: space-between;
margin-bottom: 50px;
margin-left: 2.5%; /* This will give an additional spacing on the left side */
margin-right: 2.5%; /* This will give an additional spacing on the right side */
}
.project {
width: 45%; /* Reduced the width to give more space between projects */
box-shadow: 0px 0px 10px rgba(0,0,0,0.1); /* Optional: adds a subtle shadow to the project boxes */
overflow: hidden;
border-radius: 10px;
}
.project img {
width: 100%; /* Makes sure the image takes up the full width of its container */
height: auto;
}
.project h2, .project p {
margin: 15px;
}
.project a {
text-decoration: none;
color: inherit;
}
.truncate {
width: calc(45% - 10px); /* Adjusted based on the new project width */
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.skill-icon {
width: 40px;
height: 40px;
margin-bottom: 10px;
}