-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
executable file
·75 lines (70 loc) · 1.42 KB
/
Copy pathstyle.css
File metadata and controls
executable file
·75 lines (70 loc) · 1.42 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
p.caption {
color: #777;
margin-top: 10px;
}
p code {
white-space: inherit;
}
pre {
word-break: normal;
word-wrap: normal;
}
pre code {
white-space: inherit;
}
p.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;
}
h1, h2, h3, h4, h5, h6 {
font-weight: normal;
}
h1.title {
font-weight: 700;
}
.book .book-body .page-wrapper .page-inner section.normal strong {
font-weight: 600;
}
/* footnote counter to restart numbering for each chapter
thanks @romles https://stackoverflow.com/questions/50616517/restart-endnote-numbering-after-each-gitbook-style-web-chapter-in-r-bookdown
thanks @ilyankou for update from footnote-ref to footnoteRef for bookdown 0.9 */
/* don't show the wrong footnote calls
.footnote-ref sup,
.footnoteRef sup {
display: none;
}
use a counter for footnote calls
.level1 {
counter-reset: fn-call;
}
.footnote-ref,
.footnoteRef {
counter-increment: fn-call;
}
generate new footnote calls
.footnote-ref::after,
.footnoteRef::after {
content: counter(fn-call);
position: relative;
top: -.5em;
font-size: 85%;
line-height: 0;
vertical-align: baseline;
}
*/