mirror of
https://github.com/Fluffy-Bean/Fluffys-website.git
synced 2025-05-25 04:44:56 +00:00
:3
This commit is contained in:
parent
03c1d99567
commit
a3d1ec57ce
33 changed files with 408 additions and 203 deletions
26
css/footer.css
Normal file
26
css/footer.css
Normal file
|
@ -0,0 +1,26 @@
|
|||
/*
|
||||
Footer
|
||||
*/
|
||||
|
||||
footer {
|
||||
margin: auto; padding: 1rem;
|
||||
width: auto;
|
||||
|
||||
display: flex; flex-direction: row; flex-wrap: wrap;
|
||||
justify-content: space-around; align-items: center;
|
||||
|
||||
background-color: var(--bg); color: var(--fg);
|
||||
|
||||
border-radius: var(--rad);
|
||||
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
footer * {
|
||||
margin: 0; padding: 0;
|
||||
display: block;
|
||||
}
|
||||
footer div {
|
||||
width: 18rem;
|
||||
justify-content: center; align-content: center;
|
||||
text-align: center;
|
||||
}
|
94
css/main.css
Normal file
94
css/main.css
Normal file
|
@ -0,0 +1,94 @@
|
|||
/*
|
||||
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.7rem; padding: 0;
|
||||
max-width: 100%; width: auto; min-width: none;
|
||||
height: auto;
|
||||
|
||||
border-radius: 5px;
|
||||
}
|
||||
main section *:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
I hate CSS
|
||||
*/
|
||||
#intro {
|
||||
text-align: center;
|
||||
}
|
||||
#experiance img {
|
||||
margin: 0 auto;
|
||||
display: block;
|
||||
}
|
||||
#spotify {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
/*
|
||||
Sona colours
|
||||
*/
|
||||
/*
|
||||
.cFF7700{background-color: var(--bandana-0);}
|
||||
.cFFDC00{background-color: var(--bandana-1);}
|
||||
.c00D621{background-color: var(--bandana-2);}
|
||||
.c0088FF{background-color: var(--bandana-3);}
|
||||
*/
|
||||
/*
|
||||
Gallery
|
||||
*/
|
||||
.gallery-image {
|
||||
width: 100%; height: 30rem;
|
||||
object-fit: contain;
|
||||
|
||||
background-color: #000;
|
||||
}
|
||||
|
||||
.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::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
.gallery img {
|
||||
margin: 0 0.5rem;
|
||||
|
||||
height: 10rem; width: 12rem;
|
||||
|
||||
object-fit: cover;
|
||||
|
||||
user-select: none;
|
||||
|
||||
transition: transform 0.1s ease-out;
|
||||
}
|
||||
.gallery img:hover {
|
||||
margin: -0.25rem 0.25rem;
|
||||
border: 0.25rem var(--green) solid;
|
||||
transform: scale(0.9);
|
||||
}
|
||||
.gallery img:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
.gallery img:last-child {
|
||||
margin-right: 0;
|
||||
}
|
40
css/nav.css
Normal file
40
css/nav.css
Normal file
|
@ -0,0 +1,40 @@
|
|||
/*
|
||||
Nav
|
||||
*/
|
||||
nav {
|
||||
margin: auto; padding: 1rem;
|
||||
width: auto;
|
||||
|
||||
position: sticky; top: 1rem;
|
||||
|
||||
display: flex; flex-direction: row;
|
||||
justify-content: space-between; align-items: center;
|
||||
|
||||
background-color: var(--bg-alt); color: var(--fg-dark);
|
||||
|
||||
border-radius: var(--rad);
|
||||
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
nav * {
|
||||
margin: 0; padding: 0;
|
||||
}
|
||||
nav img {
|
||||
margin: 0; padding: 0;
|
||||
height: 2rem; width: auto;
|
||||
|
||||
transform: rotate(-25deg) scale(3.2);
|
||||
|
||||
filter: drop-shadow(1px 0 0 var(--bg-alt))
|
||||
drop-shadow(0 1px 0 var(--bg-alt))
|
||||
drop-shadow(-1px 0 0 var(--bg-alt))
|
||||
drop-shadow(0 -1px 0 var(--bg-alt));
|
||||
}
|
||||
|
||||
nav div * {
|
||||
margin: 0 0.2rem; padding: 0;
|
||||
|
||||
text-align: right;
|
||||
|
||||
font-weight: bolder;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue