Skip to content

Commit d8d0ca3

Browse files
author
jhudsl-robot
committed
🔄 Synced local 'assets/style.css' with remote 'assets/style.css'
release-renderAction
1 parent 125af11 commit d8d0ca3

File tree

1 file changed

+32
-21
lines changed

1 file changed

+32
-21
lines changed

assets/style.css

Lines changed: 32 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
/* variables are set in style_config_default.css */
2+
13
@import url('https://fonts.googleapis.com/css?family=Abril+Fatface|Karla:400,400i,700,700i|Lora:400,400i,700,700i&display=swap');
24

35
p.caption {
4-
color: #777;
6+
color: var(--caption-color);
57
margin-top: 10px;
68
}
79
p code {
@@ -43,7 +45,8 @@ pre code {
4345
/* ------------Links------------------ */
4446

4547
.book .book-body .page-wrapper .page-inner section.normal a {
46-
color: #68ace5;
48+
color: var(--link-color);
49+
text-decoration: underline;
4750
}
4851

4952

@@ -71,14 +74,14 @@ h1, h2, h3, h4 {
7174
.title {
7275
font-family: 'Lora';
7376
font-size: 4em !important;
74-
color: #012d72;
77+
color: var(--accent-color);
7578
margin-top: 0.275em !important;
7679
margin-bottom: 0.35em !important;
7780
}
7881

7982
.subtitle {
8083
font-family: 'Lora';
81-
color: #0b8d96;
84+
color: var(--link-color);
8285
}
8386

8487

@@ -99,7 +102,7 @@ h1, h2, h3, h4 {
99102
*/
100103

101104
.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);
103106
float: left;
104107
font-family: 'Abril Fatface', serif;
105108
font-size: 7em;
@@ -131,14 +134,14 @@ h1, h2, h3, h4 {
131134

132135

133136
.book .book-summary {
134-
background: white;
137+
background: var(--background-color);
135138
border-right: none;
136139
}
137140

138141
/*---color of links in TOC----*/
139142

140143
.book .book-summary a {
141-
color: #012d72
144+
color: var(--accent-color)
142145
}
143146

144147
.summary{
@@ -152,17 +155,17 @@ color: #012d72
152155
padding-bottom: 8px;
153156
padding-left: 15px;
154157
padding-right: 15px;
155-
color: #012d72;
158+
color: var(--accent-color);
156159
}
157160

158161
.summary a:hover {
159-
color: #68ace5 !important;
162+
color: var(--highlight-color) !important;
160163
}
161164

162165
.book .book-summary ul.summary li.active>a { /*active TOC links*/
163-
color: #68ace5 !important;
166+
color: var(--link-color) !important;
164167
border-left: solid 4px;
165-
border-color: #68ace5;
168+
border-color: var(--highlight-color);
166169
padding-left: 11px !important;
167170
}
168171

@@ -250,7 +253,7 @@ li.appendix span, li.part span { /* for TOC part names */
250253
/* Sidebar formating --------------------------------------------*/
251254
/* from r-pkgs.org*/
252255

253-
div.notice, div.warning, div.github, div.dictionary, div.reflection {
256+
div.notice, div.warning, div.github, div.dictionary, div.reflection, div.wip {
254257
padding: 1em;
255258
margin: 1em 0;
256259
padding-left: 100px;
@@ -259,11 +262,11 @@ div.notice, div.warning, div.github, div.dictionary, div.reflection {
259262
}
260263

261264
div.notice{
262-
border: 4px #68ace5;
265+
border: 4px var(--highlight-color);
263266
border-style: solid;
264267
background-size: 70px;
265268
background-position: 15px center;
266-
background-color: #e8ebee;
269+
background-color: var(--callout-background-color);
267270
background-image: url("../assets/box_images/note.png");
268271
}
269272

@@ -273,7 +276,7 @@ div.warning{
273276
border-style: solid;
274277
background-size: 70px;
275278
background-position: 15px center;
276-
background-color: #e8ebee;
279+
background-color: var(--callout-background-color);
277280
background-image: url("../assets/box_images/warning.png");
278281
}
279282

@@ -282,28 +285,36 @@ div.github{
282285
border-style: solid;
283286
background-size: 70px;
284287
background-position: 15px center;
285-
background-color: #e8ebee;
288+
background-color: var(--callout-background-color);
286289
background-image: url("../assets/box_images/github.png");
287290
}
288291

289292
div.dictionary{
290-
border: 4px #68ace5;
293+
border: 4px var(--highlight-color);
291294
border-style: solid;
292295
background-size: 70px;
293296
background-position: 15px center;
294-
background-color: #e8ebee;
297+
background-color: var(--callout-background-color);
295298
background-image: url("../assets/box_images/dictionary.png");
296299
}
297300

298301
div.reflection{
299-
border: 4px #68ace5;
302+
border: 4px var(--highlight-color);
300303
border-style: solid;
301304
background-size: 90px;
302305
background-position: 15px center;
303-
background-color: #e8ebee;
306+
background-color: var(--callout-background-color);
304307
background-image: url("../assets/box_images/thinking_face.png");
305308
}
306309

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+
}
307318

308319
/* .book .book-body .page-wrapper .page-inner section.normal is needed
309320
to override the styles produced by gitbook, which are ridiculously
@@ -426,5 +437,5 @@ a.anchor:hover {
426437
.footer {
427438
font-family: "Lora", serif;
428439
font-size: .85em;
429-
color: #193a5c;
440+
color: var(--accent-color);
430441
}

0 commit comments

Comments
 (0)