-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathRmdCSS.css
More file actions
48 lines (41 loc) · 1.56 KB
/
RmdCSS.css
File metadata and controls
48 lines (41 loc) · 1.56 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
/* RmdCSS Designer: Bao, H. W. S. (https://psychbruce.github.io) */
/* Page */
body div.main-container { max-width: 1366px; }
div.toc-content { padding-left: 20px; padding-right: 20px; }
/* Font */
body { font-family: "Source Sans Pro", "Arial", sans-serif;
font-size: 20px; color: #000; }
code { font-family: "Maple Mono SC NF", "Consolas", monospace; }
/* Header */
#header { text-align: center; }
h1, h2, h3, h4, h5, h6 { font-weight: bold; line-height: 2; }
.title { font-size: 36px; }
h1 { font-size: 36px; }
h2 { font-size: 32px; }
h3 { font-size: 28px; }
h4 { font-size: 24px; }
h5 { font-size: 22px; }
/* Text */
p, li { font-size: 20px; line-height: 1.5;
margin-top: 10px; margin-bottom: 10px; }
#TOC li { font-size: 16px; }
button span { font-size: 16px; }
label { font-weight: normal; }
/* Code */
pre code { font-size: 20px; white-space: pre; }
pre code .do { font-style: normal; font-weight: bold; }
pre code .co { font-style: normal; color: #999; }
pre code .fu { font-weight: bold; color: #8959a8; }
pre { word-break: normal; word-wrap: normal; }
pre.sourceCode { overflow: auto; }
/* Block Quote */
blockquote ol:last-child, blockquote p:last-child, blockquote ul:last-child {
margin-bottom: 10px;
}
/* Table */
.table { table-layout: fixed; width: auto; margin: 1em auto; }
.table { border-top: 1px solid #111; border-bottom: 1px solid #111; }
.table thead { background-color: #f0f0f0; }
.table .even { background-color: #f5f5f5; }
.table thead tr th { border-bottom-width: 0; line-height: 1.2; }
.table tbody tr td { border-top-width: 0; line-height: 1.2; }