change link design in posts
This commit is contained in:
parent
771389e294
commit
88355262fb
1 changed files with 18 additions and 0 deletions
|
@ -90,10 +90,28 @@ a:hover {
|
||||||
margin-bottom: 3.6rem;
|
margin-bottom: 3.6rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//.post-content a {
|
||||||
|
// font-weight: 600;
|
||||||
|
//}
|
||||||
|
|
||||||
.post-content a {
|
.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;
|
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 {
|
.post-content pre {
|
||||||
margin-left: 0.4rem;
|
margin-left: 0.4rem;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
|
Loading…
Add table
Reference in a new issue