change link design in posts

This commit is contained in:
Nico Jensen 2023-02-24 14:38:00 +01:00
parent 771389e294
commit 88355262fb

View file

@ -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;