@@ -230,6 +230,78 @@ pre code {
230
230
gap : 10px ;
231
231
}
232
232
233
+ .people-languages-box {
234
+ padding : 20px ;
235
+ display : flex;
236
+ flex-direction : column;
237
+ justify-content : center;
238
+ align-items : center;
239
+ transition : background 0.3s ease, box-shadow 0.3s ease;
240
+ }
241
+
242
+ .people-languages-box h1 {
243
+ font-size : 30px ;
244
+ }
245
+
246
+ .people-languages-box h1 : hover {
247
+ color : # 707070 ;
248
+ }
249
+
250
+ .people-languages-box table {
251
+ width : 750px ;
252
+ border-radius : 20px ;
253
+ border-collapse : collapse;
254
+ background-color : var (--bg-color );
255
+ box-shadow : 0 4px 8px rgba (0 , 0 , 0 , 0.1 );
256
+ margin : 20px auto;
257
+ color : var (--text-color );
258
+ }
259
+
260
+ .people-languages-box table th ,
261
+ .people-languages-box table td {
262
+ padding : 12px 20px ;
263
+ text-align : left;
264
+ }
265
+
266
+ .people-languages-box table th {
267
+ background-color : var (--secondary-color );
268
+ color : var (--header-color );
269
+ font-size : 22px ;
270
+ font-weight : bold;
271
+ position : sticky;
272
+ top : 0 ;
273
+ z-index : 2 ;
274
+ }
275
+
276
+ .people-languages-box table tr {
277
+ font-size : 20px ;
278
+ }
279
+
280
+ .people-languages-box table tr : nth-child (even) {
281
+ background-color : var (--table-alt-row-color );
282
+ }
283
+
284
+ .people-languages-box table tr : hover {
285
+ background-color : var (--hover-bg-color );
286
+ transition : background-color 0.3s ease;
287
+ }
288
+
289
+ .people-languages-box table tr : first-child th : first-child {
290
+ border-top-left-radius : 20px ;
291
+ }
292
+
293
+ .people-languages-box table tr : first-child th : last-child {
294
+ border-top-right-radius : 20px ;
295
+ }
296
+
297
+ .people-languages-box table tr : last-child td : first-child {
298
+ border-bottom-left-radius : 20px ;
299
+ }
300
+
301
+ .people-languages-box table tr : last-child td : last-child {
302
+ border-bottom-right-radius : 20px ;
303
+ }
304
+
233
305
.topbar button {
234
306
top : 16px ;
235
307
background : var (--secondary-color );
@@ -355,6 +427,12 @@ body.light-mode .light-mode-btn .fa-sun {
355
427
display : block;
356
428
}
357
429
430
+ @media only screen and (max-width : 765px ) {
431
+ .people-languages-box table {
432
+ width : 250px ;
433
+ }
434
+ }
435
+
358
436
@media only screen and (max-width : 495px ) {
359
437
.cookie-banner {
360
438
position : fixed;
@@ -375,3 +453,21 @@ body.light-mode .light-mode-btn .fa-sun {
375
453
display : none;
376
454
}
377
455
}
456
+
457
+ @media only screen and (max-width : 430px ) {
458
+ .people-languages-box table {
459
+ width : 180px ;
460
+ }
461
+ .people-languages-box table th {
462
+ font-size : 17px ;
463
+ }
464
+ }
465
+
466
+ @media only screen and (max-width : 380px ) {
467
+ .people-languages-box table {
468
+ width : 160px ;
469
+ }
470
+ .people-languages-box table th {
471
+ font-size : 14px ;
472
+ }
473
+ }
0 commit comments