2022-10-16 00:44:40 +08:00
|
|
|
.keep-markdown-body {
|
2022-09-30 10:51:42 +08:00
|
|
|
font-size 1rem
|
2020-03-26 22:31:12 +08:00
|
|
|
|
|
|
|
blockquote {
|
2020-11-26 10:46:42 +08:00
|
|
|
|
2022-09-30 10:51:42 +08:00
|
|
|
p
|
|
|
|
ul
|
2021-03-17 11:49:25 +08:00
|
|
|
ol {
|
2022-09-30 10:51:42 +08:00
|
|
|
padding 0.4rem 0.4rem 0.4rem 0.8rem
|
2020-11-26 10:46:42 +08:00
|
|
|
}
|
|
|
|
|
2022-09-30 10:51:42 +08:00
|
|
|
box-sizing border-box
|
|
|
|
margin 1.4rem 0
|
2022-10-14 17:56:32 +08:00
|
|
|
color var(--text-color-3)
|
|
|
|
background var(--background-color-2)
|
|
|
|
border-left 0.4rem solid var(--text-color-4)
|
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 {
|
2022-10-14 17:56:32 +08:00
|
|
|
color var(--text-color-3)
|
2022-09-30 10:51:42 +08:00
|
|
|
line-height 2
|
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 {
|
2022-09-30 10:51:42 +08:00
|
|
|
position relative
|
|
|
|
box-sizing border-box
|
|
|
|
padding-bottom 0.2rem
|
|
|
|
text-decoration none
|
|
|
|
overflow-wrap break-word
|
2022-10-14 17:56:32 +08:00
|
|
|
border-bottom 0.1rem solid var(--text-color-4)
|
2022-09-30 10:51:42 +08:00
|
|
|
outline 0
|
|
|
|
cursor pointer
|
2020-11-18 18:45:45 +08:00
|
|
|
|
2022-09-30 10:51:42 +08:00
|
|
|
.fas
|
|
|
|
.far
|
|
|
|
.fab {
|
|
|
|
position relative
|
|
|
|
margin 0 0.2rem 0 0.4rem
|
2022-10-14 17:56:32 +08:00
|
|
|
color var(--text-color-4)
|
2022-09-30 10:51:42 +08:00
|
|
|
font-size 0.88rem
|
2020-11-18 18:45:45 +08:00
|
|
|
}
|
|
|
|
|
2021-01-21 16:47:13 +08:00
|
|
|
|
2020-11-18 18:45:45 +08:00
|
|
|
&:hover {
|
2022-09-30 10:51:42 +08:00
|
|
|
text-decoration underline
|
2021-01-21 16:47:13 +08:00
|
|
|
|
2020-11-18 18:45:45 +08:00
|
|
|
&::after {
|
2022-09-30 10:51:42 +08:00
|
|
|
background var(--primary-color)
|
2020-11-18 18:45:45 +08:00
|
|
|
}
|
|
|
|
}
|
2020-03-26 22:31:12 +08:00
|
|
|
}
|
|
|
|
|
2021-01-21 16:47:13 +08:00
|
|
|
|
|
|
|
strong {
|
2022-10-14 17:56:32 +08:00
|
|
|
color var(--text-color-3)
|
2020-03-26 22:31:12 +08:00
|
|
|
}
|
|
|
|
|
2021-01-22 12:27:42 +08:00
|
|
|
|
2021-01-21 18:28:00 +08:00
|
|
|
em {
|
2022-10-14 17:56:32 +08:00
|
|
|
color var(--text-color-3)
|
2021-01-21 18:28:00 +08:00
|
|
|
}
|
|
|
|
|
2021-01-21 16:47:13 +08:00
|
|
|
|
2022-09-30 10:51:42 +08:00
|
|
|
ul
|
|
|
|
ol {
|
|
|
|
li {
|
|
|
|
margin-left 1rem
|
|
|
|
line-height 2rem
|
|
|
|
}
|
2020-04-07 11:57:53 +08:00
|
|
|
}
|
|
|
|
|
2021-01-21 16:47:13 +08:00
|
|
|
|
2020-04-07 11:57:53 +08:00
|
|
|
ul {
|
|
|
|
|
|
|
|
li {
|
2022-09-30 10:51:42 +08:00
|
|
|
list-style disc
|
2020-04-07 11:57:53 +08:00
|
|
|
|
|
|
|
ul {
|
|
|
|
|
|
|
|
li {
|
2022-09-30 10:51:42 +08:00
|
|
|
list-style circle
|
2020-04-07 11:57:53 +08:00
|
|
|
|
|
|
|
ul {
|
|
|
|
li {
|
2022-09-30 10:51:42 +08:00
|
|
|
list-style square
|
2020-04-07 11:57:53 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
ol {
|
|
|
|
|
|
|
|
li {
|
2022-09-30 10:51:42 +08:00
|
|
|
list-style decimal
|
2020-04-07 11:57:53 +08:00
|
|
|
|
|
|
|
ol {
|
|
|
|
|
|
|
|
li {
|
2022-09-30 10:51:42 +08:00
|
|
|
list-style upper-alpha
|
2020-04-07 11:57:53 +08:00
|
|
|
|
|
|
|
ol {
|
|
|
|
li {
|
2022-09-30 10:51:42 +08:00
|
|
|
list-style upper-roman
|
2020-04-07 11:57:53 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2021-01-21 16:47:13 +08:00
|
|
|
li {
|
2022-10-14 17:56:32 +08:00
|
|
|
color var(--text-color-3)
|
2021-01-21 16:47:13 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2022-09-30 10:51:42 +08:00
|
|
|
h1
|
|
|
|
h2
|
|
|
|
h3
|
|
|
|
h4
|
|
|
|
h5
|
|
|
|
h6 {
|
2022-10-14 17:56:32 +08:00
|
|
|
color var(--text-color-2)
|
2022-09-30 10:51:42 +08:00
|
|
|
line-height 1.5
|
2021-01-21 17:31:25 +08:00
|
|
|
|
|
|
|
+keep-tablet() {
|
2022-09-30 10:51:42 +08:00
|
|
|
line-height 1.25
|
2021-01-21 17:31:25 +08:00
|
|
|
}
|
2020-04-07 11:57:53 +08:00
|
|
|
}
|
2020-03-26 22:31:12 +08:00
|
|
|
|
2021-01-21 16:47:13 +08:00
|
|
|
|
2020-03-26 22:31:12 +08:00
|
|
|
h1 {
|
2022-09-30 10:51:42 +08:00
|
|
|
font-weight 600
|
|
|
|
font-size 1.8rem
|
2020-10-30 10:18:42 +08:00
|
|
|
|
2020-11-20 12:02:22 +08:00
|
|
|
+keep-tablet() {
|
2022-09-30 10:51:42 +08:00
|
|
|
font-size 1.7rem
|
2020-10-30 10:18:42 +08:00
|
|
|
}
|
2020-03-26 22:31:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
h2 {
|
2022-09-30 10:51:42 +08:00
|
|
|
font-weight 600
|
|
|
|
font-size 1.7rem
|
2020-10-30 10:18:42 +08:00
|
|
|
|
2020-11-20 12:02:22 +08:00
|
|
|
+keep-tablet() {
|
2022-09-30 10:51:42 +08:00
|
|
|
font-size 1.6rem
|
2020-10-30 10:18:42 +08:00
|
|
|
}
|
2020-03-26 22:31:12 +08:00
|
|
|
}
|
|
|
|
|
2021-01-21 16:47:13 +08:00
|
|
|
|
2020-03-26 22:31:12 +08:00
|
|
|
h3 {
|
2022-09-30 10:51:42 +08:00
|
|
|
font-weight 550
|
|
|
|
font-size 1.6rem
|
2020-10-30 10:18:42 +08:00
|
|
|
|
2020-11-20 12:02:22 +08:00
|
|
|
+keep-tablet() {
|
2022-09-30 10:51:42 +08:00
|
|
|
font-size 1.5rem
|
2020-10-30 10:18:42 +08:00
|
|
|
}
|
2020-03-26 22:31:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
h4 {
|
2022-09-30 10:51:42 +08:00
|
|
|
font-weight 550
|
|
|
|
font-size 1.5rem
|
2020-10-30 10:18:42 +08:00
|
|
|
|
2020-11-20 12:02:22 +08:00
|
|
|
+keep-tablet() {
|
2022-09-30 10:51:42 +08:00
|
|
|
font-size 1.4rem
|
2020-10-30 10:18:42 +08:00
|
|
|
}
|
2020-03-26 22:31:12 +08:00
|
|
|
}
|
|
|
|
|
2021-01-21 16:47:13 +08:00
|
|
|
|
2020-03-26 22:31:12 +08:00
|
|
|
h5 {
|
2022-09-30 10:51:42 +08:00
|
|
|
font-weight 500
|
|
|
|
font-size 1.28rem
|
2020-04-07 11:57:53 +08:00
|
|
|
|
2020-11-20 12:02:22 +08:00
|
|
|
+keep-tablet() {
|
2022-09-30 10:51:42 +08:00
|
|
|
font-size 1.18rem
|
2020-10-30 10:18:42 +08:00
|
|
|
}
|
2020-03-26 22:31:12 +08:00
|
|
|
}
|
|
|
|
|
2021-01-21 16:47:13 +08:00
|
|
|
|
2020-03-26 22:31:12 +08:00
|
|
|
h6 {
|
2022-09-30 10:51:42 +08:00
|
|
|
font-weight 500
|
|
|
|
font-size 1.2rem
|
|
|
|
line-height 1.2
|
2020-11-13 14:43:22 +08:00
|
|
|
|
2020-11-20 12:02:22 +08:00
|
|
|
+keep-tablet() {
|
2022-09-30 10:51:42 +08:00
|
|
|
font-size 1.1rem
|
|
|
|
line-height 1.1
|
2020-10-30 10:18:42 +08:00
|
|
|
}
|
2020-03-26 22:31:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
img {
|
2022-10-08 20:56:08 +08:00
|
|
|
position relative
|
2022-09-30 10:51:42 +08:00
|
|
|
display block
|
|
|
|
box-sizing border-box
|
|
|
|
max-width 100%
|
|
|
|
box-shadow 0 0 0.2rem var(--shadow-color)
|
|
|
|
cursor zoom-in
|
2022-10-08 20:56:08 +08:00
|
|
|
opacity 1
|
|
|
|
|
|
|
|
&.hide {
|
|
|
|
opacity 0
|
|
|
|
}
|
2020-11-17 10:50:55 +08:00
|
|
|
|
2022-10-10 11:01:00 +08:00
|
|
|
&[lazyload] {
|
|
|
|
margin 0.8rem auto 0.2rem
|
|
|
|
}
|
|
|
|
|
2022-09-27 20:21:17 +08:00
|
|
|
if (hexo-config('post.img_align') == 'center' || hexo-config('style.article_img_align') == 'center') {
|
2022-09-30 10:51:42 +08:00
|
|
|
margin 0.8rem auto 0.2rem
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
margin 0.8rem 0 0.2rem
|
2020-11-17 10:50:55 +08:00
|
|
|
}
|
2020-03-26 22:31:12 +08:00
|
|
|
}
|
|
|
|
|
2021-01-21 16:47:13 +08:00
|
|
|
|
2020-04-07 11:57:53 +08:00
|
|
|
& > table {
|
2022-09-30 10:51:42 +08:00
|
|
|
width 100%
|
|
|
|
overflow auto
|
|
|
|
border-collapse collapse
|
|
|
|
border-spacing 0
|
2020-03-26 22:31:12 +08:00
|
|
|
|
2022-09-26 15:11:41 +08:00
|
|
|
+keep-mobile() {
|
|
|
|
& {
|
2022-09-30 10:51:42 +08:00
|
|
|
table-layout fixed
|
2022-09-26 15:11:41 +08:00
|
|
|
}
|
2022-04-27 15:07:30 +08:00
|
|
|
}
|
2022-09-26 15:11:41 +08:00
|
|
|
|
2022-09-30 10:51:42 +08:00
|
|
|
td
|
2020-04-07 11:57:53 +08:00
|
|
|
th {
|
2022-09-30 10:51:42 +08:00
|
|
|
padding 0
|
2020-04-07 11:57:53 +08:00
|
|
|
}
|
2020-03-26 22:31:12 +08:00
|
|
|
|
2020-04-07 11:57:53 +08:00
|
|
|
th {
|
2022-09-30 10:51:42 +08:00
|
|
|
font-weight 600
|
2020-04-07 11:57:53 +08:00
|
|
|
}
|
2020-03-26 22:31:12 +08:00
|
|
|
|
2022-09-30 10:51:42 +08:00
|
|
|
td
|
2020-04-07 11:57:53 +08:00
|
|
|
th {
|
2022-09-30 10:51:42 +08:00
|
|
|
padding 0.4rem 1rem
|
|
|
|
border 0.1rem solid var(--border-color)
|
2020-03-26 22:31:12 +08:00
|
|
|
}
|
|
|
|
|
2020-04-07 11:57:53 +08:00
|
|
|
tr {
|
2022-10-14 17:56:32 +08:00
|
|
|
background-color var(--background-color-1)
|
|
|
|
border 0.1rem solid var(--text-color-6)
|
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) {
|
2022-10-14 17:56:32 +08:00
|
|
|
background-color var(--background-color-2)
|
2020-04-07 11:57:53 +08:00
|
|
|
}
|
2020-03-26 22:31:12 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|