forked from alura-challenges/challenge-one-portfolio-br
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
570 lines (478 loc) · 11.4 KB
/
style.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
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
/* Reset some basic elements */
body, h1, h2, h3, p, ul, li {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Basic body styling */
body {
font-family: 'Raleway', sans-serif;
line-height: 1.6;
font-size: 16px;
color: #333;
background-color: #f4f4f4;
}
/* Header styling */
header {
background: #151111;
color: #fff;
padding: 20px 0;
text-align: center;
}
/* Navigation bar styling */
nav {
display: flex;
justify-content: center;
background: #444;
}
nav a {
color: white;
padding: 10px 15px;
text-decoration: none;
text-transform: uppercase;
}
nav a:hover {
background: #555;
}
/* Main content area */
main {
max-width: 960px;
margin: 20px auto;
padding: 20px;
background: white;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
/* Footer styling */
footer {
text-align: center;
padding: 20px 0;
background: #333;
color: white;
}
/* Utility classes */
.container {
width: 80%;
margin: auto;
overflow: hidden;
}
.text-center {
text-align: center;
}
.bold {
font-weight: bold;
}
/* General styles for the entire page */
body {
font-family: 'Arial', sans-serif; /* A clean, modern font */
color: #333; /* Dark grey color for text for better readability */
background: #f4f4f4; /* Light grey background */
margin: 0;
padding: 0;
}
.all {
max-width: 960px; /* Maximum width of the menu container */
margin: 0 auto; /* Centering the menu */
padding: 20px;
}
/* Estilos para a sessão de Menu */
.menu {
background-color: #f8f8f8;
padding: 10px 0;
text-align: center;
}
.menu header {
display: flex;
align-items: center;
justify-content: center;
}
.menu header img {
width: 50px;
height: 50px;
margin-right: 10px;
}
.menu__title {
font-size: 24px;
color: #afd70c;
}
.menu nav {
margin-top: 10px;
}
.menu__list {
list-style-type: none;
padding: 0;
}
.menu__list__item {
display: inline;
margin-right: 10px;
}
.menu__list__item a {
text-decoration: none;
color: #afd70c;
font-weight: bold;
}
.menu__list__item a:hover {
color: #007bff;
}
.menu__list__item__contato {
display: block;
margin-top: 10px;
}
.menu__list__item__contato a {
text-decoration: none;
color: #333;
font-weight: bold;
}
.menu__list__item__contato a:hover {
color: #007bff;
}
/* Title Section Styles */
.title {
background-color: #e8f0fe; /* Light blue background for a fresh look */
padding: 20px 0; /* Top and bottom padding */
border-bottom: 1px solid #ccc; /* Light border for a subtle separation from the next section */
}
.title__div {
display: flex; /* Flexbox layout for horizontal alignment */
align-items: center; /* Center items vertically */
justify-content: center; /* Center items horizontally */
gap: 20px; /* Space between the profile image and text container */
max-width: 960px; /* Maximum width of content */
margin: 0 auto; /* Centering the container */
padding: 20px; /* Padding inside the container */
}
.title__profile {
width: 100px; /* Fixed width for the profile picture */
height: 100px; /* Fixed height to keep aspect ratio */
border-radius: 50%; /* Make the profile picture round */
object-fit: cover; /* Ensures the image covers the space without being distorted */
}
.title__container {
flex-grow: 1; /* Takes the remaining space in the flex container */
}
.title__bio,
.title__subsection {
margin: 5px 0; /* Vertical margin for spacing */
color: #333; /* Dark grey for text for readability */
}
.title__bio {
font-size: 24px; /* Larger text for main bio */
font-weight: bold; /* Bold font for emphasis */
}
.title__subsection {
font-size: 18px; /* Slightly smaller text for subsection details */
}
.title__network {
list-style: none; /* No bullets for the list */
padding: 0; /* No padding to start from the edge */
display: flex; /* Display list items in a row */
gap: 10px; /* Space between each list item */
}
.title__network__item a {
display: flex; /* Align text and image horizontally */
align-items: center; /* Center the items vertically */
gap: 5px; /* Space between the text and the arrow image */
text-decoration: none; /* Remove underline from links */
color: #0077cc; /* Blue color for links to stand out */
font-weight: 500; /* Semi-bold for better visibility */
}
.title__network__item img {
width: 16px; /* Fixed width for arrow images */
}
/* Hover effect for social links */
.title__network__item a:hover {
text-decoration: underline; /* Underline on hover for a clear indication of clickable item */
color: #0056b3; /* A darker shade of blue for hover effect */
}
/* About Section Styles */
.about {
background-color: #f9f9f9; /* Light background for contrast */
padding: 40px 20px; /* Padding around the section */
border-top: 1px solid #eee; /* Subtle top border */
}
.about__container {
max-width: 800px; /* Limiting width for better readability */
margin: 0 auto; /* Centering the container */
text-align: center; /* Center alignment for text */
}
.about__title {
font-size: 28px; /* Larger font size for heading */
color: #333; /* Dark color for the title */
margin-bottom: 20px; /* Space below the title */
}
.about__paragraph {
font-size: 16px; /* Comfortable reading size */
color: #666; /* Slightly lighter text color for easier reading */
line-height: 1.6; /* Line height for better readability */
margin-bottom: 20px; /* Space between paragraphs */
}
img[src*="signature.png"] { /* Targeting image by src attribute contains */
display: block; /* Ensures the image is on a new line */
margin: 20px auto 0; /* Centers the image with a margin-top */
width: 150px; /* Controlled width of the signature image */
opacity: 0.6; /* Slightly faded look for the signature */
}
/* Responsive Adjustments */
@media (max-width: 600px) {
.about__container {
padding: 0 10px; /* Reduced padding on smaller screens */
}
.about__title {
font-size: 24px; /* Slightly smaller font size on mobile devices */
}
}
/* Skills Section Styles */
.skills {
padding: 40px 20px; /* Padding around the section */
background-color: #fff; /* White background for contrast */
}
.skills__title {
font-size: 24px; /* Larger font size for heading */
color: #333; /* Dark color for the title */
text-align: center; /* Center alignment for the title */
margin-bottom: 30px; /* Space below the title */
}
.skills__line {
display: flex; /* Flex layout for horizontal alignment */
justify-content: center; /* Center items horizontally */
flex-wrap: wrap; /* Allowing items to wrap to the next line if needed */
}
.skills__box {
width: 200px; /* Width of each skills box */
text-align: center; /* Center alignment for content */
margin: 0 20px 30px; /* Spacing between skills boxes */
}
.skills__img {
margin-bottom: 10px; /* Space below the skill icon */
}
.skills__name {
font-size: 16px; /* Font size for skill name */
color: #666; /* Slightly lighter text color */
}
/* Responsive Adjustments */
@media (max-width: 768px) {
.skills__box {
width: calc(33.33% - 40px); /* Adjusting width for smaller screens */
}
}
@media (max-width: 480px) {
.skills__box {
width: calc(50% - 40px); /* Adjusting width for even smaller screens */
}
}
/* Estilos para a sessão de Hobbies */
.hobbies {
margin-top: 20px;
padding: 20px;
background-color: #f9f9f9;
}
.hobbies__title {
text-align: center;
font-size: 24px;
color: #333;
}
.hobbies__line {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.hobbies__box {
width: 200px;
margin: 10px;
text-align: center;
}
.hobbies__img img {
width: 100px;
height: 100px;
object-fit: cover;
border-radius: 50%;
}
.hobbies__name {
margin-top: 10px;
font-size: 16px;
color: #555;
}
/* Estilos para a sessão de Histórico Acadêmico */
.academic {
margin-top: 20px;
padding: 20px;
background-color: #f9f9f9;
}
.academic__title {
text-align: center;
font-size: 24px;
color: #333;
}
.academic__courses {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.academic__courses__box {
width: 200px;
margin: 10px;
text-align: center;
}
.academic__courses__item__img img {
width: 200px;
height: 200px;
object-fit:scale-down;
border-radius: 0%;
}
.academic__courses__item__title {
margin-top: 10px;
font-size: 18px;
color: #555;
}
.academic__courses__item__subtitle {
margin-top: 5px;
font-size: 14px;
color: #777;
}
/* Estilos para a sessão de Experiência Profissional/Projetos */
.experience {
margin-top: 20px;
padding: 20px;
background-color: #f9f9f9;
}
.experience__section__title {
text-align: center;
font-size: 24px;
color: #333;
}
.experience__box {
display: flex;
align-items: center;
margin-top: 20px;
}
.experience__img {
width: 748px;
height: 500px;
object-fit:unset;
border-radius: 0%;
margin-right: 90px;
}
.experience__img1 {
width: 748px;
height: 500px;
object-fit:unset;
border-radius: 0%;
margin-left: 210px;
}
.experience__img2 {
margin-top: 20px;
width: 748px;
height: 500px;
object-fit:unset;
border-radius: 0%;
margin-left: 210px;
}
.experience__info {
display: flex 1;
margin-left: 210px;
}
.experience__title {
font-size: 20px;
color: #555;
}
.experience__text {
font-size: 18px;
color: #777;
margin-top: 5px;
}
.experience__description {
margin-top: 10px;
}
.experience__repo,
.experience__demo {
display: inline-block;
margin-right: 10px;
}
.experience__repo a,
.experience__demo a {
text-decoration: none;
}
.experience__repo button,
.experience__demo button {
padding: 8px 16px;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
.experience__repo button:hover,
.experience__demo button:hover {
background-color: #0056b3;
}
/* Estilos para a sessão de Contato */
.formcontato {
margin-top: 20px;
padding: 20px;
background-color: #f9f9f9;
}
.formcontato__contacto {
display: flex;
align-items: center;
}
.formcontato--esquerda {
flex: 1;
}
.formcontato__img {
width: 300px;
height: 300px;
object-fit: none;
border-radius: 50%;
}
.formcontato__text {
flex: 2;
padding: 0 20px;
}
.formcontato__title {
font-size: 24px;
color: #333;
}
.formcontato__subtext {
font-size: 16px;
color: #555;
margin-top: 10px;
}
.formcontato__form {
margin-top: 20px;
}
.formcontato__input,
.formcontato__textarea {
width: 80%;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
.formcontato__textarea {
resize: vertical;
}
.formcontato__botao {
padding: 10px 20px;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
.formcontato__botao:hover {
background-color: #0056b3;
}
/* Estilos para a sessão de Footer/Rodapé */
.footer {
background-color: #333;
color: #fff;
padding: 20px 0;
text-align: center;
}
.footer__rodape {
font-size: 14px;
}
.footer__rodape p {
margin: 5px 0;
}