2020-12-22 16:33:30 +08:00
|
|
|
@import "~highlight.js/styles/atom-one-light.css"
|
2020-08-13 11:47:56 +08:00
|
|
|
|
|
|
|
margin-y($top, $bottom = $top)
|
|
|
|
margin-top $top
|
|
|
|
margin-bottom $bottom
|
|
|
|
|
|
|
|
.post
|
|
|
|
padding 30px 60px
|
|
|
|
font-size 14px
|
|
|
|
line-height 1.8
|
2021-08-25 17:00:13 +08:00
|
|
|
color #282c33
|
2020-08-13 11:47:56 +08:00
|
|
|
font-weight 400
|
|
|
|
hyphens auto
|
|
|
|
|
|
|
|
.post-layout &
|
|
|
|
min-height 100%
|
|
|
|
margin-bottom -192px
|
|
|
|
|
|
|
|
&::after
|
|
|
|
content ""
|
|
|
|
display block
|
|
|
|
height 192px
|
|
|
|
|
|
|
|
.post-layout.no-links &
|
|
|
|
margin-bottom -58px
|
|
|
|
|
|
|
|
.no-links &::after
|
|
|
|
height 58px
|
|
|
|
|
2021-09-25 15:17:57 +08:00
|
|
|
.one-demo
|
|
|
|
margin 1em 0 1.25em
|
|
|
|
|
|
|
|
.one-details
|
|
|
|
margin-bottom 5px
|
|
|
|
|
|
|
|
[data-markdown]
|
2020-08-13 11:47:56 +08:00
|
|
|
h1
|
2021-09-25 15:17:57 +08:00
|
|
|
h1&
|
2020-08-13 11:47:56 +08:00
|
|
|
margin-y(0, 1.25em)
|
|
|
|
font-size 36px
|
|
|
|
|
|
|
|
small
|
|
|
|
vertical-align 0.1em
|
|
|
|
color #999
|
|
|
|
|
|
|
|
h2
|
2021-09-25 15:17:57 +08:00
|
|
|
h2&
|
2020-08-13 11:47:56 +08:00
|
|
|
margin-y(1.3em, 1.2em)
|
|
|
|
font-size 30px
|
|
|
|
|
|
|
|
&::before
|
|
|
|
content "#"
|
|
|
|
margin-right 5px
|
|
|
|
color #ccc
|
|
|
|
|
|
|
|
& + h3
|
|
|
|
margin-top 2em
|
|
|
|
|
|
|
|
h3
|
2021-09-25 15:17:57 +08:00
|
|
|
h3&
|
2020-08-13 11:47:56 +08:00
|
|
|
margin-y(1.25em, 1.15em)
|
|
|
|
font-size 24px
|
|
|
|
|
|
|
|
h4
|
2021-09-25 15:17:57 +08:00
|
|
|
h4&
|
2020-08-13 11:47:56 +08:00
|
|
|
margin-y(1.15em, 1.1em)
|
|
|
|
font-size 18px
|
|
|
|
|
|
|
|
h5
|
2021-09-25 15:17:57 +08:00
|
|
|
h5&
|
2020-08-13 11:47:56 +08:00
|
|
|
margin-y(1.05em)
|
|
|
|
font-size 14px
|
|
|
|
|
|
|
|
h6
|
2021-09-25 15:17:57 +08:00
|
|
|
h6&
|
2020-08-13 11:47:56 +08:00
|
|
|
margin-y(1em)
|
|
|
|
font-size 12px
|
|
|
|
|
|
|
|
h1
|
2021-09-25 15:17:57 +08:00
|
|
|
h1&
|
2020-08-13 11:47:56 +08:00
|
|
|
h2
|
2021-09-25 15:17:57 +08:00
|
|
|
h2&
|
2020-08-13 11:47:56 +08:00
|
|
|
h3
|
2021-09-25 15:17:57 +08:00
|
|
|
h3&
|
2020-08-13 11:47:56 +08:00
|
|
|
font-weight 500
|
|
|
|
clear both
|
|
|
|
|
|
|
|
h1
|
2021-09-25 15:17:57 +08:00
|
|
|
h1&
|
2020-08-13 11:47:56 +08:00
|
|
|
h2
|
2021-09-25 15:17:57 +08:00
|
|
|
h2&
|
2020-08-13 11:47:56 +08:00
|
|
|
h3
|
2021-09-25 15:17:57 +08:00
|
|
|
h3&
|
2020-08-13 11:47:56 +08:00
|
|
|
h4
|
2021-09-25 15:17:57 +08:00
|
|
|
h4&
|
2020-08-13 11:47:56 +08:00
|
|
|
h5
|
2021-09-25 15:17:57 +08:00
|
|
|
h5&
|
2020-08-13 11:47:56 +08:00
|
|
|
h6
|
2021-09-25 15:17:57 +08:00
|
|
|
h6&
|
2020-08-13 11:47:56 +08:00
|
|
|
color #333
|
|
|
|
line-height 1
|
|
|
|
|
|
|
|
br
|
2021-09-25 15:17:57 +08:00
|
|
|
br&
|
2020-08-13 11:47:56 +08:00
|
|
|
clear both
|
|
|
|
|
|
|
|
p
|
2021-09-25 15:17:57 +08:00
|
|
|
p&
|
2020-08-13 11:47:56 +08:00
|
|
|
margin-y(0.5em)
|
|
|
|
|
|
|
|
ul
|
2021-09-25 15:17:57 +08:00
|
|
|
ul&
|
2020-08-13 11:47:56 +08:00
|
|
|
ol
|
2021-09-25 15:17:57 +08:00
|
|
|
ol&
|
2020-08-13 11:47:56 +08:00
|
|
|
padding-left 1.5em
|
|
|
|
|
|
|
|
blockquote
|
2021-09-25 15:17:57 +08:00
|
|
|
blockquote&
|
2020-08-13 11:47:56 +08:00
|
|
|
margin 1em 0
|
|
|
|
padding-left 1em
|
|
|
|
border-left 5px solid #f1f1f1
|
2021-09-25 15:17:57 +08:00
|
|
|
color #666
|
|
|
|
transition color 0.2s, border-color 0.2s
|
|
|
|
|
|
|
|
&:hover
|
|
|
|
color #333
|
|
|
|
border-left-color #d3d3d3
|
2020-08-13 11:47:56 +08:00
|
|
|
|
|
|
|
table
|
2021-09-25 15:17:57 +08:00
|
|
|
table&
|
2020-08-13 11:47:56 +08:00
|
|
|
width 100%
|
|
|
|
border-collapse collapse
|
|
|
|
border 1px solid #f1f1f1
|
|
|
|
border-style none solid
|
|
|
|
margin-y(1.5em)
|
|
|
|
|
|
|
|
pre
|
|
|
|
table
|
|
|
|
max-width 480px
|
|
|
|
|
|
|
|
th
|
|
|
|
td
|
|
|
|
min-width 90px
|
|
|
|
padding 7px 14px
|
|
|
|
border 1px solid #f1f1f1
|
|
|
|
border-style solid none
|
|
|
|
text-align left
|
|
|
|
|
|
|
|
& > :first-child
|
|
|
|
margin-top 5px
|
|
|
|
|
|
|
|
& > :last-child
|
|
|
|
margin-bottom 5px
|
|
|
|
|
|
|
|
pre
|
|
|
|
padding 10px 15px
|
|
|
|
|
|
|
|
table
|
|
|
|
margin-y(0.2em, 0.5em)
|
|
|
|
|
|
|
|
td:first-child
|
|
|
|
white-space nowrap
|
|
|
|
|
|
|
|
a:link
|
2021-09-25 15:17:57 +08:00
|
|
|
a&:link
|
2020-08-13 11:47:56 +08:00
|
|
|
a:visited
|
2021-09-25 15:17:57 +08:00
|
|
|
a&:visited
|
|
|
|
text-decoration none
|
|
|
|
color #0052cc
|
|
|
|
transition color 0.2s
|
2020-08-13 11:47:56 +08:00
|
|
|
|
2021-09-25 15:17:57 +08:00
|
|
|
&:hover
|
|
|
|
color #06f
|
2020-08-13 11:47:56 +08:00
|
|
|
|
2021-09-25 15:17:57 +08:00
|
|
|
&:active
|
|
|
|
color #0046ad
|
2020-08-13 11:47:56 +08:00
|
|
|
|
|
|
|
code
|
2021-09-25 15:17:57 +08:00
|
|
|
code&
|
2020-08-13 11:47:56 +08:00
|
|
|
padding 2px 4px
|
2021-09-25 15:17:57 +08:00
|
|
|
background-color #0066ff16
|
2020-08-13 11:47:56 +08:00
|
|
|
font-size 90%
|
|
|
|
overflow visible
|
|
|
|
hyphens none
|
2021-09-25 15:17:57 +08:00
|
|
|
border-radius 3px
|
2020-08-13 11:47:56 +08:00
|
|
|
font-family Menlo, consolas, monospace
|
|
|
|
|
|
|
|
hr
|
2021-09-25 15:17:57 +08:00
|
|
|
hr&
|
2020-08-13 11:47:56 +08:00
|
|
|
height 1px
|
|
|
|
margin 2em 0
|
|
|
|
padding 0
|
|
|
|
background-color #eff0f1
|
|
|
|
border 0
|
|
|
|
clear both
|
|
|
|
|
|
|
|
figure
|
2021-09-25 15:17:57 +08:00
|
|
|
figure&
|
2020-08-13 11:47:56 +08:00
|
|
|
float right
|
|
|
|
width 60%
|
|
|
|
margin 0 0 30px 20px
|
|
|
|
|
|
|
|
& + h1
|
|
|
|
& + h2
|
|
|
|
& + h3
|
|
|
|
& + h4
|
|
|
|
& + h5
|
|
|
|
& + h6
|
|
|
|
margin-top 0
|
|
|
|
|
|
|
|
img
|
|
|
|
display block
|
|
|
|
margin auto
|
|
|
|
|
|
|
|
.preview
|
|
|
|
padding 20px
|
|
|
|
overflow hidden
|
|
|
|
border 1px solid #e5e5e5
|
|
|
|
transition box-shadow 0.2s
|
|
|
|
cursor pointer
|
|
|
|
text-align center
|
|
|
|
|
|
|
|
&:hover
|
|
|
|
box-shadow 0 0 5px rgba(0, 0, 0, 0.2)
|
|
|
|
|
|
|
|
&.hero
|
|
|
|
width 100%
|
|
|
|
float none
|
|
|
|
|
|
|
|
figcaption
|
2021-09-25 15:17:57 +08:00
|
|
|
figcaption&
|
2020-08-13 11:47:56 +08:00
|
|
|
margin-top 10px
|
|
|
|
font-size 12px
|
|
|
|
|
|
|
|
p
|
|
|
|
margin 0
|
|
|
|
line-height 20px
|
|
|
|
|
|
|
|
.caption
|
|
|
|
font-weight 500
|
|
|
|
|
|
|
|
.desc
|
|
|
|
color #999
|
|
|
|
|
|
|
|
img
|
2021-09-25 15:17:57 +08:00
|
|
|
img&
|
2020-08-13 11:47:56 +08:00
|
|
|
max-width 100%
|
|
|
|
max-height 100%
|
|
|
|
|
|
|
|
pre
|
2021-09-25 15:17:57 +08:00
|
|
|
pre&
|
2020-08-13 11:47:56 +08:00
|
|
|
border 1px solid #eee
|
2021-07-19 17:29:41 +08:00
|
|
|
border-radius 4px
|
2021-07-19 20:12:14 +08:00
|
|
|
padding 18px 24px
|
2020-08-13 11:47:56 +08:00
|
|
|
background-color #f9f9f9
|
|
|
|
white-space pre
|
|
|
|
overflow auto
|
|
|
|
|
|
|
|
code
|
2021-09-25 15:17:57 +08:00
|
|
|
border none
|
2020-08-13 11:47:56 +08:00
|
|
|
background-color transparent
|
|
|
|
padding 0
|
|
|
|
|
|
|
|
var
|
|
|
|
font-family "PT Serif", Georgia, serif
|
|
|
|
|
|
|
|
kbd
|
|
|
|
display inline-block
|
|
|
|
padding 3px 5px 6px
|
|
|
|
font-size 90%
|
|
|
|
line-height 10px
|
|
|
|
color #444d56
|
|
|
|
vertical-align 1px
|
|
|
|
background-color #fafbfc
|
|
|
|
border solid 1px #c6cbd1
|
|
|
|
border-bottom-color #959da5
|
|
|
|
border-radius 3px
|
|
|
|
box-shadow inset 0 -1px 0 #959da5
|
|
|
|
|
|
|
|
.custom-block
|
2021-09-25 15:17:57 +08:00
|
|
|
.custom-block&
|
2020-08-13 11:47:56 +08:00
|
|
|
border 1px solid
|
2021-07-19 20:12:14 +08:00
|
|
|
border-radius 4px
|
2020-08-13 11:47:56 +08:00
|
|
|
margin 1em 0
|
|
|
|
padding 0.75em 1em
|
|
|
|
|
|
|
|
& > :first-child
|
|
|
|
margin-top 0
|
|
|
|
|
|
|
|
& > :last-child
|
|
|
|
margin-bottom 0
|
|
|
|
|
2021-08-25 17:00:13 +08:00
|
|
|
.veui-alert
|
2021-09-25 15:17:57 +08:00
|
|
|
.veui-alert&
|
2021-08-30 15:51:56 +08:00
|
|
|
margin 1em 0
|
|
|
|
|
2021-08-25 17:00:13 +08:00
|
|
|
p:first-child
|
|
|
|
margin-top 0
|
2020-08-13 11:47:56 +08:00
|
|
|
|
2021-08-25 17:00:13 +08:00
|
|
|
p:last-child
|
|
|
|
margin-bottom 0
|
2020-08-13 11:47:56 +08:00
|
|
|
|
|
|
|
.badges
|
|
|
|
border none
|
|
|
|
padding 0
|
|
|
|
|
|
|
|
code
|
|
|
|
padding 2px 3px
|
|
|
|
background #333
|
|
|
|
border-radius 3px
|
|
|
|
color #fff
|
|
|
|
font-size 80%
|
|
|
|
|
|
|
|
.oss-badges
|
|
|
|
border none
|
|
|
|
padding 0
|
|
|
|
|
|
|
|
a
|
|
|
|
margin-right 10px
|