custom link style
This commit is contained in:
parent
c007028498
commit
d1657cb69b
|
@ -399,6 +399,8 @@ style:
|
|||
link: 'hsl(207 90% 54%)' # 超链接颜色
|
||||
button: 'hsl(192 98% 55%)' # 按钮颜色
|
||||
hover: 'hsl(14 100% 57%)' # 按钮高亮颜色
|
||||
link:
|
||||
underline: true # true / false
|
||||
animated_avatar:
|
||||
animate: auto # auto, always
|
||||
background: https://gcore.jsdelivr.net/gh/cdn-x/placeholder@1.0.4/avatar/round/rainbow64@3x.webp
|
||||
|
|
|
@ -139,7 +139,10 @@ h1.article-title
|
|||
left: 0
|
||||
right: 0
|
||||
height: 1px
|
||||
if hexo-config('style.link.underline') == true
|
||||
opacity: 0.8
|
||||
else
|
||||
opacity: 0
|
||||
background: var(--theme-link)
|
||||
trans1: all
|
||||
&:hover
|
||||
|
@ -153,8 +156,3 @@ h1.article-title
|
|||
bottom: 0
|
||||
left: -2px
|
||||
right: -2px
|
||||
.md-text li:not([class]) a:not([class]):before, .md-text p:not([class]) a:not([class]):before
|
||||
background unset !important
|
||||
|
||||
.md-text li:not([class]) a:not([class]):hover:before, .md-text p:not([class]) a:not([class]):hover:before
|
||||
background var(--theme-link) !important
|
||||
|
|
Loading…
Reference in New Issue