This repository was archived by the owner on Aug 14, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 138
Expand file tree
/
Copy pathmarkdown.css
More file actions
184 lines (179 loc) · 3.08 KB
/
markdown.css
File metadata and controls
184 lines (179 loc) · 3.08 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
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
/**
* code by https://github.com/mrcoles/markdown-css
* with some modifications
*/
.hack,
.hack h1,
.hack h2,
.hack h3,
.hack h4,
.hack h5,
.hack h6,
.hack code,
.hack blockquote,
.hack em,
.hack strong,
.hack code {
font-size: 1rem;
font-style: normal;
font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
}
.hack code,
.hack blockquote,
.hack em,
.hack strong,
.hack code {
line-height: 20px;
}
.hack h1,
.hack h2,
.hack h3,
.hack h4,
.hack h5,
.hack h6,
.hack code,
.hack blockquote,
.hack ol,
.hack ul,
.hack li,
.hack p,
.hack section,
.hack header,
.hack footer {
float: none;
margin: 0;
padding: 0;
}
.hack h1,
.hack p,
.hack ul,
.hack ol,
.hack blockquote {
margin-top: 20px;
margin-bottom: 20px;
}
.hack h1 {
position: relative;
display: inline-block;
display: table-cell;
padding: 20px 0 30px;
margin: 0;
overflow: hidden;
}
.hack h1:after {
content: "====================================================================================================";
position: absolute;
bottom: 10px;
left: 0;
}
.hack h1 + * {
margin-top: 0;
}
.hack h2,
.hack h3,
.hack h4,
.hack h5,
.hack h6 {
position: relative;
margin-bottom: 1.75rem;
}
.hack h2:before,
.hack h3:before,
.hack h4:before,
.hack h5:before,
.hack h6:before {
display: inline;
}
.hack h2:before {
content: "## ";
}
.hack h3:before {
content: "### ";
}
.hack h4:before {
content: "#### ";
}
.hack h5:before {
content: "##### ";
}
.hack h6:before {
content: "###### ";
}
.hack li {
position: relative;
display: block;
padding-left: 20px;
}
.hack li:after {
position: absolute;
top: 0;
left: 0;
}
.hack ul > li:after {
content: "-";
}
.hack ol {
counter-reset: ol;
}
.hack ol > li:after {
content: counter(ol) ".";
counter-increment: ol;
}
.hack ol li:nth-child(n+10):after {
left: -7px;
}
.hack blockquote {
position: relative;
padding-left: 17px;
padding-left: 2ch;
overflow: hidden;
}
.hack 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;
line-height: 20px;
}
.hack em:before,
.hack em:after {
content: "*";
display: inline;
}
.hack pre code:before,
.hack pre code:after {
content: '';
}
.hack code {
font-weight: 700;
}
.hack code:before,
.hack code:after {
content: "`";
display: inline;
}
.hack hr {
position: relative;
height: 20px;
overflow: hidden;
border: 0;
margin: 20px 0;
}
.hack hr:after {
content: "----------------------------------------------------------------------------------------------------";
position: absolute;
top: 0;
left: 0;
line-height: 20px;
width: 100%;
word-wrap: break-word;
}
@-moz-document url-prefix() {
.hack h1 {
display: block;
}
}
.hack-ones ol > li:after {
content: "1.";
}