13
13
--deepdark : #20232a ;
14
14
--light : #373940 ;
15
15
--text : #1a1a1a ;
16
- --subtle : #636363 ;
16
+ --subtle : #6c707b ;
17
17
--divider : #ececec ;
18
18
--tintColor : #f7f7f7 ;
19
19
48
48
--ifm-toc-link-color : var (--ifm-color-emphasis-700 );
49
49
--ifm-blockquote-color : var (--ifm-font-color-base );
50
50
--ifm-blockquote-font-size : 16px ;
51
+ --ifm-global-radius : 9px ;
52
+ --ifm-code-border-radius : 0.4rem ;
51
53
--ifm-blockquote-border-radius : var (--ifm-global-radius );
52
54
--ifm-table-head-color : var (--subtle );
53
55
--ifm-link-hover-decoration : none ;
63
65
--ifm-table-border-color : var (--ifm-toc-border-color );
64
66
--ifm-table-cell-padding : 10px ;
65
67
--ifm-table-stripe-background : rgba (0 , 0 , 0 , 0.02 );
68
+ --ifm-table-box-shadow : 0 2px 4px rgba (0 , 0 , 0 , 0.03 );
66
69
--ifm-alert-border-radius : 20px ;
67
70
68
71
@media (min-width : 340px ) {
@@ -122,7 +125,7 @@ html[data-theme="light"] {
122
125
}
123
126
124
127
html [data-theme = " dark" ] {
125
- --subtle : #7c7c7c ;
128
+ --subtle : #858993 ;
126
129
127
130
--navbar-background : #20232aee ;
128
131
--sidebar-active-item-background : #61dafb15 ;
@@ -132,6 +135,8 @@ html[data-theme="dark"] {
132
135
--ifm-color-emphasis-300 : var (--dark );
133
136
--ifm-table-head-background : var (--deepdark );
134
137
--ifm-table-head-color : var (--subtle );
138
+ --ifm-table-stripe-background : rgba (0 , 0 , 0 , 0.08 );
139
+ --ifm-table-box-shadow : 0 2px 4px rgba (0 , 0 , 0 , 0.12 );
135
140
136
141
--docsearch-searchbox-background : var (--ifm-background-color );
137
142
--docsearch-modal-background : var (--deepdark );
@@ -376,10 +381,19 @@ hr {
376
381
font-weight : 600 ;
377
382
}
378
383
384
+ .table-wrapper {
385
+ border : 1px solid var (--ifm-table-border-color );
386
+ border-radius : var (--ifm-global-radius );
387
+ overflow : hidden ;
388
+ box-shadow : var (--ifm-table-box-shadow );
389
+ margin-bottom : var (--ifm-spacing-vertical );
390
+ }
391
+
379
392
table {
380
393
display : table ;
381
394
width : 100% ;
382
395
table-layout : fixed ;
396
+ margin-bottom : 0 ;
383
397
384
398
thead tr {
385
399
border : 0 ;
@@ -389,12 +403,24 @@ hr {
389
403
padding : 6px var (--ifm-table-cell-padding );
390
404
font-size : 80% ;
391
405
text-align : start ;
406
+ border : 0 ;
407
+ border-right : 1px solid var (--ifm-table-border-color );
408
+
409
+ & :last-child {
410
+ border-right : 0 ;
411
+ }
392
412
}
393
413
394
414
tr td {
395
415
font-size : 90% ;
396
416
line-height : 1.3em ;
397
417
text-align : start ;
418
+ border : 0 ;
419
+ border-right : 1px solid var (--ifm-table-border-color );
420
+
421
+ & :last-child {
422
+ border-right : 0 ;
423
+ }
398
424
399
425
code {
400
426
display : inline-block ;
@@ -464,10 +490,10 @@ hr {
464
490
465
491
div [class *= " codeBlockContainer" ] {
466
492
box-shadow : none ;
467
- border-radius : 8 px ;
493
+ border-radius : var ( --ifm-global-radius ) ;
468
494
469
495
pre {
470
- border-radius : 8 px ;
496
+ border-radius : var ( --ifm-global-radius ) ;
471
497
}
472
498
473
499
button {
@@ -1132,7 +1158,7 @@ aside[class^="theme-doc-sidebar-container"] {
1132
1158
}
1133
1159
1134
1160
.menu__link {
1135
- border-radius : 8 px ;
1161
+ border-radius : var ( --ifm-global-radius ) ;
1136
1162
padding : 6px 12px ;
1137
1163
}
1138
1164
@@ -1315,7 +1341,6 @@ div[class^="tableOfContents"] {
1315
1341
.table-of-contents__link--active {
1316
1342
font-weight : 500 ;
1317
1343
color : var (--home-button-primary ) !important ;
1318
- border-radius : 8px ;
1319
1344
1320
1345
code {
1321
1346
font-weight : 700 ;
@@ -1636,7 +1661,7 @@ div[class*="announcementBarContent"] {
1636
1661
float : left ;
1637
1662
width : 36px ;
1638
1663
height : 36px ;
1639
- border-radius : 8 px ;
1664
+ border-radius : var ( --ifm-global-radius ) ;
1640
1665
background-color : #6170af ;
1641
1666
background-image : url (" data:image/svg+xml,%3Csvg viewBox='0 0 23 21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 18.036c.042.507.221 1.016.692 1.699.558.81 1.518 1.254 2.218.54.473-.481 5.582-9.335 8.045-12.69a.737.737 0 011.202 0c2.463 3.355 7.572 12.209 8.045 12.69.7.714 1.66.27 2.218-.54.55-.798.702-1.358.702-1.955 0-.407-7.958-15.086-8.76-16.308C13.593.297 13.357.042 12.053 0h-.994c-1.304.041-1.54.297-2.31 1.472C7.964 2.67.317 16.77 0 17.737v.299z' fill='%23fff'/%3E%3C/svg%3E%0A" );
1642
1667
background-repeat : no-repeat ;
@@ -2038,7 +2063,7 @@ html[data-theme="dark"] .docsRating {
2038
2063
a [class *= " sidebarItemLink" ] {
2039
2064
border-left : 0 !important ;
2040
2065
padding : 4px 12px !important ;
2041
- border-radius : 8 px ;
2066
+ border-radius : var ( --ifm-global-radius ) ;
2042
2067
transition :
2043
2068
color 0.15s ,
2044
2069
background-color 0.15s ;
0 commit comments