-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathstyle.css
115 lines (104 loc) · 2.04 KB
/
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
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
/* Tadaa modifications */
.book .book-body .page-wrapper .page-inner section.normal small {
font-size: smaller;
}
.toc-banner {
padding: 5px;
}
.toc-banner img {
max-width: 100%;
}
.toc-headline {
text-align: center;
font-size: 18px;
padding-top: 0;
}
.book .book-body .page-wrapper .page-inner section.normal .subtitle {
font-size: 60%;
color: #a8a8a8;
}
#header {
text-align: center;
border-top-style: solid;
border-bottom-style: solid;
border-color: black;
border-width: 1px;
}
.title {
font-variant: small-caps;
}
.book .book-body .page-wrapper .page-inner section.normal p > sup {
vertical-align: super;
font-size: 70%;
}
.book .book-body .page-wrapper .page-inner section.normal h1 {
font-variant: small-caps;
}
/* No "not-allowed"-cursor on toc hearders */
.book .book-summary ul.summary li span {
cursor: unset !important;
}
/* Original CSS by Yihui below */
.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");
}
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: 500;
}