diff --git a/assets/base.scss b/assets/base.scss index 4d195c3f4..7d3acdc0d 100644 --- a/assets/base.scss +++ b/assets/base.scss @@ -119,14 +119,18 @@ article a { // internal link &[href^="./"], &[href^="/"] { text-decoration: none; - background-color: #afbfc933; - padding: 0 0.2em; - margin-right: -0.2em; - font-weight: 600; + background-color: transparentize(#8f9fa9, 0.85); + padding: 0 0.1em; + margin: auto -0.1em; border-radius: 3px; } } +.backlinks a { + font-weight: 600; + font-size: 0.9rem; +} + sup > a { text-decoration: none; padding: 0 0.1em 0 0.2em; @@ -134,8 +138,8 @@ sup > a { a { font-family: Inter, sans-serif; - font-weight: 700; font-size: 1em; + font-weight: 700; text-decoration: none; transition: all 0.2s ease; color: var(--secondary); diff --git a/assets/custom.scss b/assets/custom.scss index cb8babb35..612b80a61 100644 --- a/assets/custom.scss +++ b/assets/custom.scss @@ -14,7 +14,7 @@ [saved-theme="dark"] { --light: #1e1e21 !important; --dark: #fbfffe !important; - --secondary: #5b778a !important; + --secondary: #6b879a !important; --visited: #4a575e !important; --tertiary: #84a59d !important; --primary: #f58382 !important; diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 3810078cc..6814aed98 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -7,7 +7,7 @@ - + {{ $css := slice "custom.scss" "base.scss" "darkmode.scss" "syntax.scss"}} {{range $css}} {{$sass := resources.Get . | resources.ToCSS }}