mirror of
https://github.com/Fluffy-Bean/Fluffys-website.git
synced 2025-06-03 01:03:12 +00:00
:3
This commit is contained in:
parent
eeede63f23
commit
da699baf37
4 changed files with 24 additions and 18 deletions
12
css/main.css
12
css/main.css
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue