2021-03-05 21:37:28 +08:00
|
|
|
pre
|
|
|
|
font-family: $ff-code
|
|
|
|
font-size: $fs-code
|
|
|
|
tab-size: 4
|
|
|
|
-moz-tab-size: 4
|
|
|
|
-o-tab-size: 4
|
|
|
|
-webkit-tab-size: 4
|
|
|
|
|
|
|
|
a
|
|
|
|
text-decoration: none
|
|
|
|
color: $color-link
|
|
|
|
&:hover
|
|
|
|
color: $color-hover
|
|
|
|
|
2022-06-10 23:29:21 +08:00
|
|
|
// md > a
|
2022-10-05 14:58:05 +08:00
|
|
|
p:not([class]), li:not([class])
|
2022-10-05 17:34:16 +08:00
|
|
|
a:not([class])
|
2022-10-05 14:58:05 +08:00
|
|
|
position: relative
|
2022-06-10 23:29:21 +08:00
|
|
|
margin: 0 1px
|
2022-10-05 14:58:05 +08:00
|
|
|
padding: 2px
|
|
|
|
&:after
|
|
|
|
content: ''
|
|
|
|
position: absolute
|
|
|
|
border-radius: 2px
|
|
|
|
bottom: 0
|
|
|
|
left: 2px
|
|
|
|
right: 2px
|
|
|
|
height: 1px
|
|
|
|
opacity: 0.5
|
|
|
|
background: $color-link
|
|
|
|
trans1: all
|
2022-06-10 23:29:21 +08:00
|
|
|
&:hover
|
2022-10-05 14:58:05 +08:00
|
|
|
border-bottom: none
|
|
|
|
color: $color-link
|
|
|
|
// color: darken($color-hover, 10)
|
|
|
|
// background: alpha($color-hover, 0.08)
|
|
|
|
&:after
|
|
|
|
height: 100%
|
|
|
|
opacity: 0.2
|
|
|
|
bottom: 0
|
|
|
|
left: 0
|
|
|
|
right: 0
|
|
|
|
// background-color: alpha($color-hover, 0.08)
|
2021-03-05 21:37:28 +08:00
|
|
|
|
|
|
|
hr
|
|
|
|
color: var(--text-meta)
|
|
|
|
opacity: .1
|
|
|
|
|
|
|
|
|
|
|
|
img
|
|
|
|
max-width: 100%
|
|
|
|
|
|
|
|
|
|
|
|
li
|
|
|
|
font-size: $fs-15
|
|
|
|
|
|
|
|
|
|
|
|
ul,ol
|
|
|
|
padding-left: 1.5rem
|
|
|
|
|
|
|
|
|
|
|
|
// table
|
|
|
|
table:not([class])
|
|
|
|
border-collapse: collapse
|
|
|
|
overflow: auto
|
|
|
|
display: block
|
|
|
|
margin: 1rem 0
|
|
|
|
max-width: 100%
|
|
|
|
vertical-align: text-top
|
|
|
|
font-size: $fs-14
|
|
|
|
th
|
|
|
|
background: var(--block)
|
|
|
|
td,th
|
|
|
|
padding: 0.5em 1em
|
2021-03-08 17:54:23 +08:00
|
|
|
border: 1px solid var(--block-hover)
|
2021-03-05 21:37:28 +08:00
|
|
|
line-height: 1.5
|
|
|
|
tr
|
|
|
|
word-break: keep-all
|
|
|
|
white-space:nowrap
|
|
|
|
trans()
|
|
|
|
&:hover
|
|
|
|
background: var(--block)
|