This commit is contained in:
xaoxuu 2022-10-31 13:34:40 +08:00
parent 893739c001
commit 749cc99d2e
1 changed files with 8 additions and 11 deletions

View File

@ -133,30 +133,27 @@ article.md
p:not([class]), li:not([class]) p:not([class]), li:not([class])
a:not([class]) a:not([class])
position: relative position: relative
padding: 2px padding: 2px 0
text-decoration: none text-decoration: none
display: inline-block
line-height: 1.2 line-height: 1.2
word-break: keep-all
&:after &:after
content: '' content: ''
position: absolute position: absolute
border-radius: 2px border-radius: 2px
bottom: 1px bottom: 0
left: 2px left: 0
right: 2px right: 0
height: 1px height: 1px
opacity: 0.5 opacity: 0.8
background: $color-link background: $color-link
trans1: all trans1: all
&:hover &:hover
border-bottom: none border-bottom: none
color: $color-link color: $color-link
// color: darken($color-hover, 10)
// background: alpha($color-hover, 0.08)
&:after &:after
height: 100% height: 100%
opacity: 0.2 opacity: 0.2
bottom: 0 bottom: 0
left: 0 left: -2px
right: 0 right: -2px
// background-color: alpha($color-hover, 0.08)