forked from hadley/r-pkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
34 lines (29 loc) · 1015 Bytes
/
style.css
File metadata and controls
34 lines (29 loc) · 1015 Bytes
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
div.rstudio-tip, div.tip {
border: 4px solid #ddd;
border-radius: 5px;
padding: 1em;
margin: 1em 0;
padding-left: 80px;
background-size: 70px;
background-repeat: no-repeat;
background-position: 5px 15px;
min-height: 120px;
}
div.rstudio-tip {
background-image: url("rstudio.png");
}
div.tip {
background-image: url("diagrams/lightbulb.png");
}
/* .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.rstudio-tip > :first-child,
.book .book-body .page-wrapper .page-inner section.normal div.tip > :first-child {
margin-top: 0;
}
.book .book-body .page-wrapper .page-inner section.normal div.rstudio-tip > :last-child,
.book .book-body .page-wrapper .page-inner section.normal div.tip > :last-child {
margin-bottom: 0;
}