@@ -392,63 +392,52 @@ footer {
392
392
}
393
393
394
394
main {
395
-
396
- /* SCSS Related to the Metrics list */
397
-
398
- div .metric :nth-of-type (odd ) { // Look & Feel , Aesthetics
399
- background-color : $light-grey ;
395
+ .td-content table code ,
396
+ .td-content >table td {
397
+ word-break : break-word ;
400
398
}
401
399
402
- div .metrics {
400
+ /* SCSS Related to the Metrics Table */
401
+
402
+ @media (max-width : 767px ) { // for mobile devices, Display the names, Stability levels & types
403
403
404
- .metric {
405
- div :empty {
404
+ table .metrics {
405
+ th :nth-child (n + 4 ),
406
+ td :nth-child (n + 4 ) {
406
407
display : none ;
407
408
}
408
409
409
- display : flex ;
410
- flex-direction : column ;
411
- flex-wrap : wrap ;
412
- gap : .75em ;
413
- padding :.75em .75em .75em .75em ;
414
-
415
- .metric_name {
416
- font-size : large ;
417
- font-weight : bold ;
418
- word-break : break-word ;
410
+ td .metric_type {
411
+ min-width : 7em ;
419
412
}
420
-
421
- label {
422
- font-weight : bold ;
423
- margin-right : .5em ;
413
+ td .metric_stability_level {
414
+ min-width : 6em ;
424
415
}
425
- ul {
426
- li :empty {
427
- display : none ;
416
+ }
417
+ }
418
+
419
+ table .metrics tbody { // Tested dimensions to improve overall aesthetic of the table
420
+ tr {
421
+ td {
422
+ font-size : smaller ;
428
423
}
429
- display : flex ;
430
- flex-direction : column ;
431
- gap : .75em ;
432
- flex-wrap : wrap ;
433
- li .metric_labels_varying {
434
- span {
435
- display : inline-block ;
436
- background-color : rgb (240 , 239 , 239 );
437
- padding : 0 0.5em ;
438
- margin-right : .35em ;
439
- font-family : monospace ;
440
- border : 1px solid rgb (230 , 230 , 230 );
441
- border-radius : 5% ;
442
- margin-bottom : .35em ;
443
- }
424
+ td .metric_labels_varying {
425
+ min-width : 9em ;
444
426
}
445
-
427
+ td .metric_type {
428
+ min-width : 9em ;
429
+ }
430
+ td .metric_description {
431
+ min-width : 10em ;
432
+ }
433
+
446
434
}
447
-
448
435
}
449
436
450
-
451
- }
437
+ table .no-word-break td ,
438
+ table .no-word-break code {
439
+ word-break : normal ;
440
+ }
452
441
}
453
442
454
443
// blockquotes and callouts
0 commit comments