-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprofilepage.css
More file actions
313 lines (274 loc) · 5.62 KB
/
profilepage.css
File metadata and controls
313 lines (274 loc) · 5.62 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
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
ion-icon {
visibility: hidden;
}
.hydrated {
visibility: inherit;
}
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap");
body {
width: 100%;
margin: 0;
padding: 0;
box-sizing: border-box;
min-height: 100vh;
font-family: "Poppins", sans-serif;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
display: flex;
align-items: center;
}
a {
text-decoration: none;
}
.profile_header__wrapper header {
width: 100%;
background: url("../img/bg.jpeg") no-repeat 50% 20% / cover;
/* min-height: calc(100px + 15vw); */
min-height: calc(20px);
}
.profile_header__wrapper .profile_cols__container .profile_left__col {
padding: 25px 20px;
text-align: center;
max-width: 400px;
position: relative;
margin: 0 auto;
}
.profile_header__wrapper
.profile_cols__container
.profile_left__col
.profile_img__container {
position: absolute;
top: -60px;
left: 50%;
transform: translatex(-50%);
}
.profile_header__wrapper
.profile_cols__container
.profile_left__col
.profile_img__container
img {
width: 120px;
height: 120px;
object-fit: cover;
border-radius: 50%;
display: block;
box-shadow: 1px 3px 12px rgba(0, 0, 0, 0.18);
}
.profile_header__wrapper
.profile_cols__container
.profile_left__col
.profile_img__container
span {
position: absolute;
background: #2afa6a;
width: 16px;
height: 16px;
border-radius: 50%;
bottom: 3px;
right: 11px;
border: 2px solid #fff;
}
.profile_active {
font-weight: 600;
}
.profile_header__wrapper .profile_cols__container .profile_left__col h2 {
margin-top: 60px;
font-weight: 600;
font-size: 22px;
margin-bottom: 5px;
}
.profile_header__wrapper .profile_cols__container .profile_left__col p {
font-size: 0.9rem;
color: #d6d6d6;
margin: 0;
}
.profile_header__wrapper
.profile_cols__container
.profile_left__col
.profile_about {
justify-content: space-between;
position: relative;
margin: 35px 0;
}
.profile_header__wrapper
.profile_cols__container
.profile_left__col
.profile_about
li {
display: flex;
flex-direction: column;
color: #dbdbdb;
font-size: 0.9rem;
}
.profile_header__wrapper
.profile_cols__container
.profile_left__col
.profile_about
li
span {
color: #ffffff;
font-weight: 600;
}
.profile_header__wrapper
.profile_cols__container
.profile_left__col
.profile_about:after {
position: absolute;
content: "";
bottom: -16px;
display: block;
background: #cccccc;
height: 1px;
width: 100%;
}
.profile_header__wrapper .profile_cols__container .profile_content p {
font-size: 1rem;
color: #1d1d1d;
line-height: 1.8em;
}
.profile_header__wrapper .profile_cols__container .profile_content ul {
gap: 30px;
justify-content: center;
align-items: center;
margin-top: 25px;
}
.profile_header__wrapper .profile_cols__container .profile_content ul li {
display: flex;
}
.profile_header__wrapper .profile_cols__container .profile_content ul i {
font-size: 1.3rem;
}
.profile_header__wrapper .profile_cols__container .profile_right__col nav {
display: flex;
align-items: center;
padding: 30px 0;
justify-content: space-between;
flex-direction: column;
}
.profile_header__wrapper .profile_cols__container .profile_right__col nav ul {
display: flex;
gap: 20px;
flex-direction: column;
}
.profile_header__wrapper
.profile_cols__container
.profile_right__col
nav
ul
li
a {
text-transform: uppercase;
color: #e0e0e0;
}
.profile_header__wrapper
.profile_cols__container
.profile_right__col
nav
ul
li:nth-child(1)
a {
color: #ffffff;
/* font-weight: 600; */
}
.profile_header__wrapper
.profile_cols__container
.profile_right__col
nav
button {
background: #dbde2c;
color: #fff;
border: none;
padding: 10px 25px;
border-radius: 4px;
cursor: pointer;
margin-top: 20px;
}
.profile_header__wrapper
.profile_cols__container
.profile_right__col
nav
button:hover {
opacity: 0.8;
}
.hidden {
display: none;
}
.profile_header__wrapper
.profile_cols__container
.profile_right__col
.profile_photos {
/* display: grid; */
/* grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); */
gap: 20px;
}
.profile_header__wrapper
.profile_cols__container
.profile_right__col
.profile_photos
img {
max-width: 100%;
display: block;
height: 100%;
object-fit: cover;
}
/* new */
.grid-container-element {
display: grid;
grid-template-columns: 1fr 1fr;
grid-gap: 20px;
border: 1px solid black;
width: 100%;
}
.grid-child-element {
margin: 10px;
border: 1px solid red;
}
/* Responsiveness */
@media (min-width: 868px) {
.profile_header__wrapper .profile_cols__container {
max-width: 1200px;
margin: 0 auto;
width: 90%;
justify-content: space-between;
/* display: grid; */
/* grid-template-columns: 1fr 2fr; */
gap: 50px;
}
.profile_header__wrapper .profile_cols__container .profile_left__col {
padding: 25px 0px;
}
.profile_header__wrapper .profile_cols__container .profile_right__col nav ul {
flex-direction: row;
gap: 30px;
}
.profile_header__wrapper
.profile_cols__container
.profile_right__col
.profile_photos {
overflow: auto;
padding: 0 0 30px;
}
}
.profile_right__col {
padding-left: 5%;
padding-right: 5%;
}
@media (min-width: 1017px) {
.profile_header__wrapper .profile_cols__container .profile_left__col {
/* margin: 0; */
margin-right: auto;
}
.profile_header__wrapper .profile_cols__container .profile_right__col nav {
flex-direction: row;
}
.profile_header__wrapper
.profile_cols__container
.profile_right__col
nav
button {
margin-top: 0;
}
}