Skip to content

Commit d819559

Browse files
author
jhudsl-robot
committed
🔄 Synced local 'assets/style.css' with remote 'assets/style.css'
release-renderAction
1 parent 25dc5a5 commit d819559

File tree

1 file changed

+44
-167
lines changed

1 file changed

+44
-167
lines changed

assets/style.css

100644100755
Lines changed: 44 additions & 167 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
@import url('https://fonts.googleapis.com/css?family=Abril+Fatface|Arimo:400,400i,700,700i|Tinos:400,400i,700,700i&display=swap');
1+
/* variables are set in style_config_default.css */
2+
3+
@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,18 +45,19 @@ pre code {
4345
/* ------------Links------------------ */
4446

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

4952

5053
/*------------- Body and header text---------------- */
5154

5255
.book.font-family-1 {
53-
font-family: Arial, 'Arimo', sans-serif;
56+
font-family: 'Karla', arial, sans-serif;
5457
}
5558

5659
h1, h2, h3, h4 {
57-
font-family: 'Times New Roman', 'Tinos', serif;
60+
font-family: 'Lora', arial, sans-serif;
5861
}
5962

6063

@@ -69,16 +72,16 @@ h1, h2, h3, h4 {
6972
}
7073

7174
.title {
72-
font-family: 'Times New Roman', 'Tinos', serif;
75+
font-family: 'Lora';
7376
font-size: 4em !important;
74-
color: #1B365D;
77+
color: var(--accent-color);
7578
margin-top: 0.275em !important;
7679
margin-bottom: 0.35em !important;
7780
}
7881

7982
.subtitle {
80-
font-family: 'Times New Roman', 'Tinos', serif;
81-
color: #1B365D;
83+
font-family: 'Lora';
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: #1B365D;
105+
color: var(--accent-color);
103106
float: left;
104107
font-family: 'Abril Fatface', serif;
105108
font-size: 7em;
@@ -131,18 +134,18 @@ 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: #1B365D
144+
color: var(--accent-color)
142145
}
143146

144147
.summary{
145-
font-family: Arial, 'Arimo', sans-serif;
148+
font-family: 'Karla', sans-serif;
146149
}
147150

148151
/* all TOC list items, basically */
@@ -152,38 +155,20 @@ color: #1B365D
152155
padding-bottom: 8px;
153156
padding-left: 15px;
154157
padding-right: 15px;
155-
color: #1B365D;
158+
color: var(--accent-color);
156159
}
157160

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

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

169-
.trapezoid {
170-
width: 132px;
171-
text-align: center;
172-
position: relative;
173-
left: 10px;
174-
border-right: 50px solid #ffb809;
175-
border-bottom: 50px solid #dbdbdb;
176-
border-left: 50px solid #b842ca;
177-
box-sizing: content-box;
178-
}
179-
.trapezoid span {
180-
position: absolute;
181-
top: 8px;
182-
bottom: 5px;
183-
left: 5%;
184-
color: #dbdbdb;
185-
}
186-
187172

188173
li.appendix span, li.part span { /* for TOC part names */
189174
margin-top: 1em;
@@ -264,181 +249,73 @@ li.appendix span, li.part span { /* for TOC part names */
264249
width: 50%;
265250
}
266251

267-
.click_to_expand_block {
268-
padding: 1em;
269-
padding-top: .5em;
270-
border: 1px grey;
271-
background: #E8E8E8;
272-
color: black;
273-
}
274252

275253
/* Sidebar formating --------------------------------------------*/
276254
/* from r-pkgs.org*/
277255

278-
div.notice, div.warning, div.github, div.dictionary, div.reflection, div.question, div.ethics{
256+
div.notice, div.warning, div.github, div.dictionary, div.reflection, div.wip {
279257
padding: 1em;
280258
margin: 1em 0;
281259
padding-left: 100px;
282260
min-height: 120px;
283261
background-repeat: no-repeat;
284262
}
285263

286-
div.motivations, div.question_box, div.data, div.money, div.plan, div.submit{
287-
padding: 1em;
288-
padding-left: 100px;
289-
min-height: 55px;
290-
background-repeat: no-repeat;
291-
}
292-
293-
div.motivations{
294-
background-size: 70px;
295-
background-position: 15px center;
296-
background-repeat: no-repeat;
297-
background-image: url("../assets/box_images/motivations.png");
298-
display:flex;
299-
align-items:center;
300-
}
301-
302-
div.question_box{
303-
background-size: 70px;
304-
background-position: 15px center;
305-
background-repeat: no-repeat;
306-
background-image: url("../assets/box_images/question_box.png");
307-
display:flex;
308-
align-items:center;
309-
}
310-
311-
div.data{
312-
background-size: 70px;
313-
background-position: 15px center;
314-
background-repeat: no-repeat;
315-
background-image: url("../assets/box_images/data.png");
316-
display:flex;
317-
align-items:center;
318-
}
319-
320-
div.money{
321-
background-size: 70px;
322-
background-position: 15px center;
323-
background-repeat: no-repeat;
324-
background-image: url("../assets/box_images/money.png");
325-
display:flex;
326-
align-items:center;
327-
}
328-
329-
div.plan{
330-
background-size: 70px;
331-
background-position: 15px center;
332-
background-repeat: no-repeat;
333-
background-image: url("../assets/box_images/plan.png");
334-
display:flex;
335-
align-items:center;
336-
}
337-
338-
div.submit{
339-
background-size: 70px;
340-
background-position: 15px center;
341-
background-repeat: no-repeat;
342-
background-image: url("../assets/box_images/submit.png");
343-
display:flex;
344-
align-items:center;
345-
}
346-
347-
div.question{
348-
background-size: 70px;
349-
background-position: 15px center;
350-
background-color: #e8ebee;
351-
background-repeat: no-repeat;
352-
background-image: url("../assets/box_images/question.png");
353-
display:flex;
354-
align-items:center;
355-
border: 4px #00C1D5;
356-
border-style: solid;
357-
font-size: 20px;
358-
font-weight: bold;
359-
}
360-
361-
div.ethics{
362-
background-size: 70px;
363-
background-position: 15px center;
364-
background-color: #e8ebee;
365-
background-image: url("../assets/box_images/justice.png");
366-
border: 4px #b842ca;
367-
border-style: solid;
368-
}
369-
370-
371264
div.notice{
265+
border: 4px var(--highlight-color);
266+
border-style: solid;
372267
background-size: 70px;
373268
background-position: 15px center;
374-
background-color: #e8ebee;
269+
background-color: var(--callout-background-color);
375270
background-image: url("../assets/box_images/note.png");
376-
border: 4px #00C1D5;
377-
border-style: solid;
378271
}
379272

273+
380274
div.warning{
275+
border: 4px #e0471c;
276+
border-style: solid;
381277
background-size: 70px;
382278
background-position: 15px center;
383-
background-color: #e8ebee;
279+
background-color: var(--callout-background-color);
384280
background-image: url("../assets/box_images/warning.png");
385-
border: 4px #e0471c;
386-
border-style: solid;
387281
}
388282

389283
div.github{
390-
284+
border: 4px #000000;
285+
border-style: solid;
391286
background-size: 70px;
392287
background-position: 15px center;
393-
background-color: #e8ebee;
288+
background-color: var(--callout-background-color);
394289
background-image: url("../assets/box_images/github.png");
395-
border: 4px #000000;
396-
border-style: solid;
397290
}
398291

399-
400292
div.dictionary{
293+
border: 4px var(--highlight-color);
294+
border-style: solid;
401295
background-size: 70px;
402296
background-position: 15px center;
403-
background-color: #e8ebee;
297+
background-color: var(--callout-background-color);
404298
background-image: url("../assets/box_images/dictionary.png");
405-
border: 4px black;
406-
border-style: solid;
407299
}
408300

409-
410-
div.dictionary_long{
411-
padding: 1em;
412-
padding-top: 20px;
413-
padding-left: 100px;
414-
min-height: 180px;
415-
background-size: 70px;
416-
background-color: #e8ebee;
417-
background-image: url("../assets/box_images/dictionary.png");
418-
background-repeat: no-repeat;
419-
background-position: top 70px left 20px;
420-
border: 4px black;
421-
border-style: solid;
422-
}
423301
div.reflection{
302+
border: 4px var(--highlight-color);
303+
border-style: solid;
424304
background-size: 90px;
425305
background-position: 15px center;
426-
background-color: #e8ebee;
306+
background-color: var(--callout-background-color);
427307
background-image: url("../assets/box_images/thinking_face.png");
428-
border: 4px #00C1D5;
429-
border-style: solid;
430308
}
431309

432-
div.blackbox{
433-
padding: 1em;
434-
margin: 1em 0;
435-
min-height: 120px;
310+
div.wip{
436311
border: 4px #000000;
437312
border-style: solid;
438-
outline: 5px solid #ffb808;
313+
background-size: 70px;
314+
background-position: 15px center;
315+
background-color: #f4d03f;
316+
background-image: url("../assets/box_images/under_construction.png");
439317
}
440318

441-
442319
/* .book .book-body .page-wrapper .page-inner section.normal is needed
443320
to override the styles produced by gitbook, which are ridiculously
444321
overspecified. Goal of the selectors is to ensure internal "margins"
@@ -558,7 +435,7 @@ a.anchor:hover {
558435
/* Footer */
559436

560437
.footer {
561-
font-family: 'Times New Roman', 'Tinos', serif;
438+
font-family: "Lora", serif;
562439
font-size: .85em;
563-
color: #193a5c;
440+
color: var(--accent-color);
564441
}

0 commit comments

Comments
 (0)