2020-04-03 18:18:42 +08:00
|
|
|
.markdown-body {
|
2020-12-01 16:51:38 +08:00
|
|
|
font-size: 1rem;
|
2020-03-26 22:31:12 +08:00
|
|
|
|
|
|
|
blockquote {
|
2020-11-26 10:46:42 +08:00
|
|
|
|
|
|
|
p {
|
|
|
|
padding: 5px 5px 5px 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
border-left: 5px solid var(--default-text-color);
|
2020-04-07 11:57:53 +08:00
|
|
|
margin: 20px 0;
|
2020-11-26 10:46:42 +08:00
|
|
|
color: var(--default-text-color);
|
|
|
|
background: var(--second-background-color);
|
2020-03-26 22:31:12 +08:00
|
|
|
}
|
|
|
|
|
2020-12-01 16:51:38 +08:00
|
|
|
|
2020-04-03 18:18:42 +08:00
|
|
|
p {
|
2020-12-01 16:51:38 +08:00
|
|
|
line-height: 2rem;
|
2020-04-03 18:18:42 +08:00
|
|
|
}
|
2020-03-26 22:31:12 +08:00
|
|
|
|
2020-12-01 16:51:38 +08:00
|
|
|
|
2020-03-26 22:31:12 +08:00
|
|
|
a {
|
2020-11-18 18:45:45 +08:00
|
|
|
position: relative;
|
|
|
|
outline: 0;
|
|
|
|
text-decoration: none;
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
cursor: pointer;
|
2020-12-10 11:50:41 +08:00
|
|
|
border-bottom: 1px solid var(--third-text-color);
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding-bottom: 2px;
|
2020-11-18 18:45:45 +08:00
|
|
|
|
2020-11-24 10:55:24 +08:00
|
|
|
.fas, .far, fab {
|
|
|
|
margin-left: 6px;
|
2020-11-18 18:45:45 +08:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
&::after {
|
|
|
|
background: var(--primary-color);
|
|
|
|
}
|
|
|
|
}
|
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;
|
2020-12-01 16:51:38 +08:00
|
|
|
line-height: 2rem;
|
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 {
|
2020-11-26 10:46:42 +08:00
|
|
|
list-style: decimal;
|
2020-04-07 11:57:53 +08:00
|
|
|
|
|
|
|
ol {
|
|
|
|
|
|
|
|
li {
|
2020-11-26 17:45:37 +08:00
|
|
|
list-style: upper-alpha;
|
2020-04-07 11:57:53 +08:00
|
|
|
|
|
|
|
ol {
|
|
|
|
li {
|
2020-11-26 17:45:37 +08:00
|
|
|
list-style: upper-roman;
|
2020-04-07 11:57:53 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-09-03 12:28:24 +08:00
|
|
|
h1, h2, h3, h4, h5, h6 {
|
2020-10-30 10:18:42 +08:00
|
|
|
color: var(--second-text-color);
|
2020-04-07 11:57:53 +08:00
|
|
|
}
|
2020-03-26 22:31:12 +08:00
|
|
|
|
|
|
|
h1 {
|
2020-12-01 16:51:38 +08:00
|
|
|
font-size: 1.8rem;
|
2020-04-03 18:18:42 +08:00
|
|
|
font-weight: 600;
|
2020-12-01 16:51:38 +08:00
|
|
|
line-height: 1.2rem;
|
2020-10-30 10:18:42 +08:00
|
|
|
|
2020-11-20 12:02:22 +08:00
|
|
|
+keep-tablet() {
|
2020-12-01 16:51:38 +08:00
|
|
|
font-size: 1.7rem;
|
|
|
|
line-height: 1.1rem;
|
2020-10-30 10:18:42 +08:00
|
|
|
}
|
2020-03-26 22:31:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
h2 {
|
2020-12-01 16:51:38 +08:00
|
|
|
font-size: 1.7rem;
|
2020-04-03 18:18:42 +08:00
|
|
|
font-weight: 600;
|
2020-12-01 16:51:38 +08:00
|
|
|
line-height: 1.2rem;
|
2020-10-30 10:18:42 +08:00
|
|
|
|
2020-11-20 12:02:22 +08:00
|
|
|
+keep-tablet() {
|
2020-12-01 16:51:38 +08:00
|
|
|
font-size: 1.6rem;
|
|
|
|
line-height: 1.1rem;
|
2020-10-30 10:18:42 +08:00
|
|
|
}
|
2020-03-26 22:31:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
2020-12-01 16:51:38 +08:00
|
|
|
font-size: 1.6rem;
|
2020-04-03 18:18:42 +08:00
|
|
|
font-weight: 550;
|
2020-12-01 16:51:38 +08:00
|
|
|
line-height: 1.16rem;
|
2020-10-30 10:18:42 +08:00
|
|
|
|
2020-11-20 12:02:22 +08:00
|
|
|
+keep-tablet() {
|
2020-12-01 16:51:38 +08:00
|
|
|
font-size: 1.5rem;
|
|
|
|
line-height: 1.06rem;
|
2020-10-30 10:18:42 +08:00
|
|
|
}
|
2020-03-26 22:31:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
h4 {
|
2020-12-01 16:51:38 +08:00
|
|
|
font-size: 1.5rem;
|
2020-04-07 11:57:53 +08:00
|
|
|
font-weight: 550;
|
2020-12-01 16:51:38 +08:00
|
|
|
line-height: 1.16rem;
|
2020-10-30 10:18:42 +08:00
|
|
|
|
2020-11-20 12:02:22 +08:00
|
|
|
+keep-tablet() {
|
2020-12-01 16:51:38 +08:00
|
|
|
font-size: 1.4rem;
|
|
|
|
line-height: 1.06rem;
|
2020-10-30 10:18:42 +08:00
|
|
|
}
|
2020-03-26 22:31:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
h5 {
|
2020-12-01 16:51:38 +08:00
|
|
|
font-size: 1.28rem;
|
2020-04-07 11:57:53 +08:00
|
|
|
font-weight: 500;
|
2020-12-01 16:51:38 +08:00
|
|
|
line-height: 1.12rem;
|
2020-04-07 11:57:53 +08:00
|
|
|
|
2020-11-20 12:02:22 +08:00
|
|
|
+keep-tablet() {
|
2020-12-01 16:51:38 +08:00
|
|
|
font-size: 1.18rem;
|
|
|
|
line-height: 1.02rem;
|
2020-10-30 10:18:42 +08:00
|
|
|
}
|
2020-03-26 22:31:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
h6 {
|
2020-12-01 16:51:38 +08:00
|
|
|
font-size: 1.2rem;
|
2020-04-07 11:57:53 +08:00
|
|
|
font-weight: 500;
|
2020-12-01 16:51:38 +08:00
|
|
|
line-height: 1.12rem;
|
2020-11-13 14:43:22 +08:00
|
|
|
|
2020-11-20 12:02:22 +08:00
|
|
|
+keep-tablet() {
|
2020-12-01 16:51:38 +08:00
|
|
|
font-size: 1.1rem;
|
|
|
|
line-height: 1.02rem;
|
2020-10-30 10:18:42 +08:00
|
|
|
}
|
2020-03-26 22:31:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
img {
|
2020-11-20 12:02:22 +08:00
|
|
|
box-sizing: border-box;
|
2020-09-10 12:09:42 +08:00
|
|
|
max-width: 100%;
|
2020-12-31 16:28:39 +08:00
|
|
|
cursor: zoom-in;
|
2020-11-17 10:50:55 +08:00
|
|
|
display: block;
|
2020-11-20 12:02:22 +08:00
|
|
|
box-shadow: 0 0 2px var(--shadow-color);
|
2021-01-07 15:15:39 +08:00
|
|
|
transition();
|
2020-11-17 10:50:55 +08:00
|
|
|
|
2021-01-05 18:37:36 +08:00
|
|
|
if (hexo-config('style.article_img_align') == 'center') {
|
2020-11-20 12:02:22 +08:00
|
|
|
margin: 10px auto 2px;
|
2020-11-17 10:50:55 +08:00
|
|
|
} else {
|
2020-11-20 12:02:22 +08:00
|
|
|
margin: 10px 0 2px;
|
2020-11-17 10:50:55 +08:00
|
|
|
}
|
|
|
|
|
2020-03-26 22:31:12 +08:00
|
|
|
}
|
|
|
|
|
2020-04-07 11:57:53 +08:00
|
|
|
& > table {
|
|
|
|
border-spacing: 0;
|
|
|
|
border-collapse: collapse;
|
|
|
|
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;
|
2020-10-30 10: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
|
|
|
tr {
|
2020-10-30 10:18:42 +08:00
|
|
|
background-color: var(--background-color);
|
|
|
|
border: 1px solid var(--fourth-text-color);
|
2020-04-07 11:57:53 +08:00
|
|
|
}
|
2020-03-26 22:31:12 +08:00
|
|
|
|
2020-04-07 11:57:53 +08:00
|
|
|
tr:nth-child(2n) {
|
2020-11-13 14:43:22 +08:00
|
|
|
background-color: var(--second-background-color);
|
2020-04-07 11:57:53 +08:00
|
|
|
}
|
2020-03-26 22:31:12 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|