mirror of
https://github.com/Fluffy-Bean/Fluffys-website.git
synced 2025-01-15 10:45:14 +00:00
112 lines
1.7 KiB
CSS
112 lines
1.7 KiB
CSS
/*
|
|
Main
|
|
*/
|
|
section {
|
|
margin: 5rem 0; padding: 1rem;
|
|
width: auto;
|
|
|
|
background-color: var(--bg); color: var(--fg);
|
|
|
|
border-radius: var(--rad);
|
|
|
|
box-shadow: var(--shadow);
|
|
|
|
border: 0.2rem solid var(--green);
|
|
outline: 0.5rem solid var(--bg);
|
|
}
|
|
section * {
|
|
margin: 0 0 0.5rem; padding: 0;
|
|
max-width: 100%; width: auto; min-width: none;
|
|
|
|
border-radius: 5px;
|
|
}
|
|
section *:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
section img {
|
|
margin-bottom: 0.5rem;
|
|
height: auto;
|
|
}
|
|
section p, section a {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
/*
|
|
I suck at CSS
|
|
*/
|
|
#experience img {
|
|
display: block;
|
|
}
|
|
|
|
#spotify {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#projects div {
|
|
display: flex; flex-direction: row;
|
|
justify-content: space-around;
|
|
}
|
|
#projects div img {
|
|
margin-right: 1rem; margin-bottom: 0;
|
|
height: 150px; width: 150px;
|
|
}
|
|
#projects div img:last-child {
|
|
margin: 0;
|
|
}
|
|
|
|
/*
|
|
Gallery
|
|
*/
|
|
.gallery-image {
|
|
margin-bottom: 1rem; padding: 0;
|
|
width: 100%; height: 30rem;
|
|
object-fit: contain;
|
|
|
|
display: block;
|
|
|
|
background-color: var(--bg-1);
|
|
}
|
|
|
|
.gallery {
|
|
margin: 0; padding: 0;
|
|
height: 10rem;
|
|
|
|
display: flex; flex-direction: row;
|
|
overflow-x: scroll;
|
|
|
|
user-select: none;
|
|
-ms-overflow-style: none;
|
|
scrollbar-width: none;
|
|
}
|
|
.gallery:hover {
|
|
cursor: grab;
|
|
}
|
|
.gallery::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.gallery img {
|
|
margin: 0 0.5rem;
|
|
|
|
height: 10rem;
|
|
max-width: 46%; width: auto;
|
|
|
|
object-fit: cover;
|
|
|
|
user-select: none;
|
|
|
|
transition: transform 0.2s cubic-bezier(0,.76,0,1);
|
|
}
|
|
.gallery img:hover {
|
|
outline: 0.3rem var(--green) solid;
|
|
transform: scale(0.9);
|
|
}
|
|
|
|
.gallery img:first-child {
|
|
margin-left: 0;
|
|
}
|
|
.gallery img:last-child {
|
|
margin-right: 0;
|
|
}
|