generated from xitu/juejin-markdown-theme-default
-
Notifications
You must be signed in to change notification settings - Fork 0
/
md.css
178 lines (177 loc) · 3.32 KB
/
md.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
.markdown-body {
word-break: break-word;
line-height: 1.6em;
font-weight: 400;
font-size: 15px;
overflow-x: hidden;
color: #303133;
}
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
line-height: 1.6em;
margin: 1.3em 0;
}
.markdown-body h1 {
font-size: 30px;
margin-top: 50px;
margin-bottom: 10px;
}
.markdown-body h2 {
margin-top: 45px;
margin-bottom: 10px;
font-size: 26px;
}
.markdown-body h3 {
margin-top: 40px;
margin-bottom: 10px;
font-size: 22px;
}
.markdown-body h4 {
font-size: 18px;
}
.markdown-body h5 {
font-size: 16px;
}
.markdown-body h6 {
font-size: 15px;
margin-top: 5px;
}
.markdown-body p {
line-height: inherit;
margin-top: 1.6em;
margin-bottom: 1.6em;
}
.markdown-body img {
max-width: 100%;
}
.markdown-body hr {
border-top: 1px solid #ddd;
border-bottom: none;
border-left: none;
border-right: none;
margin-top: 32px;
margin-bottom: 32px;
}
.markdown-body code {
font-family: Roboto Mono, Monaco, courier, monospace;
word-break: break-word;
border-radius: 2px;
overflow-x: auto;
background-color: #fff5f5;
color: #e96900;
font-size: 0.87em;
padding: 0.065em 0.4em;
margin: 0 2px;
}
.markdown-body pre {
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
overflow: auto;
position: relative;
line-height: 1.75;
}
.markdown-body pre > code {
font-size: 12px;
padding: 15px 12px;
margin: 0;
word-break: normal;
display: block;
overflow-x: auto;
color: #333;
background: #f8f8f8;
}
.markdown-body a {
text-decoration: none;
color: #42b983;
border-bottom: 1px solid #d1e9ff;
}
.markdown-body a:hover, .markdown-body a:active {
color: rgba(66, 185, 131, 0.85);
}
.markdown-body table {
display: inline-block !important;
font-size: 12px;
width: auto;
max-width: 100%;
overflow: auto;
border: solid 1px #f6f6f6;
}
.markdown-body thead {
background: #f6f6f6;
color: #000;
text-align: left;
}
.markdown-body tr:nth-child(2n) {
background-color: #fcfcfc;
}
.markdown-body th,
.markdown-body td {
padding: 12px 7px;
line-height: 24px;
}
.markdown-body td {
min-width: 120px;
}
.markdown-body blockquote {
color: #666;
padding: 1px 23px;
margin: 22px 0;
border-left: 4px solid #42b983;
background-color: rgba(66, 185, 131, 0.1);
}
.markdown-body blockquote::after {
display: block;
content: "";
}
.markdown-body blockquote > p {
margin: 10px 0;
}
.markdown-body ol,
.markdown-body ul {
padding-left: 28px;
}
.markdown-body ol li,
.markdown-body ul li {
margin-bottom: 0;
list-style: inherit;
}
.markdown-body ol li .task-list-item,
.markdown-body ul li .task-list-item {
list-style: none;
}
.markdown-body ol li .task-list-item ul,
.markdown-body ol li .task-list-item ol,
.markdown-body ul li .task-list-item ul,
.markdown-body ul li .task-list-item ol {
margin-top: 0;
}
.markdown-body ol ul,
.markdown-body ol ol,
.markdown-body ul ul,
.markdown-body ul ol {
margin-top: 3px;
}
.markdown-body ol li {
padding-left: 6px;
}
.markdown-body .contains-task-list {
padding-left: 0;
}
.markdown-body .task-list-item {
list-style: none;
}
@media (max-width: 720px) {
.markdown-body h1 {
font-size: 24px;
}
.markdown-body h2 {
font-size: 20px;
}
.markdown-body h3 {
font-size: 18px;
}
}
/*# sourceMappingURL=md.css.map */