File tree Expand file tree Collapse file tree 3 files changed +199
-143
lines changed Expand file tree Collapse file tree 3 files changed +199
-143
lines changed Original file line number Diff line number Diff line change 66
66
}
67
67
68
68
ul {
69
+ margin : 0 ;
70
+ padding : 0 ;
69
71
list-style : none;
70
72
}
71
73
75
77
}
76
78
77
79
img {
78
- max-width : 100% ;
79
80
display : block;
80
81
}
81
82
@@ -155,6 +156,22 @@ textarea:focus {
155
156
border-radius : 60px ;
156
157
}
157
158
159
+ /* Card */
160
+ .box {
161
+ display : flex;
162
+ justify-content : center;
163
+ align-items : center;
164
+ border-radius : 20px ;
165
+ padding : 1rem ;
166
+ }
167
+
168
+ .box img {
169
+ width : 150px ;
170
+ object-fit : cover;
171
+ object-position : center;
172
+ /* border-radius: 50%; */
173
+ }
174
+
158
175
.container {
159
176
max-width : 1200px ;
160
177
margin : 0 auto;
Original file line number Diff line number Diff line change @@ -310,55 +310,83 @@ nav ul li a:focus {
310
310
311
311
/* Moderators section */
312
312
# moderators {
313
- background-color : var (--darkBackground );
313
+ padding : 2rem 1rem 1rem ;
314
+ margin-top : 2rem ;
315
+ background : var (--darkBackground );
316
+ color : # fff ;
317
+ position : relative;
314
318
}
315
319
316
- # moderators .heading {
317
- color : # F4F4F480 ;
320
+ # moderators .text-center {
321
+ font-weight : 700 ;
322
+ font-size : 1.5rem ;
323
+ margin-bottom : 3rem ;
324
+ color : grey;
318
325
}
319
326
320
- .moderator {
321
- height : 100% ;
327
+ # moderators .text-center a {
328
+ font-size : 1.2rem ;
329
+ color : grey;
322
330
}
323
331
324
- .moderator .moderator-img {
325
- display : block;
326
- border-radius : 100px ;
327
- float : left;
328
- shape-outside : circle (50% );
329
- width : 200px ;
330
- height : 200px ;
331
- margin-right : 2rem ;
332
+ # moderators .text-center a : hover {
333
+ text-decoration : underline;
332
334
}
333
335
334
- .moderator .moderator_name {
335
- color : inherit;
336
+ .overlay {
337
+ position : absolute;
338
+ top : 140px ;
339
+ left : 50% ;
340
+ width : 1px ;
341
+ height : 700px ;
342
+ background : var (--heading );
336
343
}
337
344
338
- /* .moderator .moderator_content {
339
- list-style: disc;
340
- } */
345
+ .user-profile {
346
+ padding : 1rem 0.5rem ;
347
+ margin-left : 1rem ;
348
+ }
341
349
342
- .moderator .moderator_details {
343
- color : # f4f4f4 ;
344
- line-height : 2rem ;
350
+ .user-profile h3 {
351
+ margin-bottom : 0.2rem ;
352
+ font-size : 1.3rem ;
353
+ color : # fff ;
354
+ font-weight : 600 ;
345
355
}
346
356
347
- .moderator .social-profiles > a : link {
348
- display : inline-block;
357
+ .user-profile p {
358
+ font-size : 0.9rem ;
359
+ margin-bottom : 1rem ;
349
360
}
350
361
351
- .moderator . social-profiles i {
352
- color : # f4f4f4 ;
353
- font-size : 24 px ;
362
+ .user-profile ul {
363
+ color : # c0baba ;
364
+ margin : 1.2 rem 0 0.5 rem ;
354
365
}
355
366
356
- .moderator .social-profiles > * : not (: last-child ) {
357
- margin-right : 1.5rem ;
367
+ .user-profile li {
368
+ font-size : 0.8rem ;
369
+ }
370
+
371
+ .social-profiles a {
372
+ color : # fff ;
373
+ margin : 0 0.3rem ;
374
+ }
375
+
376
+ .social-profiles a : hover {
377
+ color : var (--heading );
378
+ }
379
+
380
+ # moderators .box-container {
381
+ display : grid;
382
+ grid-template-columns : repeat (2 , 1fr );
383
+ grid-gap : 3rem ;
384
+ margin : 2rem ;
358
385
}
359
386
360
387
/* Footer starts */
361
388
.footer {
389
+ display : flex;
362
390
background-color : var (--footerDarkBg );
363
391
}
364
392
You can’t perform that action at this time.
0 commit comments