-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
264 lines (213 loc) · 3.91 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
:root {
--primary-color: #adf0d4;
--secondary-color: #1fd8a4;
--bg-color: #0d1512;
}
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Inter', sans-serif;
transition-duration: 200ms;
}
body {
background: var(--bg-color);
color: var(--primary-color);
min-height: 100vh;
display: flex;
flex-direction: column;
gap: 72px;
padding: 14px
}
.darkerText{
color: var(--secondary-color);
}
header,
main,
footer {
max-width: 700px;
margin: 0 auto;
width: 100%;
}
p {
font-size: 1.05em;
}
header{
display: flex;
align-items: center ;
justify-content: space-between;
gap: 14px;
}
nav {
color: var(--secondary-color);
display: flex;
align-items: center;
gap: 32px;
}
nav a{
cursor: pointer;
text-decoration: none;
}
nav a:hover {
opacity: 0.7;
}
main,
section,
.nameContainer{
display: flex;
flex-direction: column;
}
main{
gap: 64px;
padding-bottom: 64px;
}
section{
gap: 48px
}
.nameContainer{
gap: 8px;
}
.statsContainer{
display: flex;
flex-direction: column;
align-items: stretch;
gap: 24px;
}
.imgContainer{
border-radius: 100%;
max-width: 72px;
overflow: hidden;
}
.imgContainer img {
width: 100%;
aspect-ratio: 1/1;
object-fit: cover;
}
.stats {
display: flex;
flex-direction: column;
gap: 14px;
}
.stats > div {
flex: 1;
display: flex;
align-items: center;
gap: 14px;
}
.stats div i {
font-size: 1.4em;
}
.stats div div {
display: grid;
place-items: center;
min-width: 40px;
}
.aboutMe {
line-height: 1.5em;
}
.links-container {
display: flex;
gap: 20px; /* Adjust the gap as needed */
}
.outreach{
display: flex;
align-items: center;
gap: 10px;
cursor: pointer;
width: fit-content;
text-decoration: none;
}
.outreach i {
transform: rotate(-45deg);
text-decoration: none;
}
.outreach:hover {
opacity: 0.7;
}
.headerText {
margin-bottom: 20px;
}
.projectContainer {
display: flex;
flex-direction: column;
gap: 32px;
}
.projectItem {
display: flex;
align-items: stretch;
gap: 24px;
}
.projectItem div:first-child {
display: flex;
flex-direction: column;
gap: 14px;
}
.projectItem > div:last-child{
aspect-ratio: 16/9;
max-width: 30%;
overflow: hidden;
border-radius: 8px;
}
.projectItem > div:last-child img {
width: 100%;
height: 100%;
object-fit: cover;
}
.linkContainer {
display: flex;
align-items: center;
gap: 24px;
}
.linkItem {
display: flex;
flex-direction: row !important;
align-items: center;
gap: 14px !important;
color: var(--primary-color);
text-decoration: none;
cursor: pointer;
}
.linkItem:hover{
opacity: 0.7;
}
.linkItem p {
font-size: 0.9em;
}
@media (min-width: 640px) {
.statsContainer{
flex-direction: row;
}
.stats {
gap: 0px;
}
.aboutMe{
width: 80% ;
margin-right: auto;
}
}
.profile-img {
width: 100px; /* Adjust the size as needed */
height: 100px; /* Ensure the height matches the width for a perfect circle */
border-radius: 50%; /* Makes the image circular */
border: 2px solid #000; /* Optional: Adds a border around the image */
}
.text-container {
margin-top: 20px; /* Adjust the value as needed to push the text down */
margin-left: 20px; /* Adjust the value as needed to push the text to the right */
}
.language-container {
text-align: left;
}
.language-container {
text-align: left;
}
.language-item {
display: flex;
justify-content: space-between;
width: 200px; /* Adjust width as needed */
margin-bottom: 5px; /* Optional: Add some space between items */
}
.languages-title {
font-size: 1.1em; /* Makes the text bigger */
margin-bottom: 10px; /* Adds space at the bottom */
}