@@ -40,6 +40,10 @@ article {
40
40
* Body text
41
41
* ------------------------------------ */
42
42
43
+ article {
44
+ color : # 3E3E3E ;
45
+ }
46
+
43
47
article p {
44
48
margin-block-start : 1.5em ;
45
49
margin-block-end : 1.5em ;
@@ -70,6 +74,7 @@ article code:not([class]) {
70
74
.CodeMirror {
71
75
padding : 0.5em 1em ;
72
76
--playground-code-background : # f5f5f5 ;
77
+ color : # 3c3c3c ;
73
78
}
74
79
75
80
/* Playground examples */
@@ -92,6 +97,30 @@ playground-ide {
92
97
background : var (--playground-code-background );
93
98
}
94
99
100
+ /* Color theme */
101
+ html {
102
+ --playground-code-background : # f0f0f0 ;
103
+ --playground-code-keyword-color : # d73a49 ;
104
+ --playground-code-atom-color : # 005cc5 ;
105
+ --playground-code-number-color : # 005cc5 ;
106
+ --playground-code-def-color : # 6f42c1 ;
107
+ --playground-code-variable-color : # 6f42c1 ;
108
+ --playground-code-property-color : # e36209 ;
109
+ --playground-code-operator-color : # d73a49 ;
110
+ --playground-code-variable-2-color : # 000000 ;
111
+ --playground-code-variable-3-color : # 000000 ;
112
+ --playground-code-type-color : # 005cc5 ;
113
+ --playground-code-comment-color : # 6a737d ;
114
+ --playground-code-string-color : # 032f62 ;
115
+ --playground-code-string-2-color : # 032f62 ;
116
+ --playground-code-meta-color : # 000000 ;
117
+ --playground-code-qualifier-color : # 6f42c1 ;
118
+ --playground-code-builtin-color : # 6f42c1 ;
119
+ --playground-code-tag-color : # 032f62 ;
120
+ --playground-code-attribute-color : # 6f42c1 ;
121
+ --playground-code-callee-color : # 005cc5 ;
122
+ }
123
+
95
124
/* ------------------------------------
96
125
* Headings
97
126
* ------------------------------------ */
@@ -104,12 +133,27 @@ article h1 {
104
133
}
105
134
106
135
article h2 {
107
- color : var (--color-blue );
108
- font-size : 1.36em ;
136
+ color : # 3b4b64 ;
137
+ font-size : 1.8em ;
138
+ font-weight : 600 ;
139
+ position : relative;
140
+ }
141
+
142
+ article h2 : not (: first-of-type ) {
143
+ border-top : 1px solid # d1d1d1 ;
144
+ padding : 1.5em 0 0.5em 0 ;
145
+ margin-top : 1.5em ;
109
146
}
110
147
111
148
article h3 {
149
+ color : # 647086 ;
150
+ font-size : 1.2em ;
112
151
font-weight : 600 ;
152
+ position : relative;
153
+ }
154
+
155
+ article h3 {
156
+ margin-top : 2.2em ;
113
157
}
114
158
115
159
article h4 {
@@ -130,6 +174,14 @@ article > h1:first-of-type {
130
174
margin-top : 0 ;
131
175
}
132
176
177
+ /* ------------------------------------
178
+ * Lists
179
+ * ------------------------------------ */
180
+
181
+ article li {
182
+ padding-inline : 1em 10% ;
183
+ }
184
+
133
185
/* ------------------------------------
134
186
* Tables
135
187
* ------------------------------------ */
@@ -294,6 +346,11 @@ td {
294
346
display : none;
295
347
}
296
348
349
+ # inlineToc h2 {
350
+ font-size : 1.5em ;
351
+ color : black;
352
+ }
353
+
297
354
# inlineToc ol {
298
355
list-style : disc;
299
356
}
343
400
344
401
# rhsToc > div > ol > li : not (: first-of-type ) {
345
402
/* Space between top-level lists */
346
- margin-top : 1 em ;
403
+ margin-top : 0.2 em ;
347
404
}
348
405
349
406
/* Second level */
@@ -369,11 +426,12 @@ td {
369
426
color : black;
370
427
opacity : 0.5 ;
371
428
font-size : 0.8em ;
429
+ position : relative;
372
430
}
373
431
374
- # rhsToc a .active {
432
+ # rhsToc a .active ,
433
+ # rhsToc a : hover {
375
434
opacity : 1 ;
376
- position : relative;
377
435
}
378
436
379
437
/* Active section bullet */
0 commit comments