Update style.css

This commit is contained in:
Michi 2022-06-29 21:48:58 +02:00 committed by GitHub
parent 1179f961f2
commit d8a16edfc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -128,6 +128,7 @@ body{
background: #fff; background: #fff;
transition: all 250ms; transition: all 250ms;
transform: scaleX(0); transform: scaleX(0);
border-radius: 4px;
} }
.navLink:hover{ .navLink:hover{
@ -173,7 +174,7 @@ body{
} }
#home h1{ #home h1{
font-weight: 600; font-weight: 700;
background: linear-gradient(90deg, rgba(150,237,32,1) 0%, rgba(0,212,255,1) 75%); background: linear-gradient(90deg, rgba(150,237,32,1) 0%, rgba(0,212,255,1) 75%);
-webkit-background-clip: text; -webkit-background-clip: text;
-webkit-text-fill-color: transparent; -webkit-text-fill-color: transparent;
@ -791,6 +792,34 @@ body{
} }
/* General stylings */ /* General stylings */
.link{
position: relative;
text-decoration: none;
}
.link::before{
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 40%;
background: var(--theme2);
z-index: -1;
transition: all 250ms;
border-radius: 2px;
}
.link:hover{
text-decoration: none !important;
}
.link:hover::before{
height: 100%;
transition: all 250ms;
cursor: pointer;
}
a{ a{
color: inherit; color: inherit;
text-decoration: none; text-decoration: none;