-
Notifications
You must be signed in to change notification settings - Fork 82
/
style.css
113 lines (89 loc) · 2.29 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
@import url('https://fonts.googleapis.com/css?family=Nunito+Sans|Proza+Libre:500,500i|Source+Code+Pro&display=swap');
p.caption {
color: #777;
margin-top: 10px;
}
p code {
white-space: inherit;
}
pre {
word-break: normal;
word-wrap: normal;
}
pre code {
white-space: inherit;
}
.rmdcaution, .rmdimportant, .rmdnote, .rmdinfo, .rmdwarning {
padding: 1em 1em 1em 4em;
margin-bottom: 10px;
background: #f5f5f5 5px center/3em no-repeat;
}
/*.rmdcaution {*/
/*background-image: url("../images/caution.png");*/
/*}*/
/*.rmdimportant {*/
/*background-image: url("../images/important.png");*/
/*}*/
/*.rmdnote {*/
/*background-image: url("../images/note.png");*/
/*}*/
.rmdinfo {
background-image: url("images/info.png");
}
.rmdwarning {
background-image: url("images/warning.png");
}
/* These two rules make the horizontal line go straight across in top navbar */
.summary > li:first-child {
height: 50px;
padding-top: 10px;
border-bottom: 1px solid rgba(0,0,0,.07);
}
.book .book-summary ul.summary li.divider {
height: 0px;
}
/* Hide first level-one markdown header from only the chapter named
what-they-forgot-to-teach-you-about-r */
#what-they-forgot-to-teach-you-about-r > h1:nth-child(1){
visibility: hidden;
}
/*------------- Body and header text---------------- */
.book.font-family-1 {
font-family: 'Nunito Sans', sans-serif;
}
.title, h1, h2, h3, h4 {
font-family: 'Proza Libre', sans-serif;
color: #284a29;
}
.author {
color: #284a29 !important;
}
p.author em {
font-style: normal !important;
}
/*------------ TOC --------------*/
.summary {
font-family: 'Nunito Sans', sans-serif;
}
.book .book-summary ul.summary li a,
.book .book-summary ul.summary li span {
color: #284a29;
}
.summary a:hover {
color: #629d62 !important;
}
.book .book-summary ul.summary li.active>a { /*active TOC links*/
color: #629d62 !important;
}
/*-----Body Links-------*/
.book .book-body .page-wrapper .page-inner section.normal a {
color: #629d62;
}
.book .book-body .page-wrapper .page-inner section.normal a:hover {
color: #284a29; /* darker color when hovering */
}
/*------------- CODE --------------*/
.book .book-body .page-wrapper .page-inner section.normal code,
.book .book-body .page-wrapper .page-inner section.normal pre {
font-family: 'Source Code Pro', monospace;
}