2020-04-01 12:09:06 +08:00
|
|
|
@require 'variables.styl'
|
2020-03-26 22:31:12 +08:00
|
|
|
|
2020-04-03 18:18:42 +08:00
|
|
|
.markdown-body {
|
2020-03-26 22:31:12 +08:00
|
|
|
|
|
|
|
blockquote {
|
2020-04-07 11:57:53 +08:00
|
|
|
border-left: 5px solid var(--third-text-color);
|
|
|
|
margin: 20px 0;
|
2020-03-26 22:31:12 +08:00
|
|
|
padding: 0 0 0 10px;
|
2020-04-07 11:57:53 +08:00
|
|
|
color: var(--third-text-color);
|
2020-03-26 22:31:12 +08:00
|
|
|
}
|
|
|
|
|
2020-04-03 18:18:42 +08:00
|
|
|
p {
|
|
|
|
line-height: 2em;
|
|
|
|
}
|
2020-03-26 22:31:12 +08:00
|
|
|
|
|
|
|
a {
|
2020-04-07 11:57:53 +08:00
|
|
|
color: #2050ff;
|
2020-03-26 22:31:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2020-04-07 11:57:53 +08:00
|
|
|
ul > li, ol > li {
|
2020-04-08 17:30:05 +08:00
|
|
|
margin-left: 16px;
|
|
|
|
line-height: 2em;
|
2020-04-07 11:57:53 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
|
|
|
|
li {
|
|
|
|
list-style: disc;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
|
|
|
|
li {
|
|
|
|
list-style: circle;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
li {
|
|
|
|
list-style: square;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
ol {
|
|
|
|
|
|
|
|
li {
|
|
|
|
list-style: upper-roman;
|
|
|
|
|
|
|
|
ol {
|
|
|
|
|
|
|
|
li {
|
|
|
|
list-style: lower-roman;
|
|
|
|
|
|
|
|
ol {
|
|
|
|
li {
|
|
|
|
list-style: lower-alpha;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-09-03 12:28:24 +08:00
|
|
|
h1, h2, h3, h4, h5, h6 {
|
2020-09-10 12:09:42 +08:00
|
|
|
// TODO: ...
|
2020-04-07 11:57:53 +08:00
|
|
|
}
|
2020-03-26 22:31:12 +08:00
|
|
|
|
|
|
|
h1 {
|
2020-04-02 20:37:34 +08:00
|
|
|
color: var(--second-text-color);
|
2020-04-07 11:57:53 +08:00
|
|
|
font-size: 2em;
|
2020-04-03 18:18:42 +08:00
|
|
|
font-weight: 600;
|
2020-04-07 11:57:53 +08:00
|
|
|
margin-block-start: 1.1em;
|
|
|
|
margin-block-end: 1.1em;
|
2020-03-26 22:31:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
h2 {
|
2020-04-02 20:37:34 +08:00
|
|
|
color: var(--second-text-color);
|
2020-04-07 11:57:53 +08:00
|
|
|
font-size: 1.8em;
|
2020-04-03 18:18:42 +08:00
|
|
|
font-weight: 600;
|
2020-04-07 11:57:53 +08:00
|
|
|
margin-block-start: 1.1em;
|
|
|
|
margin-block-end: 1.1em;
|
2020-03-26 22:31:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
2020-04-02 20:37:34 +08:00
|
|
|
color: var(--second-text-color);
|
2020-04-07 11:57:53 +08:00
|
|
|
font-size: 1.6em;
|
2020-04-03 18:18:42 +08:00
|
|
|
font-weight: 550;
|
2020-04-07 11:57:53 +08:00
|
|
|
margin-block-start: 1em;
|
|
|
|
margin-block-end: 1em;
|
2020-03-26 22:31:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
h4 {
|
2020-04-02 20:37:34 +08:00
|
|
|
color: var(--second-text-color);
|
2020-04-07 11:57:53 +08:00
|
|
|
font-size: 1.4em;
|
|
|
|
font-weight: 550;
|
|
|
|
margin-block-start: 1em;
|
|
|
|
margin-block-end: 1em;
|
2020-03-26 22:31:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
h5 {
|
2020-04-02 20:37:34 +08:00
|
|
|
color: var(--second-text-color);
|
2020-04-07 11:57:53 +08:00
|
|
|
font-size: 1.2em;
|
|
|
|
font-weight: 500;
|
|
|
|
margin-block-start: 0.9em;
|
|
|
|
margin-block-end: 0.9em;
|
|
|
|
|
2020-03-26 22:31:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
h6 {
|
2020-04-02 20:37:34 +08:00
|
|
|
color: var(--second-text-color);
|
2020-03-26 22:31:12 +08:00
|
|
|
font-size: 1.2em;
|
2020-04-07 11:57:53 +08:00
|
|
|
font-weight: 500;
|
|
|
|
margin-block-start: 0.9em;
|
|
|
|
margin-block-end: 0.9em;
|
2020-03-26 22:31:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
img {
|
2020-09-10 12:09:42 +08:00
|
|
|
box-sizing: initial;
|
2020-03-27 21:38:48 +08:00
|
|
|
padding: 2px;
|
|
|
|
margin: 2px 0;
|
2020-09-10 12:09:42 +08:00
|
|
|
max-width: 100%;
|
2020-04-03 18:18:42 +08:00
|
|
|
border: 1px solid var(--border-color);
|
2020-03-26 22:31:12 +08:00
|
|
|
}
|
|
|
|
|
2020-04-07 11:57:53 +08:00
|
|
|
& > table {
|
|
|
|
border-spacing: 0;
|
|
|
|
border-collapse: collapse;
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
overflow: auto;
|
2020-03-26 22:31:12 +08:00
|
|
|
|
2020-04-07 11:57:53 +08:00
|
|
|
td,
|
|
|
|
th {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2020-03-26 22:31:12 +08:00
|
|
|
|
2020-04-07 11:57:53 +08:00
|
|
|
th {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
2020-03-26 22:31:12 +08:00
|
|
|
|
2020-04-07 11:57:53 +08:00
|
|
|
td,
|
|
|
|
th {
|
|
|
|
padding: 6px 13px;
|
|
|
|
border: 1px solid #dfe2e5;
|
2020-03-26 22:31:12 +08:00
|
|
|
}
|
|
|
|
|
2020-04-07 11:57:53 +08:00
|
|
|
tr {
|
|
|
|
//background-color: #fff;
|
|
|
|
border-top: 1px solid #c6cbd1;
|
|
|
|
}
|
2020-03-26 22:31:12 +08:00
|
|
|
|
2020-04-07 11:57:53 +08:00
|
|
|
tr:nth-child(2n) {
|
|
|
|
//background-color: #f6f8fa;
|
|
|
|
}
|
2020-03-27 10:33:17 +08:00
|
|
|
|
2020-03-26 22:31:12 +08:00
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|