mirror of
https://github.com/michivonah/website-v2.git
synced 2025-12-22 20:46:29 +01:00
Update style.css
This commit is contained in:
parent
4771621060
commit
1179f961f2
1 changed files with 28 additions and 2 deletions
30
style.css
30
style.css
|
|
@ -110,6 +110,32 @@ body{
|
||||||
|
|
||||||
#navbar-links a{
|
#navbar-links a{
|
||||||
margin: 0 5px;
|
margin: 0 5px;
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navLink{
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navLink::after{
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
top: 100%;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 4px;
|
||||||
|
background: #fff;
|
||||||
|
transition: all 250ms;
|
||||||
|
transform: scaleX(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
.navLink:hover{
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navLink:hover::after{
|
||||||
|
transform: scaleX(0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
#toggleNav{
|
#toggleNav{
|
||||||
|
|
@ -607,12 +633,12 @@ body{
|
||||||
border: 2px solid transparent;
|
border: 2px solid transparent;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
margin: 20px 0;
|
margin: 20px 0;
|
||||||
padding: 5px 10px;
|
padding: 10px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#contact button:hover{
|
#contact button:hover{
|
||||||
background: var(--theme2);
|
background: var(--theme2);
|
||||||
border: 2px dotted;
|
border: 2px solid;
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes shake{
|
@keyframes shake{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue