Skip to content

Commit

Permalink
Merge pull request #461 from EvanNotFound/dev
Browse files Browse the repository at this point in the history
v2.8.1
  • Loading branch information
EvanNotFound authored Nov 20, 2024
2 parents 5b560df + 9a0f579 commit 24a9fb0
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 5 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ fontawesome: # Pro v6.2.1
# Duotone version
duotone: false
# Sharp Solid version
sharp_solid: true
sharp_solid: false
# FONTAWESOME <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end


Expand Down
2 changes: 1 addition & 1 deletion scripts/filters/link-handle.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ hexo.extend.filter.register(
if (theme.config.articles.style.link_icon == false) {
return `<a class="link" ${attrBegin} href="${href}" ${attrEnd}>${html}</a>`;
} else {
return `<a class="link" ${attrBegin} href="${href}" ${attrEnd}>${html}<i class="fa-sharp fa-regular fa-arrow-up-right ml-[0.2em] font-light align-text-top text-[0.7em]"></i>`;
return `<a class="link" ${attrBegin} href="${href}" ${attrEnd}>${html}<i class="fa-solid fa-arrow-up-right ml-[0.2em] font-light align-text-top text-[0.7em] link-icon"></i></a>`;
}
},
);
Expand Down
2 changes: 1 addition & 1 deletion source/css/common/colors.styl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
18 changes: 16 additions & 2 deletions source/css/common/markdown.styl
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,34 @@
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
position relative
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)

Expand Down

0 comments on commit 24a9fb0

Please sign in to comment.