mirror of
https://github.com/michivonah/website-v3.git
synced 2025-12-22 21:36:28 +01:00
improve page speed / SEO + general fixes
This commit is contained in:
parent
0fe7cfa463
commit
d0e903d7da
6 changed files with 28 additions and 5 deletions
|
|
@ -532,6 +532,8 @@ nav.small .nav-links a:last-child:focus{
|
|||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
border: none;
|
||||
outline: none;
|
||||
border-radius: var(--baseRadius);
|
||||
transition: var(--baseTransition);
|
||||
box-shadow: var(--boxShadow);
|
||||
|
|
@ -590,6 +592,13 @@ nav.small .nav-links a:last-child:focus{
|
|||
opacity: 1;
|
||||
}
|
||||
|
||||
.card-first img{
|
||||
--buffer: 5px;
|
||||
width: calc(100% + var(--buffer));
|
||||
height: calc(100% + var(--buffer));
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.project-card:hover .card-first,
|
||||
.project-card:focus .card-first{
|
||||
height: 0;
|
||||
|
|
@ -646,7 +655,7 @@ nav.small .nav-links a:last-child:focus{
|
|||
|
||||
.card-first img{
|
||||
height: calc(100% + 60px);
|
||||
filter: blur(6px);
|
||||
filter: blur(6px) brightness(0.6);
|
||||
}
|
||||
|
||||
.card-second{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue