-
Notifications
You must be signed in to change notification settings - Fork 167
/
markdown.css
199 lines (199 loc) · 3.61 KB
/
markdown.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
.markdown {
word-wrap: break-word;
}
.markdown,
.markdown h1,
.markdown h2,
.markdown h3,
.markdown h4,
.markdown h5,
.markdown h6,
.markdown pre,
.markdown code,
.markdown blockquote,
.markdown em,
.markdown strong,
.markdown code {
font-size: 14px;
line-height: 20px;
font-weight: normal;
font-style: normal;
font-family: consolas, monaco, courier, "courier new", monospace;
color: #333333;
}
.markdown h1,
.markdown h2,
.markdown h3,
.markdown h4,
.markdown h5,
.markdown h6,
.markdown pre,
.markdown code,
.markdown blockquote,
.markdown ol,
.markdown ul,
.markdown li,
.markdown p,
.markdown section,
.markdown header,
.markdown footer {
float: none;
margin: 0;
padding: 0;
}
.markdown h1,
.markdown p,
.markdown ul,
.markdown ol,
.markdown pre,
.markdown blockquote {
margin-top: 20px;
margin-bottom: 20px;
}
.markdown h1 {
position: relative;
display: inline-block;
display: table-cell;
padding: 20px 0 40px;
margin: 0;
overflow: hidden;
}
.markdown h1:after {
content: "====================================================================================================";
position: absolute;
bottom: 20px;
left: 0;
}
.markdown h1 + * {
margin-top: 0;
}
.markdown h2,
.markdown h3,
.markdown h4,
.markdown h5,
.markdown h6 {
position: relative;
margin-bottom: 20px;
}
.markdown h2:before,
.markdown h3:before,
.markdown h4:before,
.markdown h5:before,
.markdown h6:before {
content: "## ";
display: inline;
}
.markdown h3:before {
content: "### ";
}
.markdown h4:before {
content: "#### ";
}
.markdown h5:before {
content: "##### ";
}
.markdown h6:before {
content: "###### ";
}
.markdown li {
position: relative;
display: block;
padding-left: 34px;
padding-left: 4ch;
}
.markdown li:after {
position: absolute;
top: 0;
left: 0;
}
.markdown ul > li:after {
content: "*";
}
.markdown ol {
counter-reset: ol;
}
.markdown ol > li:after {
content: counter(ol) ".";
counter-increment: ol;
}
.markdown pre {
margin-left: 34px;
margin-left: 4ch;
}
.markdown blockquote {
position: relative;
padding-left: 17px;
padding-left: 2ch;
overflow: hidden;
}
.markdown blockquote:after {
content: ">\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>";
white-space: pre;
position: absolute;
top: 0;
left: 0;
font-size: 14px;
line-height: 20px;
}
.markdown strong:before,
.markdown strong:after {
content: "__";
display: inline;
}
.markdown em:before,
.markdown em:after {
content: "*";
display: inline;
}
.markdown a {
text-decoration: none;
}
.markdown a:before {
content: "[";
display: inline;
color: #333333;
}
.markdown a:after {
content: "](" attr(href) ")";
display: inline;
color: #333333;
}
.markdown code {
font-weight: 100;
}
.markdown code:before,
.markdown code:after {
content: "`";
display: inline;
}
.markdown pre code:before,
.markdown pre code:after {
content: none;
}
.markdown hr {
position: relative;
height: 20px;
font-size: 0;
line-height: 0;
overflow: hidden;
border: 0;
margin-bottom: 20px;
}
.markdown hr:after {
content: "----------------------------------------------------------------------------------------------------";
position: absolute;
top: 0;
left: 0;
font-size: 14px;
line-height: 20px;
width: 100%;
word-wrap: break-word;
}
@-moz-document url-prefix() {
.markdown h1 {
display: block;
}
}
.markdown-ones ol > li:after {
content: "1.";
}