Skip to content

Commit 4603fea

Browse files
author
jhudsl-robot
committed
🔄 Synced local 'assets/style.css' with remote 'assets/style.css'
release-renderAction
1 parent 1a87a6c commit 4603fea

1 file changed

Lines changed: 32 additions & 38 deletions

File tree

‎assets/style.css‎

Lines changed: 32 additions & 38 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: #0098a7;
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: #0098a7;
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: #0098a7;
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: #0098a7
144+
color: var(--accent-color)
142145
}
143146

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

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

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

@@ -191,23 +194,6 @@ li.appendix span, li.part span { /* for TOC part names */
191194
height: 0px;
192195
}
193196

194-
.trapezoid {
195-
width: 132px;
196-
text-align: center;
197-
position: relative;
198-
left: 10px;
199-
border-right: 50px solid #ffb809;
200-
border-bottom: 50px solid #dbdbdb;
201-
border-left: 50px solid #0098a7;
202-
box-sizing: content-box;
203-
}
204-
.trapezoid span {
205-
position: absolute;
206-
top: 8px;
207-
bottom: 5px;
208-
left: 5%;
209-
color: #dbdbdb;
210-
}
211197

212198
/*--- LOGO ---*/
213199

@@ -267,7 +253,7 @@ li.appendix span, li.part span { /* for TOC part names */
267253
/* Sidebar formating --------------------------------------------*/
268254
/* from r-pkgs.org*/
269255

270-
div.notice, div.warning, div.github, div.dictionary, div.reflection {
256+
div.notice, div.warning, div.github, div.dictionary, div.reflection, div.wip {
271257
padding: 1em;
272258
margin: 1em 0;
273259
padding-left: 100px;
@@ -276,11 +262,11 @@ div.notice, div.warning, div.github, div.dictionary, div.reflection {
276262
}
277263

278264
div.notice{
279-
border: 4px #f1c232;
265+
border: 4px var(--highlight-color);
280266
border-style: solid;
281267
background-size: 70px;
282268
background-position: 15px center;
283-
background-color: #e8ebee;
269+
background-color: var(--callout-background-color);
284270
background-image: url("../assets/box_images/note.png");
285271
}
286272

@@ -290,7 +276,7 @@ div.warning{
290276
border-style: solid;
291277
background-size: 70px;
292278
background-position: 15px center;
293-
background-color: #e8ebee;
279+
background-color: var(--callout-background-color);
294280
background-image: url("../assets/box_images/warning.png");
295281
}
296282

@@ -299,28 +285,36 @@ div.github{
299285
border-style: solid;
300286
background-size: 70px;
301287
background-position: 15px center;
302-
background-color: #e8ebee;
288+
background-color: var(--callout-background-color);
303289
background-image: url("../assets/box_images/github.png");
304290
}
305291

306292
div.dictionary{
307-
border: 4px #f1c232;
293+
border: 4px var(--highlight-color);
308294
border-style: solid;
309295
background-size: 70px;
310296
background-position: 15px center;
311-
background-color: #e8ebee;
297+
background-color: var(--callout-background-color);
312298
background-image: url("../assets/box_images/dictionary.png");
313299
}
314300

315301
div.reflection{
316-
border: 4px #f1c232;
302+
border: 4px var(--highlight-color);
317303
border-style: solid;
318304
background-size: 90px;
319305
background-position: 15px center;
320-
background-color: #e8ebee;
306+
background-color: var(--callout-background-color);
321307
background-image: url("../assets/box_images/thinking_face.png");
322308
}
323309

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

325319
/* .book .book-body .page-wrapper .page-inner section.normal is needed
326320
to override the styles produced by gitbook, which are ridiculously
@@ -443,5 +437,5 @@ a.anchor:hover {
443437
.footer {
444438
font-family: "Lora", serif;
445439
font-size: .85em;
446-
color: #193a5c;
440+
color: var(--accent-color);
447441
}

0 commit comments

Comments
 (0)