mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-01-01 12:26:00 +00:00
191 lines
2.8 KiB
CSS
191 lines
2.8 KiB
CSS
@import "nav.css";
|
|
@import "footer.css";
|
|
|
|
@import "gallery.css";
|
|
@import "image.css";
|
|
@import "edit.css";
|
|
@import "upload.css";
|
|
|
|
@import "signup.css";
|
|
@import "login.css";
|
|
@import "account.css";
|
|
|
|
:root {
|
|
--bg: #151515df;
|
|
--bg-1: #242621;
|
|
--bg-2: #1D1E1C;
|
|
|
|
--fg:#E8E3E3;
|
|
--fg-dark: #151515;
|
|
|
|
--red: #B66467;
|
|
--orange: #FF7700;
|
|
--green: #8C977D;
|
|
--black: #151515;
|
|
--white: #E8E3E3;
|
|
|
|
--shadow: 6px 6px 10px #15151588;
|
|
--rad: 5px;
|
|
|
|
--square: 33.33%;
|
|
}
|
|
|
|
* {
|
|
font-weight: 521;
|
|
color: var(--fg);
|
|
font-family: "Fira Code", monospace;
|
|
}
|
|
html {
|
|
margin: 0; padding: 0;
|
|
|
|
min-height: 100vh; max-width: 100vw;
|
|
|
|
background-color: var(--bg-2);
|
|
background-image: url("../assets/bg2.svg");
|
|
|
|
background-position: center;
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
background-attachment: fixed;
|
|
}
|
|
body {
|
|
margin: 0 auto; padding: 1rem;
|
|
|
|
min-height: calc(100vh - 2rem); max-width: 1500px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
form {
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
form * {
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/*
|
|
-=-=-= UNIVERSAL =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
|
*/
|
|
.flex-left {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
}
|
|
.flex-down {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.between {
|
|
justify-content: space-between;
|
|
}
|
|
.around {
|
|
justify-content: space-around;
|
|
}
|
|
.center {
|
|
text-align: center;
|
|
}
|
|
|
|
.alert {
|
|
margin: 0 auto; padding: 1rem;
|
|
|
|
width: calc(100% - 2rem);
|
|
|
|
text-align: center;
|
|
|
|
display: block;
|
|
|
|
border-radius: var(--rad);
|
|
|
|
outline: 0.5rem solid var(--bg);
|
|
}
|
|
.alert-high {
|
|
background-color: var(--green);
|
|
}
|
|
.alert-low {
|
|
background-color: var(--red);
|
|
}
|
|
.alert-default {
|
|
background-color: var(--black);
|
|
}
|
|
|
|
.btn {
|
|
margin: 0; padding: 0.5rem;
|
|
|
|
display: block;
|
|
|
|
font-size: 16px;
|
|
align-items: center;
|
|
vertical-align: middle;
|
|
|
|
text-decoration: none;
|
|
|
|
border: none;
|
|
border-radius: var(--rad);
|
|
}
|
|
.btn:hover {
|
|
outline: var(--white) 3px solid;
|
|
}
|
|
a.btn {
|
|
text-align: center;
|
|
}
|
|
|
|
.space-bottom {
|
|
margin-bottom: 1rem;
|
|
}
|
|
.space-top {
|
|
margin-top: 1rem;
|
|
}
|
|
.space-bottom-large {
|
|
margin-bottom: 2rem;
|
|
}
|
|
.space-top-large {
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.svg {
|
|
margin: 0 0.2rem 0.1rem 0;
|
|
width: 19px; height: 18px;
|
|
|
|
vertical-align: middle;
|
|
|
|
display: inline;
|
|
}
|
|
|
|
/*
|
|
-=-=-= TEXT SIZES =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
|
*/
|
|
h1 {
|
|
margin: 0 0 0.5rem 0;
|
|
|
|
font-family: "Lexend Deca", sans-serif;
|
|
font-size: 30px;
|
|
}
|
|
h2 {
|
|
margin: 0 0 0.5rem 0;
|
|
|
|
font-family: "Lexend Deca", sans-serif;
|
|
font-size: 27px;
|
|
}
|
|
h3 {
|
|
margin: 0 0 0.5rem 0;
|
|
|
|
font-family: "Lexend Deca", sans-serif;
|
|
font-size: 24px;
|
|
}
|
|
h4 {
|
|
margin: 0 0 0.5rem 0;
|
|
|
|
font-family: "Lexend Deca", sans-serif;
|
|
font-size: 21px;
|
|
}
|
|
p, a {
|
|
margin: 0 0 0.5rem 0;
|
|
font-family: "Fira Code", monospace;
|
|
}
|