This commit is contained in:
Michał Gdula 2022-06-25 14:36:08 +01:00
parent eeede63f23
commit da699baf37
4 changed files with 24 additions and 18 deletions

View file

@ -31,11 +31,7 @@ main section p, main section a {
/*
I hate CSS
*/
#intro {
text-align: center;
}
#experience img {
margin: 0 auto;
display: block;
}
#spotify {
@ -77,17 +73,17 @@ main section p, main section a {
.gallery img {
margin: 0 0.5rem;
height: 10rem; width: 12rem;
height: 10rem;
max-width: 46%; width: auto;
object-fit: cover;
user-select: none;
transition: transform 0.2s cubic-bezier(.58,.01,.07,1);
transition: transform 0.2s cubic-bezier(0,.76,0,1);
}
.gallery img:hover {
margin: -0.25rem 0.25rem;
border: 0.25rem var(--green) solid;
outline: 0.3rem var(--green) solid;
transform: scale(0.9);
}

View file

@ -6,6 +6,7 @@ nav {
width: auto;
position: sticky; top: 1rem;
z-index: 999;
display: flex; flex-direction: row;
justify-content: space-between; align-items: center;
@ -54,4 +55,7 @@ nav * {
.nav-logo h2 {
display: none;
}
nav {
position: static;
}
}