-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
109 lines (100 loc) · 1.96 KB
/
style.css
File metadata and controls
109 lines (100 loc) · 1.96 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: sans-serif;
background-color: #e0f7fa;
color: #333;
line-height: 1.6;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
}
.intro {
text-align: center;
margin-bottom: 20px;
}
.profile-picture {
width: 150px;
height: 150px;
object-fit: cover;
border-radius: 50%;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
transition: all 0.2s ease-in-out;
margin-bottom: 10px;
}
.profile-picture:hover {
transform: scale(1.05);
box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
}
.motto {
font-style: italic;
color: #555;
}
hr {
border: 0;
height: 1px;
margin: 20px 0;
background-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.4), rgba(0,0,0,0));
}
.about-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
margin-bottom: 20px;
}
.about-list {
list-style: none;
padding: 0;
text-align: center;
}
.i-am, .i-like {
background-color: #ffffff;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
padding: 20px;
}
.projects-heading {
text-align: center;
margin-bottom: 20px;
}
.projects-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
}
.project-image-wrapper {
position: relative;
text-align: center;
background-color: #ffffff;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
padding: 10px;
}
.project-image-wrapper h4 {
margin-bottom: 10px;
color: #00796b;
}
.project-image {
width: 100%;
height: auto;
border-radius: 5px;
transition: all 0.2s ease-in-out;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.project-image:hover {
transform: scale(1.03);
box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}
@media (max-width: 600px) {
.about-grid {
grid-template-columns: 1fr;
}
.projects-grid {
grid-template-columns: 1fr;
}
}