forked from hadley/mastering-shiny
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
36 lines (30 loc) · 804 Bytes
/
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
p.caption {
color: #777;
margin-top: 10px;
}
p code {
white-space: inherit;
}
pre {
word-break: normal;
word-wrap: normal;
}
pre code {
white-space: inherit;
}
/* Sidebar formating --------------------------------------------*/
div.sidebar {
border-left: 7px solid #ccc;
margin: 1em 0;
padding-left: 1em;
}
/* .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 {
margin-top: 0;
}
.book .book-body .page-wrapper .page-inner section.normal div.sidebar > :last-child {
margin-bottom: 0;
}