This repository has been archived by the owner on Aug 6, 2021. It is now read-only.
forked from toland/qlmarkdown
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
221 lines (207 loc) · 3.25 KB
/
styles.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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
html {
padding: 30px;
font-size: 16px;
}
body {
font-family: "Lyon Text Web", -apple-system, "Helvetica Neue", "Lucida Grande", sans-serif;
color: rgb(51, 51, 51);
line-height: 1.5;
-webkit-font-smoothing: antialiased;
}
body > *:first-child {
margin-top: 0 !important;
}
body > *:last-child {
margin-bottom: 0 !important;
}
a {
color: #4183C4;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: 'SF Pro Display', -apple-system;
}
h1,
h2,
h3 {
font-weight: 700;
}
h1 {
font-size: 2.2em;
padding-top: 0.3em;
padding-bottom: 0.5em;
border-bottom: 0.5px solid #eee;
}
/* h2 immediately following h1 */
h1 + h2 {
padding-top: 0em;
}
h2 {
font-size: 1.7em;
padding-top: 0.3em;
padding-bottom: 0.25em;
border-bottom: 0.5px solid #eee;
}
h3 {
font-size: 1.3em;
padding-top: 0.2em;
padding-bottom: 0;
}
h2 + h3 {
padding-top: 0;
}
h4 {
font-weight: bolder;
text-transform: uppercase;
font-size: 1.25em;
}
h5 {
font-weight: bolder;
text-transform: uppercase;
font-size: 1em;
}
h6 {
font-weight: bolder;
text-transform: uppercase;
font-size: 1em;
color: #777;
}
p,
blockquote,
ul,
ol,
dl,
table{
margin: 0.8em 0;
}
hr {
height: 4px;
padding: 0;
margin: 16px 0;
background-color: #e7e7e7;
border: 0 none;
overflow: hidden;
box-sizing: content-box;
border-bottom: 1px solid #ddd;
}
body > h2:first-child {
margin-top: 0;
padding-top: 0;
}
body > h1:first-child {
margin-top: 0;
padding-top: 0;
}
body > h1:first-child + h2 {
margin-top: 0;
padding-top: 0;
}
body > h3:first-child,
body > h4:first-child,
body > h5:first-child,
body > h6:first-child {
margin-top: 0;
padding-top: 0;
}
a:first-child h1,
a:first-child h2,
a:first-child h3,
a:first-child h4,
a:first-child h5,
a:first-child h6 {
margin-top: 0;
padding-top: 0;
}
h1 p,
h2 p,
h3 p,
h4 p,
h5 p,
h6 p {
margin-top: 0;
}
li p.first {
display: inline-block;
}
ul,
ol {
padding-left: 30px;
}
ul:first-child,
ol:first-child {
margin-top: 0;
}
ul:last-child,
ol:last-child {
margin-bottom: 0;
}
blockquote {
border-left: 4px solid #dddddd;
padding: 0 15px;
color: #777777;
}
blockquote blockquote {
padding-right: 0;
}
table {
padding: 0;
}
table tr {
border-top: 1px solid #cccccc;
background-color: white;
margin: 0;
padding: 0;
}
table tr:nth-child(2n) {
background-color: #f8f8f8;
}
table tr th {
font-weight: bold;
border: 1px solid #cccccc;
text-align: left;
margin: 0;
padding: 6px 13px;
}
table tr td {
border: 1px solid #cccccc;
text-align: left;
margin: 0;
padding: 6px 13px;
}
table tr th:first-child,
table tr td:first-child {
margin-top: 0;
}
table tr th:last-child,
table tr td:last-child {
margin-bottom: 0;
}
code,
tt {
border: 1px solid #ddd;
background-color: #f8f8f8;
border-radius: 3px;
padding: 0;
font-family: Courier, monospace;
padding: 2px 4px 0px 4px;
font-size: 0.9em;
}
pre code {
border: none;
}
pre {
margin-top: 5px;
margin-bottom: 10px;
border: 1px solid #ddd;
background: #f8f8f8;
margin: 20px 0;
padding: 8px;
border-radius: 3px;
text-align: left;
overflow: auto;
word-wrap: normal;
}