/* |------------------------------------------------------------- | 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 { --bg: rgba(21, 21, 21, 0.7333333333); --bg-1: #242621; --bg-2: #1D1E1C; --bg-3: #151515; --fg: #E8E3E3; --fg-dark: #151515; --red: #B66467; --orange: #FF7700; --green: #8C977D; --black: #121212; --white: #E8E3E3; --accent: #8C977D; --shadow: 6px 6px 2px rgba(21, 21, 21, 0.4); --rad: 0.4rem; } /* |------------------------------------------------------------- | NAVIGATION BAR |------------------------------------------------------------- */ nav { background-color: #151515; color: #E8E3E3; border-radius: 0.4rem; border: #8C977D 0.2rem solid; box-shadow: 6px 6px 2px rgba(21, 21, 21, 0.4); display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; margin: 0 auto 1rem; padding: 0.5rem; width: calc(100% - 1.4rem); height: 2.5rem; position: -webkit-sticky; position: sticky; z-index: 99; top: 1rem; align-items: center; vertical-align: middle; } nav p { margin: 0; vertical-align: middle; } nav hr { margin: 0.5rem 0.2rem; padding: 0; opacity: 0; } nav .btn { width: auto; } .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; margin: 0; font-family: "Secular One", sans-serif; width: auto; } .nav-mobile { display: none; } @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; background-color: rgba(21, 21, 21, 0.7333333333); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: none; border-top: #8C977D 0.2rem solid; border-radius: 0; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); } nav .svg { margin: 0; display: block; } .nav-hide { display: none; } .info-text { text-align: left !important; } footer { margin-bottom: 4rem !important; } #back-to-top { bottom: 5rem !important; } .nav-mobile { display: block; } } /* |------------------------------------------------------------- | DEFAULTS |------------------------------------------------------------- */ .defaultSpacing { margin-bottom: 1rem; padding: 0.5rem 0.5rem 0 0.5rem; width: calc(100% - 1.4rem); } .defaultSpacing > * { margin-top: 0; margin-bottom: 0.5rem; } .defaultDecoration { background-color: #151515; color: #E8E3E3; border-radius: 0.4rem; border: #8C977D 0.2rem solid; box-shadow: 6px 6px 2px rgba(21, 21, 21, 0.4); } .warningDecoration { background-color: #151515; color: #E8E3E3; border-radius: 0.4rem; border: #B66467 0.2rem solid; box-shadow: 6px 6px 2px rgba(21, 21, 21, 0.4); } .defaultFonts h1, .defaultFonts h2, .defaultFonts h3, .defaultFonts h4, .defaultFonts h5 { font-family: "Lexend Deca", sans-serif; text-rendering: optimizeLegibility; } .defaultFonts p, .defaultFonts a, .defaultFonts button, .defaultFonts input { font-family: "Secular One", sans-serif; text-rendering: optimizeLegibility; } /* |------------------------------------------------------------- | INDEX |------------------------------------------------------------- */ .info-text { margin: 1rem 0 1rem 0.5rem; padding: 0; text-align: center; } .info-text h1 { margin-top: 0; margin-bottom: 1rem; } .info-text p { margin-top: 0; margin-bottom: 1rem; } .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; text-rendering: optimizeLegibility; } .gallery-order p, .gallery-order a, .gallery-order button, .gallery-order input { font-family: "Secular One", sans-serif; text-rendering: optimizeLegibility; } .gallery-order > * { margin-right: 0.5rem; } .gallery-order > *:last-child { margin-right: 0; } .gallery-root { margin-bottom: 1rem; padding: 0.25rem; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: none; } .gallery-item { margin: 0.25rem; padding: 0; height: auto; max-width: calc(20% - 0.5rem); min-width: calc(20% - 0.5rem); background-color: #151515; border-radius: -0.1rem; position: relative; overflow: hidden; 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); z-index: 9; } .gallery-item:after { content: ""; display: block; padding-bottom: 100%; } @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); } } .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; border-radius: -0.1rem; } .nsfw-blur { filter: blur(8px); } .nsfw-warning { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; height: 100%; top: 0; bottom: 0; left: 0; right: 0; position: absolute; z-index: 5; text-decoration: none; font-family: "Secular One", sans-serif; background-color: rgba(21, 21, 21, 0.7333333333); } .nsfw-warning span { color: #B66467; text-align: center; } .nsfw-warning span::after { content: " Content"; } .nsfw-warning img { margin: 0.25rem; width: 2.5rem; height: 2.5rem; } @media (max-width: 500px) { .nsfw-warning span::after { content: none; } } /* |------------------------------------------------------------- | IMAGE |------------------------------------------------------------- */ .fullscreen-image { width: 101vw; height: 101vh; 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; transition: opacity 0.5s cubic-bezier(0.075, 0.82, 0.165, 1); display: none; opacity: 0; } .fullscreen-image img { max-width: 95%; max-height: 95%; position: absolute; top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); border-radius: 0.4rem; z-index: 1; } .fullscreen-image button { padding: 0.25rem; width: 2rem; height: 2rem; position: absolute; top: 1.25rem; right: 1.25rem; display: block; box-sizing: border-box; border: none; border-radius: 0.4rem; transition: outline 0.1s cubic-bezier(0.19, 1, 0.22, 1); background-color: #121212; z-index: 2; } .fullscreen-image button img { width: 1.5rem; display: block; } .fullscreen-image button:hover { outline: #E8E3E3 0.2rem solid; color: #E8E3E3; cursor: pointer; } .image-container { margin: 1rem 0 2rem 0; padding: 0; width: 100%; max-height: 50vh; height: auto; min-height: 30vh; display: flex; background-color: rgba(21, 21, 21, 0.7333333333); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: 0.4rem; transition: max-height 0.15s cubic-bezier(0.19, 1, 0.22, 1); } @media (max-width: 600px) { .image-container { max-height: 42vh; } } .image { margin: auto; max-width: 100%; width: auto; max-height: inherit; height: auto; border-radius: 0.4rem; transition: opacity 0.5s; } .preview-button { padding: 0.25rem; width: 2rem; height: 2rem; position: absolute; bottom: 0.5rem; right: 0.5rem; display: block; box-sizing: border-box; border: none; border-radius: 0.4rem; transition: outline 0.1s cubic-bezier(0.19, 1, 0.22, 1); background-color: rgba(21, 21, 21, 0.7333333333); z-index: 2; } .preview-button img { width: 1.5rem; display: block; } .preview-button:hover { outline: #E8E3E3 0.2rem solid; color: #E8E3E3; cursor: pointer; } .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; } @media (max-width: 669px) { .image-detail > div { flex-direction: column; } .image-detail > div > div { width: auto; } } .tags { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: auto; margin-bottom: 0; } .tag { margin: 0 0.5rem 0.5rem 0; padding: 0.5rem; display: block; background-color: #8C977D; border-radius: -0.1rem; font-family: "Secular One", sans-serif; } .tag::before { content: "# "; } /* |------------------------------------------------------------- | Groups |------------------------------------------------------------- */ .group-banner { position: relative; } .group-description { height: auto; width: auto; position: relative; z-index: 1; } .group-description h2 span { margin-left: 0.25rem; font-size: 16px; } .group-description h2 a { margin-left: 0.25rem; font-size: 16px; color: #8C977D; text-decoration: none; } .group-description > * { margin: 0 0 0.5rem 0; } .group-description a { text-decoration: none; } .group-description a:hover { color: #8C977D; } .group-description .btn:hover { color: #E8E3E3; } .group-cover { height: 100%; max-width: 50%; width: auto; position: absolute; display: inline-block; right: 0; top: 0; overflow: hidden; z-index: 0; } .group-cover span { width: 100%; height: 100%; position: absolute; background: linear-gradient(to right, #151515, rgba(21, 21, 21, 0.8), rgba(21, 21, 21, 0.2)); z-index: 1; border-radius: 0.2rem; } .group-cover img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; margin-left: auto; border-radius: 0.2rem; } .selectedImage { outline: #8C977D solid 0.3rem; } .group-name { margin: 0; position: absolute; top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); transition: opacity 0.1s cubic-bezier(0.19, 1, 0.22, 1); z-index: 6; opacity: 0; font-size: 17px; font-family: "Secular One", sans-serif; text-decoration: none; text-align: center; } .gallery-group { width: 100%; height: 100%; top: 0; bottom: 0; left: 0; right: 0; position: absolute; z-index: 5; } .group-item .gallery-group { -webkit-backdrop-filter: brightness(0.5); backdrop-filter: brightness(0.5); } .group-item .nsfw-warning > * { display: none; } .group-item .group-name { opacity: 1; } .group-make { margin: 0.25rem; padding: 0; height: auto; max-width: calc(20% - 0.5rem); min-width: calc(20% - 0.5rem); border-radius: -0.1rem; position: relative; overflow: hidden; flex: 1 0 150px; transition: outline 0.1s cubic-bezier(0.19, 1, 0.22, 1); } .group-make:hover { outline: #E8E3E3 0.2rem solid; } .group-make:after { content: ""; display: block; padding-bottom: 100%; } .group-make button { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; height: 100%; padding: 0; background-color: #121212; border-radius: -0.1rem; border: none; top: 0; bottom: 0; left: 0; right: 0; position: absolute; z-index: 5; text-decoration: none; font-family: "Secular One", sans-serif; } .group-make button:hover { color: #E8E3E3; cursor: pointer; } .group-make button span { text-align: center; } .group-make button img { margin: 0.25rem; width: 2.5rem; height: 2.5rem; } @media (max-width: 800px) { .group-make { max-width: calc(25% - 0.5rem); min-width: calc(25% - 0.5rem); } } @media (max-width: 550px) { .group-make { max-width: calc(33.33% - 0.5rem); min-width: calc(33.33% - 0.5rem); } } /* |------------------------------------------------------------- | profile |------------------------------------------------------------- */ .profile-root { margin: 3rem auto 1rem auto; min-height: 7rem; position: relative; text-align: center; } .profile-root img { width: 9rem; height: 9rem; -o-object-fit: cover; object-fit: cover; position: absolute; left: 6rem; top: -3rem; transform: translateX(-50%); border-radius: 0.4rem; border: #8C977D 0.2rem solid; background-color: #151515; } .profile-root h2, .profile-root > p { margin: 0 0 0.5rem 0; padding-left: 11rem; } .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; } } /* |------------------------------------------------------------- | UPLOAD |------------------------------------------------------------- */ .upload-root > img { margin: 0 auto; max-width: 100%; max-height: 15rem; border-radius: -0.1rem; display: flex; flex-direction: column; } /* |------------------------------------------------------------- | ACCOUNT |------------------------------------------------------------- */ .pfp-upload { display: flex; flex-direction: row; } .pfp-upload > img { margin-left: 0.5rem; width: 7.813rem; height: 7.813rem; -o-object-fit: cover; object-fit: cover; border-radius: -0.1rem; background-color: #121212; } .pfp-upload form > * { margin: 0 0 0.5rem 0; } .pfp-upload form > *:last-child { margin: 0 0 0 0; } @media (max-width: 621px) { .pfp-upload { display: flex; flex-direction: column-reverse; } .pfp-upload > img { margin: 0 auto 1rem; width: 10rem; height: 10rem; } } .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; } .logs { width: 100%; height: 21rem; padding: 0; overflow-y: scroll; display: none; flex-direction: column; background-color: #151515; border-radius: -0.1rem; } .log { min-width: 850px; padding: 0.5rem; display: flex; flex-direction: row; justify-content: space-between; } .log:nth-child(even) { background-color: rgba(232, 227, 227, 0.0666666667); } .log > * { margin: 0 0.5rem 0 0; padding: 0; word-wrap: break-word; } .log > *:nth-child(1) { width: 5%; } .log > *:nth-child(2) { width: 17%; } .log > *:nth-child(3) { width: 38%; } .log > *:nth-child(4) { width: 40%; margin: 0; } .log:first-of-type { background-color: #151515; position: -webkit-sticky; position: sticky; top: 0; } .bans { width: 100%; height: 21rem; padding: 0; overflow-y: scroll; display: none; flex-direction: column; background-color: #151515; border-radius: -0.1rem; } .ban { min-width: 900px; padding: 0.5rem; display: flex; flex-direction: row; justify-content: space-between; } .ban:nth-child(even) { background-color: rgba(232, 227, 227, 0.0666666667); } .ban > * { margin: 0 0.5rem 0 0; padding: 0; word-wrap: break-word; } .ban > *:nth-child(1) { width: 5%; } .ban > *:nth-child(2) { width: 17%; } .ban > *:nth-child(3) { width: 34%; } .ban > *:nth-child(4) { width: 10%; } .ban > *:nth-child(5) { width: 34%; margin: 0; } .perm { border-left: #8C977D 0.2rem solid; } .ban:first-of-type { background-color: #151515; position: -webkit-sticky; position: sticky; top: 0; } .user-settings { width: 100%; height: 21rem; padding: 0; overflow-y: scroll; display: none; flex-direction: column; background-color: #151515; border-radius: -0.1rem; } .user { min-width: 950px; padding: 0.5rem; display: flex; flex-direction: row; justify-content: space-between; } .user:nth-child(even) { background-color: rgba(232, 227, 227, 0.0666666667); } .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; } .user:first-of-type { background-color: #151515; position: -webkit-sticky; position: sticky; top: 0; } /* |------------------------------------------------------------- | FOOTER |------------------------------------------------------------- */ footer { margin: 0 auto; width: auto; text-align: center; font-size: 12px; text-transform: uppercase; display: flex; flex-direction: row; } footer p { margin: 0.2rem; padding: 0; text-decoration: none; font-family: "Secular One", sans-serif; } footer a { margin: 0.2rem; padding: 0; 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; width: 100%; display: block; box-sizing: border-box; font-size: 16px; font-weight: 500; font-family: "Secular One", sans-serif; text-decoration: none; border: none; border-radius: -0.1rem; transition: outline 0.1s cubic-bezier(0.19, 1, 0.22, 1); } .btn:hover { outline: #E8E3E3 0.2rem solid; color: #E8E3E3; cursor: pointer; } .btn:where(input[type=file])::-webkit-file-upload-button { margin: -0.25rem 0.5rem -0.25rem -0.25rem; padding: 0.5rem; display: inline-block; font-size: 16px; text-decoration: none; background-color: #E8E3E3; border: none; border-radius: -0.1rem; } .btn:where(input[type=file])::file-selector-button { margin: -0.25rem 0.5rem -0.25rem -0.25rem; padding: 0.5rem; display: inline-block; font-size: 16px; text-decoration: none; background-color: #E8E3E3; border: none; border-radius: -0.1rem; } a.btn { text-align: center; } .btn-good { background-color: #8C977D; } .btn-bad { background-color: #B66467; } .btn-neutral { background-color: #121212; } /* |------------------------------------------------------------- | FORM SIZING |------------------------------------------------------------- */ form { width: 100%; box-sizing: content-box; } form > * { margin-bottom: 0.5rem; } textarea { resize: none; } /* |------------------------------------------------------------- | SVG |------------------------------------------------------------- */ .svg { margin: 0 0.2rem 0.1rem 0; width: 19px; height: 18px; vertical-align: middle; display: inline; } /* |------------------------------------------------------------- | BR / BREAK |------------------------------------------------------------- */ br { margin: 0; line-height: 0.25rem; } /* |------------------------------------------------------------- | Link text |------------------------------------------------------------- */ a.link { display: inline; text-decoration: underline; } a.link:hover { color: #8C977D; } /* |------------------------------------------------------------- | 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; background-color: rgba(21, 21, 21, 0.7333333333); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: 50%; box-shadow: 6px 6px 2px rgba(21, 21, 21, 0.4); 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; } }/*# sourceMappingURL=main.css.map */