mirror of
https://github.com/Fluffy-Bean/Fluffys-website.git
synced 2024-12-28 18:26:05 +00:00
132 lines
2 KiB
CSS
132 lines
2 KiB
CSS
/*
|
|
Main
|
|
*/
|
|
main section {
|
|
margin: 3rem 0; padding: 1rem;
|
|
width: auto;
|
|
|
|
background-color: var(--bg); color: var(--fg);
|
|
|
|
border-radius: var(--rad);
|
|
|
|
box-shadow: var(--shadow);
|
|
}
|
|
main section * {
|
|
margin: 0 0 0.5rem; padding: 0;
|
|
max-width: 100%; width: auto; min-width: none;
|
|
|
|
border-radius: 5px;
|
|
}
|
|
main section *:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
main section img {
|
|
margin-bottom: 0.5rem;
|
|
height: auto;
|
|
}
|
|
main section p, main section a {
|
|
margin-bottom: 0.4rem;
|
|
}
|
|
|
|
/*
|
|
I hate CSS
|
|
*/
|
|
#experience img {
|
|
display: block;
|
|
}
|
|
#spotify {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/*
|
|
Gallery
|
|
*/
|
|
.gallery-image {
|
|
margin-bottom: 1rem; padding: 0;
|
|
width: 100%; height: 30rem;
|
|
object-fit: contain;
|
|
|
|
display: block;
|
|
|
|
background-color: var(--bg-dark);
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
/*
|
|
Filter
|
|
*/
|
|
.filter-list {
|
|
margin: 0 0 1rem 0; padding: 0;
|
|
width: 100%;
|
|
display: flex; flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.filter-list div {
|
|
margin: 0 1rem 0 0; padding: 0.5rem;
|
|
width: 15rem; min-width: 8rem;
|
|
height: 1.5rem;
|
|
|
|
display: flex;
|
|
justify-content: center; align-items: center;
|
|
|
|
text-align: center;
|
|
|
|
background-color: var(--bg-dark);
|
|
}
|
|
@media (max-width:750px) {
|
|
.filter-list {
|
|
flex-direction: column;
|
|
}
|
|
.filter-list div {
|
|
margin: 0 0 1rem 0;
|
|
width: auto;
|
|
}
|
|
}
|
|
.filter-list div:last-child {
|
|
margin: 0;
|
|
}
|