Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
84 lines (81 loc) · 1.61 KB
/
Copy pathstyle.css
File metadata and controls
84 lines (81 loc) · 1.61 KB
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
.rmdcaution, .rmdimportant, .rmdnote, .rmdtip, .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");
}
.rmdtip {
background-image: url("../images/tip.png");
}
.rmdwarning {
background-image: url("../images/warning.png");
}
.caption {
color: #777;
margin-top: 10px;
}
p code {
white-space: inherit;
}
pre {
word-break: normal;
word-wrap: normal;
}
pre code {
white-space: inherit;
}
.flushright {
text-align: right;
}
blockquote > p:last-child {
text-align: right;
}
blockquote > p:first-child {
text-align: inherit;
}
.header-section-number {
padding-right: .2em;
font-weight: 500;
}
.level1 .header-section-number {
display: inline-block;
border-bottom: 3px solid;
}
.level1 h1 {
border-bottom: 1px solid;
}
h2, h3, h4, h5, h6 {
font-weight: normal;
}
.title {
font-weight: 700;
}
.smallcaps {
font-variant: small-caps;
}
.book .book-body .page-wrapper .page-inner .normal strong {
font-weight: 600;
}
/* -----------div tips------------- */
/* https://desiree.rbind.io/post/2019/making-tip-boxes-with-bookdown-and-rmarkdown/#fn1 */
.note, .extra {
margin: 0 0;
padding-left: 10px;
padding-right: 10px;
background-size: 0;
background-repeat: no-repeat;
background-position: 0 center;
min-height: 120px;
/* color: #1f5386; */
/* background-color: #CFDBC5; */
border-radius: 10px;
border: solid 5px #488214;
}