diff --git a/_config.yml b/_config.yml index 50f737e1..4ec4c337 100755 --- a/_config.yml +++ b/_config.yml @@ -109,7 +109,7 @@ fontawesome: # Pro v6.2.1 # Duotone version duotone: false # Sharp Solid version - sharp_solid: true + sharp_solid: false # FONTAWESOME <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end diff --git a/scripts/filters/link-handle.js b/scripts/filters/link-handle.js index beb44337..2a88d359 100755 --- a/scripts/filters/link-handle.js +++ b/scripts/filters/link-handle.js @@ -33,7 +33,7 @@ hexo.extend.filter.register( if (theme.config.articles.style.link_icon == false) { return `${html}`; } else { - return `${html}`; + return `${html}`; } }, ); diff --git a/source/css/common/colors.styl b/source/css/common/colors.styl index 3cb35adb..2e39a663 100644 --- a/source/css/common/colors.styl +++ b/source/css/common/colors.styl @@ -73,7 +73,7 @@ $dark-invert-text-color = #373D3F $dark-first-text-color = lighten($dark-default-text-color, 30%) $dark-second-text-color = lighten($dark-default-text-color, 20%) $dark-third-text-color = darken($dark-default-text-color, 20%) -$dark-fourth-text-color = darken($dark-default-text-color, 80%) +$dark-fourth-text-color = darken($dark-default-text-color, 70%) $dark-border-color = rgba(255, 255, 255, 0.08) $dark-selection-color = $selection-color $dark-shadow-color-1 = rgba(255, 255, 255, 0.08) diff --git a/source/css/common/markdown.styl b/source/css/common/markdown.styl index 9cc2f4f2..1915fcf4 100755 --- a/source/css/common/markdown.styl +++ b/source/css/common/markdown.styl @@ -33,6 +33,10 @@ padding-bottom 2px text-underline-offset 2px text-decoration-color var(--fourth-text-color) + transition: text-decoration-color 0.2s ease + + &.link + padding-right 0.1em .fas, .far, fab margin 0 2px 0 6px @@ -40,13 +44,23 @@ color var(--third-text-color) font-size 0.88rem - &:hover - text-decoration underline + .link-icon + transition transform 0.2s ease + + &:hover, + &:focus + text-decoration underline !important + text-decoration-color var(--primary-color) !important + + .link-icon + transform translate(0.1em, -0.1em) &::after background var(--primary-color) text-decoration underline + + strong color var(--default-text-color)