php-gallery/css/main.css

1330 lines
26 KiB
CSS
Raw Normal View History

2022-08-11 18:28:52 +00:00
/*
|-------------------------------------------------------------
| Sass stylesheet
|-------------------------------------------------------------
| This is all written by me! Fluffy! This is intended to be
| compiled before use, I want to make this autocompile for
| ease of use, but you may suffer along with me for now :3
|-------------------------------------------------------------
*/
:root {
2022-09-13 15:03:09 +00:00
--bg: rgba(21, 21, 21, 0.7333333333);
2022-08-11 18:28:52 +00:00
--bg-1: #242621;
--bg-2: #1D1E1C;
--bg-3: #151515;
2022-08-12 16:54:35 +00:00
--fg: #E8E3E3;
2022-08-11 18:28:52 +00:00
--fg-dark: #151515;
--red: #B66467;
--orange: #FF7700;
--green: #8C977D;
2022-09-21 14:23:17 +00:00
--black: #121212;
2022-08-11 18:28:52 +00:00
--white: #E8E3E3;
2022-09-13 15:03:09 +00:00
--accent: #8C977D;
--shadow: 6px 6px 2px rgba(21, 21, 21, 0.4);
2022-09-22 19:39:15 +00:00
--rad: 0.4rem;
2022-08-11 18:28:52 +00:00
}
2022-08-12 16:54:35 +00:00
/*
|-------------------------------------------------------------
| NAVIGATION BAR
|-------------------------------------------------------------
*/
2022-08-11 18:28:52 +00:00
nav {
2022-08-12 11:28:19 +00:00
margin-bottom: 1rem;
padding: 0.5rem 0.5rem 0 0.5rem;
2022-08-12 11:28:19 +00:00
width: calc(100% - 1.4rem);
2022-08-11 18:28:52 +00:00
background-color: #151515;
color: #E8E3E3;
2022-09-22 19:39:15 +00:00
border-radius: 0.4rem;
2022-08-11 18:28:52 +00:00
border: 0.2rem solid #8C977D;
box-shadow: 6px 6px 2px rgba(21, 21, 21, 0.4);
2022-08-11 18:28:52 +00:00
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
margin: 0 auto 1rem;
padding: 0.5rem;
2022-08-11 18:28:52 +00:00
width: calc(100% - 1.4rem);
height: 2.5rem;
position: -webkit-sticky;
position: sticky;
z-index: 99;
top: 1rem;
align-items: center;
vertical-align: middle;
}
2022-08-12 11:28:19 +00:00
nav > * {
margin-top: 0;
margin-bottom: 0.5rem;
}
2022-08-11 18:28:52 +00:00
nav p {
margin: 0;
vertical-align: middle;
}
nav hr {
margin: 0.5rem 0.2rem;
padding: 0;
opacity: 0;
}
2022-08-12 11:28:19 +00:00
nav .btn {
width: auto;
}
2022-08-11 18:28:52 +00:00
.nav-name {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-around;
margin: 0;
font-family: "Lexend Deca", sans-serif;
font-size: 22px;
display: block;
}
.nav-links {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-around;
2022-08-12 11:28:19 +00:00
margin: 0;
2022-08-11 18:28:52 +00:00
font-family: "Secular One", sans-serif;
width: auto;
}
.nav-mobile {
display: none;
}
2022-08-11 18:28:52 +00:00
@media (max-width: 800px) {
.nav-name {
display: none;
}
.nav-links {
width: 100%;
}
}
@media (max-width: 550px) {
nav {
margin: 0;
width: calc(100% - 1rem);
position: fixed;
top: auto;
bottom: 0;
left: 0;
right: 0;
2022-08-12 11:28:19 +00:00
background-color: rgba(21, 21, 21, 0.7333333333);
2022-08-11 18:28:52 +00:00
-webkit-backdrop-filter: blur(8px);
backdrop-filter: blur(8px);
border: none;
border-top: 3px solid #8C977D;
border-radius: 0;
-webkit-backdrop-filter: blur(16px);
backdrop-filter: blur(16px);
}
2022-08-12 16:54:35 +00:00
nav .svg {
margin: 0;
display: block;
}
2022-08-11 18:28:52 +00:00
.nav-hide {
display: none;
}
.info-text {
text-align: left !important;
}
footer {
2022-08-12 11:28:19 +00:00
margin-bottom: 4rem !important;
2022-08-11 18:28:52 +00:00
}
#back-to-top {
bottom: 5rem !important;
}
.nav-mobile {
display: block;
}
2022-08-11 18:28:52 +00:00
}
/*
|-------------------------------------------------------------
| INDEX
|-------------------------------------------------------------
*/
.info-text {
2022-08-12 11:28:19 +00:00
margin: 1rem 0 1rem 0.5rem;
2022-08-11 18:28:52 +00:00
padding: 0;
text-align: center;
}
2022-08-12 16:54:35 +00:00
.info-text h1,
.info-text h2,
.info-text h3,
.info-text h4,
.info-text h5 {
2022-08-12 11:28:19 +00:00
font-family: "Lexend Deca", sans-serif;
2022-09-21 20:29:03 +00:00
text-rendering: optimizeLegibility;
2022-08-12 11:28:19 +00:00
}
2022-08-12 16:54:35 +00:00
.info-text p,
.info-text a,
.info-text button,
.info-text input {
2022-08-12 11:28:19 +00:00
font-family: "Secular One", sans-serif;
2022-09-21 20:29:03 +00:00
text-rendering: optimizeLegibility;
2022-08-12 11:28:19 +00:00
}
2022-08-11 18:28:52 +00:00
.info-text h1 {
font-family: "Lexend Deca", sans-serif;
2022-08-12 11:28:19 +00:00
margin-top: 0;
2022-08-11 18:28:52 +00:00
margin-bottom: 1rem;
}
.info-text p {
font-family: "Secular One", sans-serif;
margin-top: 0;
margin-bottom: 1rem;
}
2022-09-08 13:29:45 +00:00
.gallery-order {
margin-bottom: 1rem;
display: flex;
flex-direction: row;
}
.gallery-order h1,
.gallery-order h2,
.gallery-order h3,
.gallery-order h4,
.gallery-order h5 {
font-family: "Lexend Deca", sans-serif;
2022-09-21 20:29:03 +00:00
text-rendering: optimizeLegibility;
2022-09-08 13:29:45 +00:00
}
.gallery-order p,
.gallery-order a,
.gallery-order button,
.gallery-order input {
font-family: "Secular One", sans-serif;
2022-09-21 20:29:03 +00:00
text-rendering: optimizeLegibility;
2022-09-08 13:29:45 +00:00
}
.gallery-order > * {
margin-right: 0.5rem;
}
.gallery-order > *:last-child {
margin-right: 0;
}
2022-08-11 18:28:52 +00:00
.gallery-root {
2022-08-12 11:28:19 +00:00
margin-bottom: 1rem;
2022-08-11 18:28:52 +00:00
padding: 0.25rem;
background-color: #151515;
color: #E8E3E3;
display: flex;
flex-direction: row;
flex-wrap: wrap;
border: 0.2rem solid #8C977D;
2022-09-22 19:39:15 +00:00
border-radius: 0.4rem;
box-shadow: 6px 6px 2px rgba(21, 21, 21, 0.4);
2022-08-11 18:28:52 +00:00
}
.gallery-item {
margin: 0.25rem;
padding: 0;
height: auto;
2022-09-21 13:02:38 +00:00
max-width: calc(20% - 0.5rem);
min-width: calc(20% - 0.5rem);
2022-08-11 18:28:52 +00:00
background-color: #151515;
2022-09-22 19:39:15 +00:00
border-radius: -0.1rem;
2022-08-11 18:28:52 +00:00
position: relative;
2022-08-14 16:43:54 +00:00
overflow: hidden;
2022-08-11 18:28:52 +00:00
flex: 1 0 150px;
transition: transform 0.15s cubic-bezier(0.19, 1, 0.22, 1);
}
.gallery-item:hover {
transform: scale(1.1) rotate(5deg);
box-shadow: 6px 6px 2px rgba(21, 21, 21, 0.4);
2022-08-12 16:54:35 +00:00
z-index: 9;
2022-08-11 18:28:52 +00:00
}
.gallery-item:after {
content: "";
display: block;
padding-bottom: 100%;
}
2022-09-21 13:02:38 +00:00
@media (max-width: 800px) {
.gallery-item {
max-width: calc(25% - 0.5rem);
min-width: calc(25% - 0.5rem);
}
}
@media (max-width: 550px) {
.gallery-item {
max-width: calc(33.33% - 0.5rem);
min-width: calc(33.33% - 0.5rem);
}
}
2022-08-11 18:28:52 +00:00
.gallery-image {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
top: 0;
bottom: 0;
left: 0;
right: 0;
position: absolute;
-o-object-fit: cover;
object-fit: cover;
-o-object-position: center;
object-position: center;
2022-09-22 19:39:15 +00:00
border-radius: -0.1rem;
2022-08-11 18:28:52 +00:00
}
2022-08-14 16:43:54 +00:00
.nsfw-blur {
2022-08-15 10:56:05 +00:00
filter: blur(8px);
2022-08-14 16:43:54 +00:00
}
2022-08-14 21:27:10 +00:00
.nsfw-warning {
width: 100%;
height: 100%;
top: 0;
bottom: 0;
left: 0;
right: 0;
position: absolute;
z-index: 5;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-decoration: none;
font-family: "Secular One", sans-serif;
2022-08-15 10:56:05 +00:00
background-color: rgba(21, 21, 21, 0.7333333333);
2022-08-14 21:27:10 +00:00
}
.nsfw-warning span {
color: #B66467;
text-align: center;
2022-08-15 10:56:05 +00:00
}
.nsfw-warning span::after {
content: " Content";
2022-08-14 21:27:10 +00:00
}
.nsfw-warning img {
margin: 0.25rem;
2022-08-15 10:56:05 +00:00
width: 2.5rem;
height: 2.5rem;
2022-08-14 21:27:10 +00:00
}
@media (max-width: 500px) {
2022-08-15 10:56:05 +00:00
.nsfw-warning span::after {
content: none;
2022-08-14 21:27:10 +00:00
}
}
2022-08-11 18:28:52 +00:00
/*
|-------------------------------------------------------------
| IMAGE
|-------------------------------------------------------------
*/
2022-09-21 16:28:57 +00:00
.fullscreen-image {
2022-09-22 12:43:22 +00:00
width: 101vw;
height: 101vh;
2022-09-21 16:28:57 +00:00
position: fixed;
top: 50%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
background-color: rgba(21, 21, 21, 0.7333333333);
-webkit-backdrop-filter: blur(15px);
backdrop-filter: blur(15px);
z-index: 999;
2022-09-22 12:43:22 +00:00
transition: opacity 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
2022-09-21 16:28:57 +00:00
display: none;
opacity: 0;
}
.fullscreen-image img {
max-width: 95%;
max-height: 95%;
position: absolute;
top: 50%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
2022-09-22 19:39:15 +00:00
border-radius: 0.4rem;
2022-09-21 20:29:03 +00:00
z-index: 1;
2022-09-21 16:28:57 +00:00
}
.fullscreen-image button {
2022-09-22 19:39:15 +00:00
padding: 0.25rem;
2022-09-22 15:51:22 +00:00
width: 2rem;
height: 2rem;
2022-09-21 16:28:57 +00:00
position: absolute;
2022-09-21 20:29:03 +00:00
top: 1.25rem;
right: 1.25rem;
2022-09-21 16:28:57 +00:00
display: block;
box-sizing: border-box;
border: none;
2022-09-22 19:39:15 +00:00
border-radius: 0.4rem;
2022-09-21 16:28:57 +00:00
transition: outline 0.1s cubic-bezier(0.19, 1, 0.22, 1);
background-color: #121212;
2022-09-21 20:29:03 +00:00
z-index: 2;
2022-09-21 16:28:57 +00:00
}
.fullscreen-image button img {
width: 1.5rem;
display: block;
}
.fullscreen-image button:hover {
outline: #E8E3E3 0.2rem solid;
color: #E8E3E3;
cursor: pointer;
2022-09-21 16:28:57 +00:00
}
2022-08-11 18:28:52 +00:00
.image-container {
margin: 1rem 0 2rem 0;
padding: 0;
width: 100%;
2022-09-08 21:22:32 +00:00
max-height: 50vh;
2022-08-11 18:28:52 +00:00
height: auto;
min-height: 30vh;
2022-08-11 18:28:52 +00:00
display: flex;
2022-08-12 11:28:19 +00:00
background-color: rgba(21, 21, 21, 0.7333333333);
2022-08-11 18:28:52 +00:00
-webkit-backdrop-filter: blur(8px);
backdrop-filter: blur(8px);
2022-09-22 19:39:15 +00:00
border-radius: 0.4rem;
2022-08-11 18:28:52 +00:00
transition: max-height 0.15s cubic-bezier(0.19, 1, 0.22, 1);
}
@media (max-width: 600px) {
.image-container {
2022-08-12 11:28:19 +00:00
max-height: 42vh;
2022-08-11 18:28:52 +00:00
}
}
.image {
margin: auto;
2022-08-11 18:28:52 +00:00
max-width: 100%;
width: auto;
max-height: inherit;
height: auto;
2022-09-22 19:39:15 +00:00
border-radius: 0.4rem;
2022-09-09 15:37:34 +00:00
transition: opacity 0.5s;
}
.preview-button {
2022-09-22 19:39:15 +00:00
padding: 0.25rem;
2022-09-22 15:51:22 +00:00
width: 2rem;
height: 2rem;
2022-09-09 15:37:34 +00:00
position: absolute;
bottom: 0.5rem;
right: 0.5rem;
display: block;
box-sizing: border-box;
border: none;
2022-09-22 19:39:15 +00:00
border-radius: 0.4rem;
2022-09-09 15:37:34 +00:00
transition: outline 0.1s cubic-bezier(0.19, 1, 0.22, 1);
2022-09-22 19:39:15 +00:00
background-color: rgba(21, 21, 21, 0.7333333333);
2022-09-22 15:51:22 +00:00
z-index: 2;
2022-09-09 15:37:34 +00:00
}
2022-09-16 16:39:13 +00:00
.preview-button img {
width: 1.5rem;
display: block;
}
2022-09-09 15:37:34 +00:00
.preview-button:hover {
outline: #E8E3E3 0.2rem solid;
color: #E8E3E3;
cursor: pointer;
2022-08-11 18:28:52 +00:00
}
2022-08-12 11:28:19 +00:00
.image-description {
margin-bottom: 1rem;
padding: 0.5rem 0.5rem 0 0.5rem;
2022-08-12 11:28:19 +00:00
width: calc(100% - 1.4rem);
background-color: #151515;
color: #E8E3E3;
2022-09-22 19:39:15 +00:00
border-radius: 0.4rem;
2022-08-12 11:28:19 +00:00
border: 0.2rem solid #8C977D;
box-shadow: 6px 6px 2px rgba(21, 21, 21, 0.4);
2022-08-12 11:28:19 +00:00
}
.image-description > * {
margin-top: 0;
margin-bottom: 0.5rem;
}
2022-08-12 16:54:35 +00:00
.image-description h1,
.image-description h2,
.image-description h3,
.image-description h4,
.image-description h5 {
2022-08-12 11:28:19 +00:00
font-family: "Lexend Deca", sans-serif;
2022-09-21 20:29:03 +00:00
text-rendering: optimizeLegibility;
2022-08-12 11:28:19 +00:00
}
2022-08-12 16:54:35 +00:00
.image-description p,
.image-description a,
.image-description button,
.image-description input {
2022-08-12 11:28:19 +00:00
font-family: "Secular One", sans-serif;
2022-09-21 20:29:03 +00:00
text-rendering: optimizeLegibility;
2022-08-12 11:28:19 +00:00
}
.image-detail {
margin-bottom: 1rem;
padding: 0.5rem 0.5rem 0 0.5rem;
2022-08-12 11:28:19 +00:00
width: calc(100% - 1.4rem);
background-color: #151515;
color: #E8E3E3;
2022-09-22 19:39:15 +00:00
border-radius: 0.4rem;
2022-08-12 11:28:19 +00:00
border: 0.2rem solid #8C977D;
box-shadow: 6px 6px 2px rgba(21, 21, 21, 0.4);
2022-08-12 11:28:19 +00:00
}
.image-detail > * {
margin-top: 0;
margin-bottom: 0.5rem;
}
2022-08-12 16:54:35 +00:00
.image-detail h1,
.image-detail h2,
.image-detail h3,
.image-detail h4,
.image-detail h5 {
2022-08-12 11:28:19 +00:00
font-family: "Lexend Deca", sans-serif;
2022-09-21 20:29:03 +00:00
text-rendering: optimizeLegibility;
2022-08-12 11:28:19 +00:00
}
2022-08-12 16:54:35 +00:00
.image-detail p,
.image-detail a,
.image-detail button,
.image-detail input {
2022-08-12 11:28:19 +00:00
font-family: "Secular One", sans-serif;
2022-09-21 20:29:03 +00:00
text-rendering: optimizeLegibility;
2022-08-12 11:28:19 +00:00
}
2022-09-08 19:41:47 +00:00
.image-detail > div {
width: 100%;
display: flex;
flex-direction: row;
}
.image-detail > div > div {
width: 50%;
}
.image-detail > div > div * {
margin-top: 0;
margin-bottom: 0.5rem;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
2022-08-12 11:28:19 +00:00
2022-09-08 19:41:47 +00:00
@media (max-width: 669px) {
.image-detail > div {
flex-direction: column;
}
.image-detail > div > div {
width: auto;
}
}
2022-08-12 11:28:19 +00:00
.tags-root {
margin-bottom: 1rem;
padding: 0.5rem 0.5rem 0 0.5rem;
2022-08-12 11:28:19 +00:00
width: calc(100% - 1.4rem);
background-color: #151515;
color: #E8E3E3;
2022-09-22 19:39:15 +00:00
border-radius: 0.4rem;
2022-08-12 11:28:19 +00:00
border: 0.2rem solid #8C977D;
box-shadow: 6px 6px 2px rgba(21, 21, 21, 0.4);
2022-08-12 11:28:19 +00:00
}
.tags-root > * {
margin-top: 0;
margin-bottom: 0.5rem;
}
2022-08-12 16:54:35 +00:00
.tags-root h1,
.tags-root h2,
.tags-root h3,
.tags-root h4,
.tags-root h5 {
2022-08-12 11:28:19 +00:00
font-family: "Lexend Deca", sans-serif;
2022-09-21 20:29:03 +00:00
text-rendering: optimizeLegibility;
2022-08-12 11:28:19 +00:00
}
2022-08-12 16:54:35 +00:00
.tags-root p,
.tags-root a,
.tags-root button,
.tags-root input {
2022-08-12 11:28:19 +00:00
font-family: "Secular One", sans-serif;
2022-09-21 20:29:03 +00:00
text-rendering: optimizeLegibility;
2022-08-12 11:28:19 +00:00
}
.tags {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: auto;
2022-08-13 09:46:12 +00:00
margin-bottom: 0;
2022-08-12 11:28:19 +00:00
}
.tag {
2022-08-13 09:46:12 +00:00
margin: 0 0.5rem 0.5rem 0;
2022-08-12 11:28:19 +00:00
padding: 0.5rem;
display: block;
background-color: #8C977D;
2022-09-22 19:39:15 +00:00
border-radius: -0.3rem;
2022-08-12 16:54:35 +00:00
font-family: "Secular One", sans-serif;
}
2022-08-14 16:43:54 +00:00
.tag::before {
content: "# ";
}
2022-08-12 16:54:35 +00:00
.danger-zone {
margin-bottom: 1rem;
padding: 0.5rem 0.5rem 0 0.5rem;
2022-08-12 16:54:35 +00:00
width: calc(100% - 1.4rem);
background-color: #151515;
color: #E8E3E3;
2022-09-22 19:39:15 +00:00
border-radius: 0.4rem;
2022-08-12 16:54:35 +00:00
border: 0.2rem solid #B66467;
box-shadow: 6px 6px 2px rgba(21, 21, 21, 0.4);
2022-08-12 16:54:35 +00:00
}
.danger-zone > * {
margin-top: 0;
margin-bottom: 0.5rem;
}
.danger-zone h1,
.danger-zone h2,
.danger-zone h3,
.danger-zone h4,
.danger-zone h5 {
font-family: "Lexend Deca", sans-serif;
2022-09-21 20:29:03 +00:00
text-rendering: optimizeLegibility;
2022-08-12 16:54:35 +00:00
}
.danger-zone p,
.danger-zone a,
.danger-zone button,
.danger-zone input {
2022-08-12 11:28:19 +00:00
font-family: "Secular One", sans-serif;
2022-09-21 20:29:03 +00:00
text-rendering: optimizeLegibility;
2022-08-12 11:28:19 +00:00
}
/*
|-------------------------------------------------------------
2022-09-22 12:43:22 +00:00
| profile
2022-08-12 11:28:19 +00:00
|-------------------------------------------------------------
*/
2022-09-22 12:43:22 +00:00
.profile-root {
2022-08-12 16:54:35 +00:00
margin-bottom: 1rem;
padding: 0.5rem 0.5rem 0 0.5rem;
2022-08-12 16:54:35 +00:00
width: calc(100% - 1.4rem);
background-color: #151515;
color: #E8E3E3;
2022-09-22 19:39:15 +00:00
border-radius: 0.4rem;
2022-08-12 16:54:35 +00:00
border: 0.2rem solid #8C977D;
box-shadow: 6px 6px 2px rgba(21, 21, 21, 0.4);
2022-09-22 12:43:22 +00:00
margin: 3rem auto 1rem auto;
min-height: 7rem;
position: relative;
text-align: center;
2022-08-12 16:54:35 +00:00
}
2022-09-22 12:43:22 +00:00
.profile-root > * {
2022-08-12 16:54:35 +00:00
margin-top: 0;
margin-bottom: 0.5rem;
}
2022-09-22 12:43:22 +00:00
.profile-root h1,
.profile-root h2,
.profile-root h3,
.profile-root h4,
.profile-root h5 {
2022-08-12 16:54:35 +00:00
font-family: "Lexend Deca", sans-serif;
2022-09-21 20:29:03 +00:00
text-rendering: optimizeLegibility;
2022-08-12 16:54:35 +00:00
}
2022-09-22 12:43:22 +00:00
.profile-root p,
.profile-root a,
.profile-root button,
.profile-root input {
2022-08-12 16:54:35 +00:00
font-family: "Secular One", sans-serif;
2022-09-21 20:29:03 +00:00
text-rendering: optimizeLegibility;
2022-08-12 16:54:35 +00:00
}
2022-09-22 12:43:22 +00:00
.profile-root img {
width: 9rem;
height: 9rem;
-o-object-fit: cover;
object-fit: cover;
position: absolute;
left: 6rem;
top: -3rem;
transform: translateX(-50%);
2022-09-22 19:39:15 +00:00
border-radius: 0.4rem;
2022-09-22 12:43:22 +00:00
border: #8C977D 0.2rem solid;
background-color: #151515;
}
.profile-root h2, .profile-root > p {
margin: 0 0 0.5rem 0;
padding-left: 11rem;
}
2022-08-12 16:54:35 +00:00
2022-09-22 12:43:22 +00:00
.profile-info {
margin-top: 0;
margin-bottom: 0.5rem;
padding-left: 11rem;
display: flex;
flex-direction: column;
text-align: center;
}
.profile-info > * {
margin-top: 0;
margin-bottom: 0.5rem;
}
@media (max-width: 669px) {
.profile-root img {
position: absolute;
left: 50%;
top: -3rem;
transform: translateX(-50%);
}
.profile-root h2 {
margin: 7rem 0 0.5rem 0;
padding: 0;
}
.profile-root > p {
padding: 0;
}
.profile-info {
padding: 0;
}
.profile-info > * {
padding: 0;
}
}
2022-08-12 16:54:35 +00:00
/*
|-------------------------------------------------------------
| UPLOAD
|-------------------------------------------------------------
*/
.upload-root {
margin-bottom: 1rem;
padding: 0.5rem 0.5rem 0 0.5rem;
2022-08-12 16:54:35 +00:00
width: calc(100% - 1.4rem);
background-color: #151515;
color: #E8E3E3;
2022-09-22 19:39:15 +00:00
border-radius: 0.4rem;
2022-08-12 16:54:35 +00:00
border: 0.2rem solid #8C977D;
box-shadow: 6px 6px 2px rgba(21, 21, 21, 0.4);
2022-08-12 16:54:35 +00:00
}
.upload-root > * {
margin-top: 0;
margin-bottom: 0.5rem;
}
.upload-root h1,
.upload-root h2,
.upload-root h3,
.upload-root h4,
.upload-root h5 {
font-family: "Lexend Deca", sans-serif;
2022-09-21 20:29:03 +00:00
text-rendering: optimizeLegibility;
2022-08-12 16:54:35 +00:00
}
.upload-root p,
.upload-root a,
.upload-root button,
.upload-root input {
font-family: "Secular One", sans-serif;
2022-09-21 20:29:03 +00:00
text-rendering: optimizeLegibility;
2022-08-12 16:54:35 +00:00
}
2022-09-23 08:03:22 +00:00
.upload-root > img {
margin: 0 auto;
max-width: 100%;
2022-09-23 09:15:16 +00:00
max-height: 15rem;
2022-09-23 08:03:22 +00:00
border-radius: -0.3rem;
display: flex;
flex-direction: column;
}
2022-08-12 16:54:35 +00:00
/*
|-------------------------------------------------------------
| ACCOUNT
|-------------------------------------------------------------
*/
2022-09-22 15:51:22 +00:00
.profile-settings {
margin-bottom: 1rem;
padding: 0.5rem 0.5rem 0 0.5rem;
width: calc(100% - 1.4rem);
background-color: #151515;
color: #E8E3E3;
2022-09-22 19:39:15 +00:00
border-radius: 0.4rem;
2022-09-22 15:51:22 +00:00
border: 0.2rem solid #8C977D;
box-shadow: 6px 6px 2px rgba(21, 21, 21, 0.4);
}
.profile-settings > * {
margin-top: 0;
margin-bottom: 0.5rem;
}
.profile-settings h1,
.profile-settings h2,
.profile-settings h3,
.profile-settings h4,
.profile-settings h5 {
font-family: "Lexend Deca", sans-serif;
text-rendering: optimizeLegibility;
}
.profile-settings p,
.profile-settings a,
.profile-settings button,
.profile-settings input {
font-family: "Secular One", sans-serif;
text-rendering: optimizeLegibility;
}
.pfp-upload {
display: flex;
flex-direction: row;
}
.pfp-upload > img {
2022-09-22 19:39:15 +00:00
margin-left: 0.5rem;
width: 7.813rem;
height: 7.813rem;
2022-09-22 15:51:22 +00:00
-o-object-fit: cover;
object-fit: cover;
2022-09-22 19:39:15 +00:00
border-radius: -0.3rem;
2022-09-22 15:51:22 +00:00
background-color: #121212;
}
2022-09-22 19:39:15 +00:00
.pfp-upload form > * {
margin: 0 0 0.5rem 0;
}
.pfp-upload form > *:last-child {
margin: 0 0 0 0;
}
2022-09-22 15:51:22 +00:00
2022-09-22 19:39:15 +00:00
@media (max-width: 621px) {
.pfp-upload {
display: flex;
flex-direction: column-reverse;
}
.pfp-upload > img {
margin: 0 auto 1rem;
width: 10rem;
height: 10rem;
2022-09-22 19:39:15 +00:00
}
}
2022-08-12 16:54:35 +00:00
.account-root {
2022-08-12 11:28:19 +00:00
margin-bottom: 1rem;
padding: 0.5rem 0.5rem 0 0.5rem;
2022-08-12 11:28:19 +00:00
width: calc(100% - 1.4rem);
background-color: #151515;
color: #E8E3E3;
2022-09-22 19:39:15 +00:00
border-radius: 0.4rem;
border: 0.2rem solid #B66467;
box-shadow: 6px 6px 2px rgba(21, 21, 21, 0.4);
2022-08-12 16:54:35 +00:00
}
.account-root > * {
margin-top: 0;
margin-bottom: 0.5rem;
}
.account-root h1,
.account-root h2,
.account-root h3,
.account-root h4,
.account-root h5 {
font-family: "Lexend Deca", sans-serif;
2022-09-21 20:29:03 +00:00
text-rendering: optimizeLegibility;
2022-08-12 16:54:35 +00:00
}
.account-root p,
.account-root a,
.account-root button,
.account-root input {
font-family: "Secular One", sans-serif;
2022-09-21 20:29:03 +00:00
text-rendering: optimizeLegibility;
2022-08-12 16:54:35 +00:00
}
2022-09-08 13:29:45 +00:00
.admin-root {
margin-bottom: 1rem;
padding: 0.5rem 0.5rem 0 0.5rem;
width: calc(100% - 1.4rem);
background-color: #151515;
color: #E8E3E3;
2022-09-22 19:39:15 +00:00
border-radius: 0.4rem;
2022-09-08 13:29:45 +00:00
border: 0.2rem solid #8C977D;
box-shadow: 6px 6px 2px rgba(21, 21, 21, 0.4);
2022-09-08 13:29:45 +00:00
}
.admin-root > * {
margin-top: 0;
margin-bottom: 0.5rem;
}
.admin-root h1,
.admin-root h2,
.admin-root h3,
.admin-root h4,
.admin-root h5 {
font-family: "Lexend Deca", sans-serif;
2022-09-21 20:29:03 +00:00
text-rendering: optimizeLegibility;
2022-09-08 13:29:45 +00:00
}
.admin-root p,
.admin-root a,
.admin-root button,
.admin-root input {
font-family: "Secular One", sans-serif;
2022-09-21 20:29:03 +00:00
text-rendering: optimizeLegibility;
2022-09-08 13:29:45 +00:00
}
.tabs {
display: flex;
flex-direction: row;
}
.tabs > button {
margin-right: 0.5rem;
width: 33.33%;
}
.tabs > button:last-child {
margin-right: 0;
}
.active-tab {
background-color: #8C977D !important;
}
2022-09-14 14:08:50 +00:00
.logs {
width: 100%;
height: 21rem;
2022-09-14 14:08:50 +00:00
padding: 0;
overflow-y: scroll;
display: none;
2022-09-14 14:08:50 +00:00
flex-direction: column;
background-color: #151515;
2022-09-22 19:39:15 +00:00
border-radius: -0.3rem;
2022-09-14 14:08:50 +00:00
}
.log {
min-width: 850px;
2022-09-14 14:08:50 +00:00
padding: 0.5rem;
display: flex;
flex-direction: row;
justify-content: space-between;
}
2022-09-16 16:39:13 +00:00
.log:nth-child(even) {
2022-09-21 14:23:17 +00:00
background-color: rgba(232, 227, 227, 0.0666666667);
2022-09-14 14:08:50 +00:00
}
.log > * {
margin: 0 0.5rem 0 0;
padding: 0;
word-wrap: break-word;
}
.log > *:nth-child(1) {
width: 5%;
}
.log > *:nth-child(2) {
2022-09-15 17:35:06 +00:00
width: 17%;
2022-09-14 14:08:50 +00:00
}
.log > *:nth-child(3) {
2022-09-15 17:35:06 +00:00
width: 38%;
2022-09-14 14:08:50 +00:00
}
.log > *:nth-child(4) {
2022-09-15 17:35:06 +00:00
width: 40%;
2022-09-16 16:39:13 +00:00
margin: 0;
}
.log:first-of-type {
background-color: #151515;
position: -webkit-sticky;
position: sticky;
top: 0;
2022-09-14 14:08:50 +00:00
}
2022-09-15 15:40:12 +00:00
.bans {
width: 100%;
height: 21rem;
2022-09-15 15:40:12 +00:00
padding: 0;
overflow-y: scroll;
display: none;
2022-09-15 15:40:12 +00:00
flex-direction: column;
background-color: #151515;
2022-09-22 19:39:15 +00:00
border-radius: -0.3rem;
2022-09-15 15:40:12 +00:00
}
.ban {
min-width: 900px;
2022-09-15 15:40:12 +00:00
padding: 0.5rem;
display: flex;
flex-direction: row;
justify-content: space-between;
}
2022-09-16 16:39:13 +00:00
.ban:nth-child(even) {
2022-09-21 14:23:17 +00:00
background-color: rgba(232, 227, 227, 0.0666666667);
2022-09-15 15:40:12 +00:00
}
.ban > * {
margin: 0 0.5rem 0 0;
padding: 0;
word-wrap: break-word;
}
.ban > *:nth-child(1) {
width: 5%;
}
.ban > *:nth-child(2) {
2022-09-15 17:35:06 +00:00
width: 17%;
2022-09-15 15:40:12 +00:00
}
.ban > *:nth-child(3) {
2022-09-16 16:39:13 +00:00
width: 34%;
2022-09-15 15:40:12 +00:00
}
.ban > *:nth-child(4) {
width: 10%;
}
.ban > *:nth-child(5) {
2022-09-16 16:39:13 +00:00
width: 34%;
margin: 0;
2022-09-15 15:40:12 +00:00
}
.perm {
border-left: #B66467 0.2rem solid;
2022-09-16 16:39:13 +00:00
}
.ban:first-of-type {
background-color: #151515;
position: -webkit-sticky;
position: sticky;
top: 0;
}
.user-settings {
width: 100%;
height: 21rem;
2022-09-16 16:39:13 +00:00
padding: 0;
overflow-y: scroll;
display: none;
2022-09-16 16:39:13 +00:00
flex-direction: column;
background-color: #151515;
2022-09-22 19:39:15 +00:00
border-radius: -0.3rem;
2022-09-16 16:39:13 +00:00
}
.user {
min-width: 950px;
2022-09-16 16:39:13 +00:00
padding: 0.5rem;
display: flex;
flex-direction: row;
justify-content: space-between;
}
.user:nth-child(even) {
2022-09-21 14:23:17 +00:00
background-color: rgba(232, 227, 227, 0.0666666667);
2022-09-16 16:39:13 +00:00
}
.user > * {
margin: 0 0.5rem 0 0;
padding: 0;
word-wrap: break-word;
}
.user > *:nth-child(1) {
width: 5%;
}
.user > *:nth-child(2) {
width: 15%;
}
.user > *:nth-child(3) {
width: 35%;
}
.user > *:nth-child(4) {
width: 15%;
}
.user > *:nth-child(5) {
width: 15%;
}
.user > *:nth-child(6) {
width: 15%;
margin: 0;
}
.is-admin {
border-left: #8C977D 0.2rem solid;
2022-09-16 16:39:13 +00:00
}
.user:first-of-type {
background-color: #151515;
position: -webkit-sticky;
position: sticky;
top: 0;
2022-09-15 15:40:12 +00:00
}
2022-08-12 16:54:35 +00:00
.signup-root {
margin-bottom: 1rem;
padding: 0.5rem 0.5rem 0 0.5rem;
2022-08-12 16:54:35 +00:00
width: calc(100% - 1.4rem);
background-color: #151515;
color: #E8E3E3;
2022-09-22 19:39:15 +00:00
border-radius: 0.4rem;
2022-08-12 16:54:35 +00:00
border: 0.2rem solid #8C977D;
box-shadow: 6px 6px 2px rgba(21, 21, 21, 0.4);
display: none;
2022-08-12 16:54:35 +00:00
}
.signup-root > * {
margin-top: 0;
margin-bottom: 0.5rem;
}
.signup-root h1,
.signup-root h2,
.signup-root h3,
.signup-root h4,
.signup-root h5 {
font-family: "Lexend Deca", sans-serif;
2022-09-21 20:29:03 +00:00
text-rendering: optimizeLegibility;
2022-08-12 16:54:35 +00:00
}
.signup-root p,
.signup-root a,
.signup-root button,
.signup-root input {
font-family: "Secular One", sans-serif;
2022-09-21 20:29:03 +00:00
text-rendering: optimizeLegibility;
2022-08-12 16:54:35 +00:00
}
.login-root {
margin-bottom: 1rem;
padding: 0.5rem 0.5rem 0 0.5rem;
2022-08-12 16:54:35 +00:00
width: calc(100% - 1.4rem);
background-color: #151515;
color: #E8E3E3;
2022-09-22 19:39:15 +00:00
border-radius: 0.4rem;
2022-08-12 16:54:35 +00:00
border: 0.2rem solid #8C977D;
box-shadow: 6px 6px 2px rgba(21, 21, 21, 0.4);
2022-08-12 16:54:35 +00:00
}
.login-root > * {
margin-top: 0;
margin-bottom: 0.5rem;
}
.login-root h1,
.login-root h2,
.login-root h3,
.login-root h4,
.login-root h5 {
font-family: "Lexend Deca", sans-serif;
2022-09-21 20:29:03 +00:00
text-rendering: optimizeLegibility;
2022-08-12 16:54:35 +00:00
}
.login-root p,
.login-root a,
.login-root button,
.login-root input {
font-family: "Secular One", sans-serif;
2022-09-21 20:29:03 +00:00
text-rendering: optimizeLegibility;
2022-08-12 16:54:35 +00:00
}
/*
|-------------------------------------------------------------
| PASSWORD RESET
|-------------------------------------------------------------
*/
.password-reset-root {
margin-bottom: 1rem;
padding: 0.5rem 0.5rem 0 0.5rem;
2022-08-12 16:54:35 +00:00
width: calc(100% - 1.4rem);
background-color: #151515;
color: #E8E3E3;
2022-09-22 19:39:15 +00:00
border-radius: 0.4rem;
2022-08-12 11:28:19 +00:00
border: 0.2rem solid #B66467;
box-shadow: 6px 6px 2px rgba(21, 21, 21, 0.4);
2022-08-12 11:28:19 +00:00
}
2022-08-12 16:54:35 +00:00
.password-reset-root > * {
2022-08-12 11:28:19 +00:00
margin-top: 0;
margin-bottom: 0.5rem;
}
2022-08-12 16:54:35 +00:00
.password-reset-root h1,
.password-reset-root h2,
.password-reset-root h3,
.password-reset-root h4,
.password-reset-root h5 {
2022-08-12 11:28:19 +00:00
font-family: "Lexend Deca", sans-serif;
2022-09-21 20:29:03 +00:00
text-rendering: optimizeLegibility;
2022-08-12 11:28:19 +00:00
}
2022-08-12 16:54:35 +00:00
.password-reset-root p,
.password-reset-root a,
.password-reset-root button,
.password-reset-root input {
2022-08-12 11:28:19 +00:00
font-family: "Secular One", sans-serif;
2022-09-21 20:29:03 +00:00
text-rendering: optimizeLegibility;
2022-08-12 11:28:19 +00:00
}
2022-08-12 16:54:35 +00:00
/*
|-------------------------------------------------------------
| FOOTER
|-------------------------------------------------------------
*/
2022-08-11 18:28:52 +00:00
footer {
2022-08-12 11:28:19 +00:00
margin: 0 auto;
2022-09-21 20:29:03 +00:00
width: auto;
2022-09-20 15:47:23 +00:00
text-align: center;
2022-09-21 20:29:03 +00:00
font-size: 12px;
text-transform: uppercase;
display: flex;
flex-direction: row;
2022-08-11 18:28:52 +00:00
}
2022-08-15 10:56:05 +00:00
footer p {
2022-09-21 20:29:03 +00:00
margin: 0.2rem;
padding: 0;
2022-08-15 10:56:05 +00:00
text-decoration: none;
font-family: "Secular One", sans-serif;
}
2022-08-11 18:28:52 +00:00
footer a {
2022-09-21 20:29:03 +00:00
margin: 0.2rem;
padding: 0;
2022-08-11 18:28:52 +00:00
text-decoration: none;
font-family: "Secular One", sans-serif;
}
footer a:hover {
color: #FF7700;
}
/*
|-------------------------------------------------------------
| BODY COMPONENTS
|-------------------------------------------------------------
*/
html {
margin: 0;
padding: 0;
min-height: 100vh;
max-width: 100vw;
position: relative;
background-color: #151515;
background-image: url("../assets/bg.svg");
background-position: center;
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
scroll-behavior: smooth;
overflow: auto;
}
body {
margin: 0 auto;
padding: 1rem;
max-width: 1000px;
min-height: calc(100vh - 2rem);
display: flex;
flex-direction: column;
justify-content: space-between;
position: relative;
}
body * {
color: #E8E3E3;
}
/*
|-------------------------------------------------------------
| BUTTONS
|-------------------------------------------------------------
*/
.btn {
padding: 0.5rem;
2022-08-12 11:28:19 +00:00
width: 100%;
2022-08-11 18:28:52 +00:00
display: block;
2022-08-12 11:28:19 +00:00
box-sizing: border-box;
2022-08-11 18:28:52 +00:00
font-size: 16px;
font-weight: 500;
2022-08-12 11:28:19 +00:00
font-family: "Secular One", sans-serif;
2022-08-11 18:28:52 +00:00
text-decoration: none;
border: none;
2022-09-22 19:39:15 +00:00
border-radius: -0.3rem;
2022-08-11 18:28:52 +00:00
transition: outline 0.1s cubic-bezier(0.19, 1, 0.22, 1);
}
.btn:hover {
2022-08-13 09:46:12 +00:00
outline: #E8E3E3 0.2rem solid;
2022-08-11 18:28:52 +00:00
color: #E8E3E3;
2022-09-20 10:12:32 +00:00
cursor: pointer;
2022-08-11 18:28:52 +00:00
}
.btn:where(input[type=file])::-webkit-file-upload-button {
2022-08-12 16:54:35 +00:00
margin: -0.25rem 0.5rem -0.25rem -0.25rem;
2022-08-11 18:28:52 +00:00
padding: 0.5rem;
display: inline-block;
font-size: 16px;
text-decoration: none;
background-color: #E8E3E3;
border: none;
2022-09-22 19:39:15 +00:00
border-radius: -0.3rem;
2022-08-11 18:28:52 +00:00
}
.btn:where(input[type=file])::file-selector-button {
2022-08-12 16:54:35 +00:00
margin: -0.25rem 0.5rem -0.25rem -0.25rem;
2022-08-11 18:28:52 +00:00
padding: 0.5rem;
display: inline-block;
font-size: 16px;
text-decoration: none;
background-color: #E8E3E3;
border: none;
2022-09-22 19:39:15 +00:00
border-radius: -0.3rem;
2022-08-12 16:54:35 +00:00
}
a.btn {
text-align: center;
2022-08-11 18:28:52 +00:00
}
2022-08-12 11:28:19 +00:00
.btn-good {
background-color: #8C977D;
}
.btn-bad {
background-color: #B66467;
}
.btn-neutral {
2022-09-21 14:23:17 +00:00
background-color: #121212;
2022-08-11 18:28:52 +00:00
}
/*
|-------------------------------------------------------------
2022-08-12 11:28:19 +00:00
| FORM SIZING
2022-08-11 18:28:52 +00:00
|-------------------------------------------------------------
*/
form {
width: 100%;
2022-08-12 11:28:19 +00:00
box-sizing: content-box;
2022-08-11 18:28:52 +00:00
}
2022-08-12 16:54:35 +00:00
form > * {
margin-bottom: 0.5rem;
}
2022-08-11 18:28:52 +00:00
textarea {
resize: none;
}
2022-08-11 18:28:52 +00:00
/*
|-------------------------------------------------------------
2022-08-12 11:28:19 +00:00
| SVG
2022-08-11 18:28:52 +00:00
|-------------------------------------------------------------
*/
.svg {
margin: 0 0.2rem 0.1rem 0;
width: 19px;
height: 18px;
vertical-align: middle;
display: inline;
}
2022-08-12 16:54:35 +00:00
/*
|-------------------------------------------------------------
| BR / BREAK
|-------------------------------------------------------------
*/
br {
margin: 0;
line-height: 0.25rem;
}
2022-09-21 14:23:17 +00:00
/*
|-------------------------------------------------------------
| Link text
|-------------------------------------------------------------
*/
a.link {
display: inline;
text-decoration: underline;
}
a.link:hover {
color: #8C977D;
}
2022-08-11 18:28:52 +00:00
/*
|-------------------------------------------------------------
| BACK TO TOP
|-------------------------------------------------------------
*/
#back-to-top {
margin: 0;
padding: 0.5rem;
position: fixed;
z-index: 99;
right: -2.5rem;
bottom: 1rem;
-o-object-position: center;
object-position: center;
2022-08-13 09:46:12 +00:00
background-color: rgba(21, 21, 21, 0.7333333333);
2022-08-11 18:28:52 +00:00
-webkit-backdrop-filter: blur(8px);
backdrop-filter: blur(8px);
border-radius: 50%;
box-shadow: 6px 6px 2px rgba(21, 21, 21, 0.4);
2022-08-11 18:28:52 +00:00
transition: right 0.15s cubic-bezier(0.19, 1, 0.22, 1);
}
#back-to-top:hover {
outline: 0.2rem solid #8C977D;
}
#back-to-top * {
margin: 0;
padding: 0;
width: 1.5rem;
height: 1.5rem;
display: block;
-o-object-position: center;
object-position: center;
}
@media (prefers-reduced-motion) {
* {
transition: none !important;
}
2022-08-11 18:28:52 +00:00
}/*# sourceMappingURL=main.css.map */