From 88355262fbf583c7c77fd83e65ff8f65f978ae49 Mon Sep 17 00:00:00 2001 From: Nico Jensen Date: Fri, 24 Feb 2023 14:38:00 +0100 Subject: [PATCH] change link design in posts --- _sass/main.scss | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/_sass/main.scss b/_sass/main.scss index abe7148..e80b378 100644 --- a/_sass/main.scss +++ b/_sass/main.scss @@ -90,10 +90,28 @@ a:hover { margin-bottom: 3.6rem; } +//.post-content a { +// font-weight: 600; +//} + .post-content a { + padding: 0; + color: rgb(255, 144, 163, 1); + background: linear-gradient( 90deg, rgba(255, 144, 163, 0.2), rgba(255, 144, 163, 0.25) ) no-repeat 0 100%; + background-size: 100% 5%; + background-position-y: 90%; + text-decoration: none; + transition: all 0.2s 0.1s; font-weight: 600; } +.post-content a:hover { + padding: 2px 0; + background: linear-gradient( 90deg, rgba(255, 144, 163, 0.2), rgba(255, 144, 163, 0.25) ) no-repeat 0 100%; + background-position-y: 100%; + background-size: 100% 100%; +} + .post-content pre { margin-left: 0.4rem; padding: 10px;