1
+ /* variables are set in style_config_default.css */
2
+
1
3
@import url ('https://fonts.googleapis.com/css?family=Abril+Fatface|Karla:400,400i,700,700i|Lora:400,400i,700,700i&display=swap' );
2
4
3
5
p .caption {
4
- color : # 777 ;
6
+ color : var ( --caption-color ) ;
5
7
margin-top : 10px ;
6
8
}
7
9
p code {
@@ -43,7 +45,8 @@ pre code {
43
45
/* ------------Links------------------ */
44
46
45
47
.book .book-body .page-wrapper .page-inner section .normal a {
46
- color : # 68ace5 ;
48
+ color : var (--link-color );
49
+ text-decoration : underline;
47
50
}
48
51
49
52
@@ -71,14 +74,14 @@ h1, h2, h3, h4 {
71
74
.title {
72
75
font-family : 'Lora' ;
73
76
font-size : 4em !important ;
74
- color : # 012d72 ;
77
+ color : var ( --accent-color ) ;
75
78
margin-top : 0.275em !important ;
76
79
margin-bottom : 0.35em !important ;
77
80
}
78
81
79
82
.subtitle {
80
83
font-family : 'Lora' ;
81
- color : # 0b8d96 ;
84
+ color : var ( --link-color ) ;
82
85
}
83
86
84
87
@@ -99,7 +102,7 @@ h1, h2, h3, h4 {
99
102
*/
100
103
101
104
.section .level1 > p : first-of-type : first-letter { /*drop cap for first p beneath level 1 headers only within class .section*/
102
- color : # 012d72 ;
105
+ color : var ( --accent-color ) ;
103
106
float : left;
104
107
font-family : 'Abril Fatface' , serif;
105
108
font-size : 7em ;
@@ -131,14 +134,14 @@ h1, h2, h3, h4 {
131
134
132
135
133
136
.book .book-summary {
134
- background : white ;
137
+ background : var ( --background-color ) ;
135
138
border-right : none;
136
139
}
137
140
138
141
/*---color of links in TOC----*/
139
142
140
143
.book .book-summary a {
141
- color : # 012d72
144
+ color : var ( --accent-color )
142
145
}
143
146
144
147
.summary {
@@ -152,17 +155,17 @@ color: #012d72
152
155
padding-bottom : 8px ;
153
156
padding-left : 15px ;
154
157
padding-right : 15px ;
155
- color : # 012d72 ;
158
+ color : var ( --accent-color ) ;
156
159
}
157
160
158
161
.summary a : hover {
159
- color : # 68ace5 !important ;
162
+ color : var ( --highlight-color ) !important ;
160
163
}
161
164
162
165
.book .book-summary ul .summary li .active > a { /*active TOC links*/
163
- color : # 68ace5 !important ;
166
+ color : var ( --link-color ) !important ;
164
167
border-left : solid 4px ;
165
- border-color : # 68ace5 ;
168
+ border-color : var ( --highlight-color ) ;
166
169
padding-left : 11px !important ;
167
170
}
168
171
@@ -250,7 +253,7 @@ li.appendix span, li.part span { /* for TOC part names */
250
253
/* Sidebar formating --------------------------------------------*/
251
254
/* from r-pkgs.org*/
252
255
253
- div .notice , div .warning , div .github , div .dictionary , div .reflection {
256
+ div .notice , div .warning , div .github , div .dictionary , div .reflection , div . wip {
254
257
padding : 1em ;
255
258
margin : 1em 0 ;
256
259
padding-left : 100px ;
@@ -259,11 +262,11 @@ div.notice, div.warning, div.github, div.dictionary, div.reflection {
259
262
}
260
263
261
264
div .notice {
262
- border : 4px # 68ace5 ;
265
+ border : 4px var ( --highlight-color ) ;
263
266
border-style : solid;
264
267
background-size : 70px ;
265
268
background-position : 15px center;
266
- background-color : # e8ebee ;
269
+ background-color : var ( --callout-background-color ) ;
267
270
background-image : url ("../assets/box_images/note.png" );
268
271
}
269
272
@@ -273,7 +276,7 @@ div.warning{
273
276
border-style : solid;
274
277
background-size : 70px ;
275
278
background-position : 15px center;
276
- background-color : # e8ebee ;
279
+ background-color : var ( --callout-background-color ) ;
277
280
background-image : url ("../assets/box_images/warning.png" );
278
281
}
279
282
@@ -282,28 +285,36 @@ div.github{
282
285
border-style : solid;
283
286
background-size : 70px ;
284
287
background-position : 15px center;
285
- background-color : # e8ebee ;
288
+ background-color : var ( --callout-background-color ) ;
286
289
background-image : url ("../assets/box_images/github.png" );
287
290
}
288
291
289
292
div .dictionary {
290
- border : 4px # 68ace5 ;
293
+ border : 4px var ( --highlight-color ) ;
291
294
border-style : solid;
292
295
background-size : 70px ;
293
296
background-position : 15px center;
294
- background-color : # e8ebee ;
297
+ background-color : var ( --callout-background-color ) ;
295
298
background-image : url ("../assets/box_images/dictionary.png" );
296
299
}
297
300
298
301
div .reflection {
299
- border : 4px # 68ace5 ;
302
+ border : 4px var ( --highlight-color ) ;
300
303
border-style : solid;
301
304
background-size : 90px ;
302
305
background-position : 15px center;
303
- background-color : # e8ebee ;
306
+ background-color : var ( --callout-background-color ) ;
304
307
background-image : url ("../assets/box_images/thinking_face.png" );
305
308
}
306
309
310
+ div .wip {
311
+ border : 4px # 000000 ;
312
+ border-style : solid;
313
+ background-size : 70px ;
314
+ background-position : 15px center;
315
+ background-color : # f4d03f ;
316
+ background-image : url ("../assets/box_images/under_construction.png" );
317
+ }
307
318
308
319
/* .book .book-body .page-wrapper .page-inner section.normal is needed
309
320
to override the styles produced by gitbook, which are ridiculously
@@ -426,5 +437,5 @@ a.anchor:hover {
426
437
.footer {
427
438
font-family : "Lora" , serif;
428
439
font-size : .85em ;
429
- color : # 193a5c ;
440
+ color : var ( --accent-color ) ;
430
441
}
0 commit comments