28
28
/* Line height for continuous text blocks */
29
29
--block-line-height : 1.4em ;
30
30
/* Text colors for body and block elements */
31
- --body-text-color : # 353833 ;
32
- --block-text-color : # 474747 ;
31
+ --body-text-color : # 282828 ;
32
+ --block-text-color : # 282828 ;
33
33
/* Background colors for various structural elements */
34
34
--body-background-color : # ffffff ;
35
35
--section-background-color : # f8f8f8 ;
49
49
/* Text color for page title */
50
50
--title-color : # 2c4557 ;
51
51
/* Text colors for links */
52
- --link-color : # 4A6782 ;
52
+ --link-color : # 437291 ;
53
53
--link-color-active : # bb7a2a ;
54
+ /* Table of contents */
55
+ --toc-background-color : var (--section-background-color );
56
+ --toc-link-color : # 4a698a ;
54
57
/* Snippet colors */
55
58
--snippet-background-color : # ebecee ;
56
59
--snippet-text-color : var (--block-text-color );
@@ -99,6 +102,9 @@ a:link, a:visited {
99
102
text-decoration : none;
100
103
color : var (--link-color );
101
104
}
105
+ nav a : link , nav a : visited {
106
+ color : var (--toc-link-color );
107
+ }
102
108
a [href ]: hover , a [href ]: active {
103
109
text-decoration : none;
104
110
color : var (--link-color-active );
@@ -398,7 +404,7 @@ dl.name-value > dd {
398
404
* Styles for table of contents.
399
405
*/
400
406
.main-grid nav .toc {
401
- background-color : var (--section -background-color );
407
+ background-color : var (--toc -background-color );
402
408
border-right : 1px solid var (--border-color );
403
409
position : sticky;
404
410
top : calc (var (--nav-height ));
@@ -409,8 +415,6 @@ dl.name-value > dd {
409
415
z-index : 1 ;
410
416
}
411
417
.main-grid nav .toc div .toc-header {
412
- background-color : var (--section-background-color );
413
- border-right : 1px solid var (--border-color );
414
418
top : var (--nav-height );
415
419
z-index : 1 ;
416
420
padding : 15px 20px ;
@@ -473,7 +477,6 @@ nav.toc div.toc-header {
473
477
display : inline-flex;
474
478
align-items : center;
475
479
color : var (--body-text-color );
476
- background-color : var (--body-background-color );
477
480
font-size : 0.856em ;
478
481
font-weight : bold;
479
482
white-space : nowrap;
0 commit comments