This commit is contained in:
xaoxuu 2022-06-10 23:29:21 +08:00
parent c5e975e555
commit 645dbad4b8
4 changed files with 13 additions and 16 deletions

View File

@ -12,6 +12,15 @@ a
&:hover
color: $color-hover
// md > a
p, li
>a:not([class])
margin: 0 1px
padding: 4px
border-radius: 4px
&:hover
color: darken($color-hover, 10)
background: alpha($color-hover, 0.08)
hr
color: var(--text-meta)

View File

@ -91,21 +91,13 @@ article.md.content
h1+h2
margin-top: -0.5rem
h2+h3
margin-top: -1rem
margin-top: -0.5rem
h3+h4
margin-top: -1rem
margin-top: -0.5rem
h4+h5
margin-top: -1rem
margin-top: -0.5rem
h5+h6
margin-top: -1rem
// a
article.md
p, li:not([class])
>a:not([class])
font-weight: 500
&:hover
text-decoration: underline
margin-top: -0.5rem
article.md p
font-size: $fs-p

View File

@ -23,8 +23,6 @@
ul
margin: 0
overflow: hidden
a:hover
text-decoration: underline
.post-title
margin: 0.5rem 0
line-height: 1.2

View File

@ -188,8 +188,6 @@ nav.menu
margin-top: .5em
margin-bottom: .5em
line-height: 1.5
>a:hover
text-decoration: underline
.widget-header+.widget-body
margin-top: 0