-
Notifications
You must be signed in to change notification settings - Fork 7
/
rgeebook.css
77 lines (62 loc) · 1.63 KB
/
rgeebook.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
.book .book-header h1 {
opacity: 1;
text-align: left;
}
#header .title {
margin-bottom: 0em;
}
#header h4.author {
margin: 0;
color: #666;
}
#header h4.author em {
font-style: normal;
}
/* Sidebar formating --------------------------------------------*/
div.sidebar, div.base {
border: 1px solid #ccc;
border-left-width: 5px;
border-radius: 5px;
padding: 1em;
margin: 1em 0;
}
/* .book .book-body .page-wrapper .page-inner section.normal is needed
to override the styles produced by gitbook, which are ridiculously
overspecified. Goal of the selectors is to ensure internal "margins"
controlled only by padding of container */
.book .book-body .page-wrapper .page-inner section.normal div.sidebar > :first-child,
.book .book-body .page-wrapper .page-inner section.normal div.base > :first-child {
margin-top: 0;
}
.book .book-body .page-wrapper .page-inner section.normal div.sidebar > :last-child,
.book .book-body .page-wrapper .page-inner section.normal div.base > :last-child {
margin-bottom: 0;
}
div.base::before {
display: block;
content: "In base R";
}
div.base::before,
.book .book-body .page-wrapper .page-inner section.normal .sidebar h3 {
font-size: 1.1em;
font-weight: 700;
margin-bottom: 0.25em;
color: #333;
}
.todo {
display: block;
border: 1px solid red;
border-left-width: 5px;
border-radius: 5px;
padding: 0.5em 1em;
margin: 1em 0;
}
.todo::before {
content: "TO DO: ";
font-weight: bold;
color: red;
}
/* Other gitbook tweaks -------------------------------------------------- */
.book .book-body .page-wrapper .page-inner section.normal code {
padding: 2px 0;
}