f0ckv2/public/s/css/f0ck.css

1243 lines
27 KiB
CSS
Raw Normal View History

2021-04-17 08:43:23 +00:00
/* f0ckwork v0.1 alpha */
/* written by sirx for f0ck.me */
/* use whatever you like */
/* once upon a time this was a stiefelstrapse! but no more! */
/* Licensed under wtfpl */
2021-04-17 17:55:25 +00:00
html[theme='f0ck'] {
2021-04-17 08:43:23 +00:00
--accent: #9f0;
--bg: #171717;
--black: #000;
--white: #fff;
--gray: #262626;
--nav-bg: #2b2b2b;
--nav-brand-border: inset 1px #242424;
--nav-brand-bg: #171717;
--navigation-links-bg: #2b2b2b;
--navigation-links-background-linear-gradient: rgba(0,0,0,.12),rgba(0,0,0,0);
--navigation-links-border-color: rgba(0,0,0,.8) rgba(0,0,0,.65) rgba(0,0,0,.5);
--navigation-links-box-shadow: rgba(255,255,255,.05);
--nav-link-background-linear-gradient: rgba(255,255,255,.04),rgba(255,255,255,0);
--nav-link-box-shadow: inset 0 0 0 1px rgba(255,255,255,.04),inset 0 0px rgba(255,255,255,.04),inset 0 0px rgba(0,0,0,.15),0 0px 0px rgba(0,0,0,.1);
--nav-link-hover-bg: #333;
--nav-border-color: rgba(255,255,255,.05);
--dropdown-bg: #232323;
--dropdown-item-hover: #0d0d0d;
--nav-brand-font: 'VCR';
--font: monospace;
--pagination-background: #2b2b2b;
--pagination-box-shadow: inset 0 0 0 1px rgba(255,255,255,.04),inset 0 0px rgba(255,255,255,.04),inset 0 0px rgba(0,0,0,.15),0 0px 0px rgba(0,0,0,.1);
--pagination-anchor-box-shadow: inset 0 0 0 1px rgba(255,255,255,.04),inset 0 1px rgba(255,255,255,.04),inset 0 -1px rgba(0,0,0,.15),0 1px 1px rgba(0,0,0,.1);
--pagination-background-hover: #333;
--pagination-border-color: rgba(0,0,0,.8) rgba(0,0,0,.65) rgba(0,0,0,.5);
--metadata-bg: #0d0d0d;
--badge-bg: #171717;
--posts-meta-bg: #000000b8;
--badge-sfw: #68a728;
--badge-nsfw: #a72828;
--badge-tag: #6c6c6c;
--scrollbar-color: #2b2b2b;
2021-12-18 18:52:18 +00:00
--scroller-bg: #424242;
2021-04-17 08:43:23 +00:00
}
html[theme='p1nk'] {
--accent: #ff00d0;
--bg: #171717;
--black: #000;
--white: #fff;
--gray: #262626;
--nav-bg: #2b2b2b;
--nav-brand-border: inset 1px #242424;
--nav-brand-bg: #171717;
--navigation-links-bg: #2b2b2b;
--navigation-links-background-linear-gradient: rgba(0,0,0,.12),rgba(0,0,0,0);
--navigation-links-border-color: rgba(0,0,0,.8) rgba(0,0,0,.65) rgba(0,0,0,.5);
--navigation-links-box-shadow: rgba(255,255,255,.05);
--nav-link-background-linear-gradient: rgba(255,255,255,.04),rgba(255,255,255,0);
--nav-link-box-shadow: inset 0 0 0 1px rgba(255,255,255,.04),inset 0 1px rgba(255,255,255,.04),inset 0 -1px rgba(0,0,0,.15),0 1px 1px rgba(0,0,0,.1);
--nav-link-hover-bg: #333;
--dropdown-bg: #232323;
2021-04-22 02:12:40 +00:00
--dropdown-item-hover: #0d0d0d;
2021-04-17 08:43:23 +00:00
--nav-brand-font: 'VCR';
--font: monospace;
--pagination-background: #2b2b2b;
--pagination-box-shadow: inset 0 0 0 1px rgba(255,255,255,.04),inset 0 1px rgba(255,255,255,.04),inset 0 -1px rgba(0,0,0,.15),0 1px 1px rgba(0,0,0,.1);;
--pagination-anchor-box-shadow: inset 0 0 0 1px rgba(255,255,255,.04),inset 0 1px rgba(255,255,255,.04),inset 0 -1px rgba(0,0,0,.15),0 1px 1px rgba(0,0,0,.1);
--pagination-background-hover: #333;
--pagination-border-color: rgba(0,0,0,.8) rgba(0,0,0,.65) rgba(0,0,0,.5);
2021-04-17 17:55:25 +00:00
--badge-bg: #171717;
2021-05-15 11:58:24 +00:00
--badge-sfw: #68a728;
--badge-nsfw: #a72828;
--badge-tag: #6c6c6c;
2021-04-17 17:55:25 +00:00
--metadata-bg: #0d0d0d;
2021-04-22 02:12:40 +00:00
--posts-meta-bg: #000000b8;
--scrollbar-color: #2b2b2b;
2021-12-18 18:52:18 +00:00
--scroller-bg: #424242;
2021-04-17 08:43:23 +00:00
}
html[theme='orange'] {
--accent: #ff6f00;
2021-04-17 17:55:25 +00:00
--bg: #171717;
2021-04-17 08:43:23 +00:00
--black: #000;
--white: #fff;
--gray: #262626;
--nav-bg: #2b2b2b;
--nav-brand-border: inset 1px #242424;
2021-04-17 17:55:25 +00:00
--nav-brand-bg: #171717;
2021-04-17 08:43:23 +00:00
--navigation-links-bg: #2b2b2b;
--navigation-links-background-linear-gradient: rgba(0,0,0,.12),rgba(0,0,0,0);
--navigation-links-border-color: rgba(0,0,0,.8) rgba(0,0,0,.65) rgba(0,0,0,.5);
--navigation-links-box-shadow: rgba(255,255,255,.05);
--nav-link-background-linear-gradient: rgba(255,255,255,.04),rgba(255,255,255,0);
--nav-link-box-shadow: inset 0 0 0 1px rgba(255,255,255,.04),inset 0 1px rgba(255,255,255,.04),inset 0 -1px rgba(0,0,0,.15),0 1px 1px rgba(0,0,0,.1);
--nav-link-hover-bg: #333;
--dropdown-bg: #232323;
--dropdown-item-hover: #0d0d0d;
--nav-brand-font: 'VCR';
--font: monospace;
--pagination-background: #2b2b2b;
--pagination-box-shadow: inset 0 0 0 1px rgba(255,255,255,.04),inset 0 1px rgba(255,255,255,.04),inset 0 -1px rgba(0,0,0,.15),0 1px 1px rgba(0,0,0,.1);
--pagination-anchor-box-shadow: inset 0 0 0 1px rgba(255,255,255,.04),inset 0 1px rgba(255,255,255,.04),inset 0 -1px rgba(0,0,0,.15),0 1px 1px rgba(0,0,0,.1);
--pagination-background-hover: #333;
--pagination-border-color: rgba(0,0,0,.8) rgba(0,0,0,.65) rgba(0,0,0,.5);
--metadata-bg: #0d0d0d;
--posts-meta-bg: #000000b8;
2021-04-17 17:55:25 +00:00
--badge-bg: #171717;
2021-04-17 08:43:23 +00:00
--badge-sfw: #68a728;
--badge-nsfw: #a72828;
--badge-tag: #6c6c6c;
--scrollbar-color: #2b2b2b;
2021-12-18 18:52:18 +00:00
--scroller-bg: #424242;
2021-04-17 08:43:23 +00:00
}
html[theme='amoled'] {
--accent: #fff;
--bg: #000;
--black: #000;
--white: #fff;
--gray: #2f2d2d;
--nav-bg: #000;
--nav-brand-border: inset 1px #242424;
--nav-brand-bg: #000;
--navigation-links-bg: #000;
--navigation-links-background-linear-gradient: rgba(0,0,0,.12),rgba(0,0,0,0);
--navigation-links-border-color: rgba(0,0,0,.8) rgba(0,0,0,.65) rgba(0,0,0,.5);
--navigation-links-box-shadow: rgba(255,255,255,.05);
--nav-link-background-linear-gradient: rgba(255,255,255,.04),rgba(255,255,255,0);
--nav-link-box-shadow: inset 0 0 0 1px rgb(92, 92, 92),inset 0 1px rgb(92, 92, 92),inset 0 -1px rgb(92, 92, 92),0 1px 1px rgba(92, 92, 92, 0);
--nav-link-hover-bg: #6a6a6a70;
--nav-border-color: rgba(255,255,255,.05);
--dropdown-bg: #232323;
--dropdown-item-hover: #0d0d0d;
--nav-brand-font: 'VCR';
--font: monospace;
--pagination-background: #000;
--pagination-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0),inset 0 0px rgba(255, 255, 255, 0),inset 0 0px rgba(248, 248, 248, 0),0 0px 0px rgba(255, 255, 255, 0);
--pagination-anchor-box-shadow: inset 0 0 0 1px rgb(92, 92, 92),inset 0 1px rgb(92, 92, 92),inset 0 -1px rgb(92, 92, 92),0 1px 1px rgba(92, 92, 92, 0);
--pagination-background-hover: #6a6a6a70;
--pagination-border-color: rgba(0,0,0,.8) rgba(0,0,0,.65) rgba(0,0,0,.5);
--metadata-bg: #000;
--badge-bg: #000;
--posts-meta-bg: #000000b8;
--badge-sfw: #68a728;
--badge-nsfw: #a72828;
--badge-tag: #6c6c6c;
--scrollbar-color: #1d1c1c;
2021-12-18 18:52:18 +00:00
--scroller-bg: #424242;
2021-04-17 08:43:23 +00:00
}
2021-04-17 17:55:25 +00:00
2021-04-22 02:12:40 +00:00
html[theme="paper"] {
--accent: #000;
--bg: #fff;
--black: #000;
--white: #fff;
--gray: #262626;
--nav-bg: #fff;
--nav-brand-border: inset 1px #242424;
--nav-brand-bg: #fff;
--navigation-links-bg: #fff;
--navigation-links-background-linear-gradient: rgba(0,0,0,.12),rgba(0,0,0,0);
--navigation-links-border-color: rgba(0,0,0,.8) rgba(0,0,0,.65) rgba(0,0,0,.5);
--navigation-links-box-shadow: rgba(255,255,255,.05);
--nav-link-background-linear-gradient: rgba(255,255,255,.04),rgba(255,255,255,0);
--nav-link-box-shadow: inset 0 0 0 1px rgba(255,255,255,.04),inset 0 0px rgba(255,255,255,.04),inset 0 0px rgba(0,0,0,.15),0 0px 0px rgba(0,0,0,.1);
--nav-link-hover-bg: #3939354a;
--nav-border-color: rgba(255,255,255,.05);
--dropdown-bg: #fff;
--dropdown-item-hover: #3939354a;
--nav-brand-font: 'VCR';
--font: monospace;
--pagination-background: #fff;
--pagination-box-shadow: inset 0 0 0 1px rgba(255,255,255,.04),inset 0 0px rgba(255,255,255,.04),inset 0 0px rgba(0,0,0,.15),0 0px 0px rgba(0,0,0,.1);
--pagination-anchor-box-shadow: inset 0 0 0 1px rgba(255,255,255,.04),inset 0 1px rgba(255,255,255,.04),inset 0 -1px rgba(0,0,0,.15),0 1px 1px rgba(0,0,0,.1);
--pagination-background-hover: #3939354a;
--pagination-border-color: rgba(0,0,0,.8) rgba(0,0,0,.65) rgba(0,0,0,.5);
--metadata-bg: #fff;
--badge-bg: #fff;
2021-12-04 10:08:55 +00:00
--posts-meta-bg: #000000db;
2021-04-22 02:12:40 +00:00
--badge-sfw: #68a728;
--badge-nsfw: #a72828;
--badge-tag: #6c6c6c;
--scrollbar-color: #6c6c6c;
2021-12-18 18:52:18 +00:00
--scroller-bg: #424242;
2021-04-22 02:12:40 +00:00
}
2021-12-04 10:08:55 +00:00
html[theme="paper"] body {
color: var(--black);
}
2021-04-22 02:12:40 +00:00
html[theme="paper"] a#next {
color: var(--white) !important;
-webkit-text-stroke: 1px var(--black);
2021-12-04 10:08:55 +00:00
font-size: 40;
2021-04-22 02:12:40 +00:00
}
html[theme="paper"] a#prev {
color: var(--white) !important;
-webkit-text-stroke: 1px var(--black);
2021-12-04 10:08:55 +00:00
font-size: 40;
2021-04-22 02:12:40 +00:00
}
html[theme="paper"] .about {
color: var(--black);
}
html[theme="paper"] .about a:hover {
text-decoration: underline;
}
html[theme="paper"] div#posts > a::after {
color: var(--white);
2021-12-04 10:08:55 +00:00
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
html[theme="paper"] .v0ck_player_controls > input[type="range"][name="volume"]::-webkit-slider-thumb {
background: var(--white);
box-shadow: -100vw 0 0 100vw var(--white);
}
html[theme="paper"] .v0ck_player_controls > input[type="range"][name="volume"]::-moz-range-thumb {
background: var(--white);
box-shadow: -100vw 0 0 100vw var(--white);
}
html[theme="paper"] div#posts > a {
box-shadow: 1px 1px 1px black;
border-radius: 5px;
2021-04-22 02:12:40 +00:00
}
html[theme="paper"] .v0ck_progress_filled {
background: var(--white);
}
html[theme="paper"] .metadata {
color: var(--black);
}
html[theme="paper"] .navbar-brand:hover {
background: var(--black);
color: var(--white) !important;
}
html[theme="paper"] .navbar {
border-bottom: 1px solid var(--black);
}
html[theme="paper"] .embed-responsive-image {
background: var(--white);
}
2021-12-04 10:08:55 +00:00
html[theme="paper"] .v0ck_player_button svg:hover {
fill: var(--black);
stroke: var(--white);
}
2021-04-22 02:12:40 +00:00
html[theme="atmos"] {
--accent: #1fb2b0;
--bg: #161618;
--black: #000;
--white: #fff;
--gray: #262626;
--nav-bg: rgb(32, 32, 32);
--nav-brand-border: inset 1px #242424;
--nav-brand-bg: #171717;
--navigation-links-bg: rgb(32, 32, 32);
--navigation-links-background-linear-gradient: rgba(0,0,0,.12),rgba(0,0,0,0);
--navigation-links-border-color: rgba(0,0,0,.8) rgba(0,0,0,.65) rgba(0,0,0,.5);
--navigation-links-box-shadow: rgba(255,255,255,.05);
--nav-link-background-linear-gradient: rgba(255,255,255,.04),rgba(255,255,255,0);
--nav-link-box-shadow: inset 0 0 0 1px rgba(255,255,255,.04),inset 0 0px rgba(255,255,255,.04),inset 0 0px rgba(0,0,0,.15),0 0px 0px rgba(0,0,0,.1);
--nav-link-hover-bg: #333;
--nav-border-color: rgba(255,255,255,.05);
--dropdown-bg: #232323;
--dropdown-item-hover: #0d0d0d;
--nav-brand-font: 'VCR';
--font: monospace;
--pagination-background: rgb(32, 32, 32);
--pagination-box-shadow: inset 0 0 0 1px rgba(255,255,255,.04),inset 0 0px rgba(255,255,255,.04),inset 0 0px rgba(0,0,0,.15),0 0px 0px rgba(0,0,0,.1);
--pagination-anchor-box-shadow: inset 0 0 0 1px rgba(255,255,255,.04),inset 0 1px rgba(255,255,255,.04),inset 0 -1px rgba(0,0,0,.15),0 1px 1px rgba(0,0,0,.1);
--pagination-background-hover: #333;
--pagination-border-color: rgba(0,0,0,.8) rgba(0,0,0,.65) rgba(0,0,0,.5);
--metadata-bg: rgba(34, 34, 34, 0.8);
--badge-bg: #1f1f20;
--posts-meta-bg: #000000b8;
--badge-sfw: #68a728;
--badge-nsfw: #a72828;
--badge-tag: #6c6c6c;
--scrollbar-color: #2b2b2b;
}
2021-04-17 08:43:23 +00:00
::-webkit-scrollbar {
width: 5px;
}
::-webkit-scrollbar-thumb {
background-color: var(--scrollbar-color);
}
::-webkit-scrollbar-track {
background-color: transparent;
}
*, ::before, ::after {
2021-04-22 02:12:40 +00:00
box-sizing: border-box;
outline: 0;
-webkit-tap-highlight-color: transparent;
2021-04-17 08:43:23 +00:00
}
@font-face {
font-family: 'VCR';
src: url('/s/vcr.ttf') format('truetype');
}
html {
height: 100%;
2021-04-22 02:12:40 +00:00
overflow: overlay;
2021-04-17 08:43:23 +00:00
}
html, body {
background-color: var(--bg);
color: var(--white);
margin: 0;
font-family: var(--font);
text-align: center;
line-height: 2;
scrollbar-color: var(--scrollbar-color) transparent;
scrollbar-width: thin;
overscroll-behavior-y: contain;
}
.noscript-badge {
display: block;
}
a {
color: var(--accent) !important;
cursor: pointer;
text-decoration: none;
}
a.post_source:hover, a.id-link:hover {
text-decoration: underline;
}
a.btn.disabled {
pointer-events: none;
user-select: none;
}
.btn.disabled, .btn:disabled {
opacity: 0.65;
user-select: none;
}
h5 {
margin: 0;
font-size: x-large;
}
.mr-2 {
margin-right: 0.5rem !important;
}
2021-04-22 02:12:40 +00:00
div#posts {
2021-04-17 08:43:23 +00:00
display: grid;
2021-12-18 18:52:18 +00:00
grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
2021-04-22 02:12:40 +00:00
justify-items: center;
grid-gap: 5px;
margin: 0;
2021-04-17 08:43:23 +00:00
padding: 0;
margin-top: 15px;
2021-12-04 10:08:55 +00:00
margin-bottom: 35px;
2021-04-17 08:43:23 +00:00
}
2021-04-22 02:12:40 +00:00
@media (max-width: 376px) {
div#posts {
grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
}
2021-04-17 08:43:23 +00:00
}
2021-04-22 02:12:40 +00:00
div#posts > a {
display: inline-block;
position: relative;
width: 100%;
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
div#posts > a::before {
content: "";
display: block;
margin-top: 100%;
}
div#posts > a:hover {
2021-04-17 08:43:23 +00:00
opacity: 0.8;
box-shadow: 0 0 0 2px var(--accent);
}
2021-04-22 02:12:40 +00:00
div#posts > a::after {
2021-04-17 08:43:23 +00:00
position: absolute;
right: 0;
top: 0;
2021-04-22 02:12:40 +00:00
content: attr(data-mime);
2021-04-17 08:43:23 +00:00
color: var(--accent);
text-shadow: 0px 1px var(--black);
font-size: 11px;
background: var(--posts-meta-bg);
visibility: hidden;
width: 100%;
text-align: center;
font-family: vcr;
text-transform: uppercase;
}
2021-04-22 02:12:40 +00:00
div#posts > a:hover::after {
2021-04-17 08:43:23 +00:00
visibility: visible;
}
/* Navbar */
.nav {
background: var(--bg);
text-align: left;
}
.navbar {
position: sticky;
top: 0;
padding: 0;
z-index: 3;
font-family: var(--font);
text-transform: uppercase;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
border-bottom: 1px solid var(--nav-border-color);
2021-12-18 18:52:18 +00:00
transition: .5s ease-in-out;
2021-04-17 08:43:23 +00:00
}
.navbar-brand {
background: var(--nav-brand-bg);
padding-right: 5px;
padding-left: 5px;
}
.navbar-brand:hover {
text-decoration: none;
transition: ease all .2s;
background: var(--black);
}
span.f0ck {
font-family: var(--nav-brand-font);
font-size: 20;
text-shadow: 1px 1px 1px var(--black), 0px 0px 0px var(--green), -1px -1px 0px var(--black), 1px -1px 0px var(--black), -1px 1px 0px var(--black), 0px 0px 0px var(--green);
}
.navbar.navbar-expand-lg {
background: var(--nav-bg);
}
.navbar-expand-lg .navbar-collapse {
display: flex;
flex-basis: auto;
}
.navbar-collapse {
flex-grow: 1;
}
#navbarSupportedContent {
padding: 0;
}
.nav-link-identifier {
width: 100%;
}
.navbar-expand-lg .navbar-nav {
flex-direction: row;
}
.navbar-nav {
width: 100%;
display: flex;
flex-direction: column;
2021-04-22 02:12:40 +00:00
padding: 5px 0 5px 0;
2021-04-17 08:43:23 +00:00
margin-bottom: 0;
list-style: none;
margin: 0;
align-self: center;
}
.navigation-links {
display: flex;
border: 1px solid var(--navigation-links-border-color);
background: var(--navigation-links-bg);
}
.nav-item {
width: 100%;
text-align: center;
}
.nav-link {
padding: 0;
padding-right: 0;
padding-left: 0;
display: flex;
2021-04-22 02:12:40 +00:00
justify-content: center;
2021-04-17 08:43:23 +00:00
min-width: 17px;
border: 1px solid var(--black);
border-radius: 3px;
background-image: linear-gradient(to bottom,var(--nav-link-background-linear-gradient));
box-shadow: var(--nav-link-box-shadow);
color: transparent;
}
.navbar-expand-lg .navbar-nav .nav-link, .pagination > a, .pagination > span {
padding-right: .5rem;
padding-left: .5rem;
margin-right: 5px;
margin-left: 5px;
}
.nav-item:hover > a:hover, .dropdown-item:hover > a:hover {
background-color: var(--nav-link-hover-bg);
}
2021-12-04 10:08:55 +00:00
.nav-link[data-toggle="dropdown"].ddcontent::after {
2021-04-22 02:12:40 +00:00
content: "\00a0(" attr(content) ")\00a0\25bc";
}
2021-12-04 10:08:55 +00:00
.nav-link[data-toggle="dropdown"]:not(.ddcontent)::after {
content: "\00a0\25bc";
}
2021-04-22 02:12:40 +00:00
@media (max-width: 768px) {
.nav-link[data-toggle="dropdown"]::after {
2021-12-18 18:52:18 +00:00
content: "" !important;
2021-04-22 02:12:40 +00:00
}
}
2021-04-17 08:43:23 +00:00
span.placeholder {
border-left: 1px solid var(--accent);
margin-left: 7px;
}
.navbar .nav-item .dropdown-menu {
display: none;
}
.dropup, .dropright, .dropdown, .dropleft {
position: relative;
}
.navbar .nav-item:hover .dropdown-menu {
display: block;
}
.navbar-nav .dropdown-menu {
float: none;
}
.dropdown-menu {
background: var(--dropdown-bg);
position: absolute;
top: 100%;
left: 5;
z-index: 1000;
min-width: calc(100% - 10px);
padding: 0;
margin: 0;
font-size: 1rem;
text-align: center;
list-style: none;
border-left: 1px solid;
border-right: 1px solid;
border-bottom: 1px solid;
border-color: var(--black);
}
.dropdown-item {
width: 100%;
display: block;
}
.dropdown-menu > li:hover {
background: var(--dropdown-item-hover);
}
2021-04-22 02:12:40 +00:00
.dropdown-menu a {
width: 100%;
display: inline-block;
}
2021-04-17 08:43:23 +00:00
/* Navbar media queries */
@media (max-width: 1056px) {
.navbar {
width: 100%;
display: grid;
justify-content: normal;
}
.pagination-wrapper {
width: 100%;
justify-content: space-evenly;
}
.pagination > a, .pagination > span {
font-size: 10px !important;
margin-right: 0px;
padding: 5px !important;
line-height: 1;
margin: 0;
}
}
.media-object {
text-align: center;
align-self: center;
overflow: hidden;
}
/* Pagination */
.pagination-wrapper {
align-items: center;
display: flex;
background: var(--pagination-background);
border: 1px solid var(--pagination-border-color);
}
.pagination-container-fluid {
display: flex;
margin-left: 0;
width: 100%;
justify-content: flex-end;
}
.pagination {
display: flex;
justify-content: space-around;
width: 100%;
padding: 5px;
color: transparent;
}
.pagination > a, .pagination > span {
float: left;
padding: 0 10px;
min-width: 17px;
font-size: 12px;
font-weight: 500;
color: var(--accent);
text-align: center;
border: 1px solid var(--black);
border-radius: 3px;
}
.pagination > span {
border: 1px solid var(--accent) !important;
}
.pagination :first-child {
margin-left: 0;
}
.pagination > a {
text-decoration: none;
text-shadow: 0 1px var(--black);
border-color: var(--black);
background-clip: padding-box;
box-shadow: var(--pagination-anchor-box-shadow);
background-image: linear-gradient(to bottom,var(--nav-link-background-linear-gradient));
}
.pagination>a:hover {
background-color: var(--pagination-background-hover);
}
.pagination>a:active,.pagination>span {
color: var(--accent);
text-shadow: 0 -1px var(--black);
box-shadow: var(--pagination-anchor-box-shadow);
}
/* Content */
@media (max-width: 999px) {
.container {
max-width: 960px;
}
.dropdown-menu {
position: relative;
top: 0;
left: 0;
margin-right: 5px;
margin-left: 5px;
}
}
.content {
display: grid;
justify-content: space-around;
grid-template-columns: 0fr 1fr 0fr;
position: relative;
}
.container {
width: 100%;
margin-right: auto;
margin-left: auto;
}
.index-container {
width: 100%;
padding-right: 15;
padding-left: 15;
margin-left: auto;
margin-right: auto;
}
@media (min-width: 361px) {
.embed-responsive-image {
bottom: unset !important;
}
}
@media (min-width: 768px) {
.container {
max-width: 720px;
}
.embed-responsive-image {
bottom: unset !important;
}
2021-04-22 02:12:40 +00:00
2021-04-17 08:43:23 +00:00
}
@media (min-width: 992px) {
.container {
max-width: 960px;
}
.embed-responsive-image {
bottom: unset !important;
}
}
@media (min-width: 1200px) {
.container {
max-width: 1140px;
}
.embed-responsive-image {
bottom: unset !important;
}
}
@media (min-width: 576px) {
.container {
max-width: 100%;
}
}
@media (min-width: 768px) {
.container {
max-width: 100%;
}
}
@media (min-width: 992px) {
.container {
max-width: 960px;
}
}
@media (min-width: 1200px) {
.container {
max-width: 1140px;
}
}
.embed-responsive-16by9::before {
padding-top: 56.25%;
}
.embed-responsive::before {
display: block;
content: "";
}
.embed-responsive .embed-responsive-item, .embed-responsive video {
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
}
.embed-responsive-image {
position: absolute;
top: 0;
left: 0;
right: 0;
width: 100%;
height: 100%;
box-sizing: content-box;
scrollbar-color: var(--scrollbar-color) transparent;
scrollbar-width: thin;
background: var(--black);
}
.previous-post, .next-post {
display: flex;
height: 100%;
position: relative;
}
#prev {
z-index: 1;
font-size: 30;
opacity: 0.6;
text-shadow: 2px 2px 2px var(--black);
padding: 25px;
}
#prev::before {
2021-05-15 11:58:24 +00:00
content: "\00BB";
2021-04-17 08:43:23 +00:00
}
#next::before {
2021-05-15 11:58:24 +00:00
content: "\00AB";
2021-04-17 08:43:23 +00:00
}
#next {
z-index: 1;
font-size: 30;
opacity: 0.6;
text-shadow: 2px 2px 2px var(--black);
padding: 25px;
}
#next:hover, #prev:hover {
opacity: 1;
}
.arrow-next {
height: 100%;
display: flex;
width: 100%;
align-items: center;
justify-content: start;
position: absolute;
}
.arrow-prev {
height: 100%;
display: flex;
width: 100%;
align-items: center;
justify-content: flex-end;
position: absolute;
}
/* image */
#f0ck-image {
height: 100%;
width: 100%;
max-width: 100%;
object-fit: contain;
}
a#elfe {
height: 100%;
width: 100%;
display: flex;
justify-content: center;
}
/* metadata */
.badge:empty {
display: none;
}
.metadata {
text-align: center;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
background-color: var(--metadata-bg);
}
#themeselector {
color: var(--white);
border: 0;
margin: 0;
padding: 0;
font-family: var(--font);
background-color: var(--metadata-bg);
text-align: center;
}
.badge-dark, #themeselector {
background-color: var(--badge-bg);
border: 1px solid var(--black);
margin: 5px;
}
span#tags {
grid-column: 1/4;
}
2021-12-04 10:08:55 +00:00
span#tags:empty {
display: none;
}
2021-04-17 08:43:23 +00:00
.badge-success {
color: var(--white);
background-color: var(--badge-sfw);
padding-right: 5px;
padding-left: 5px;
padding-top: 1.5px;
padding-bottom: 1.5px;
border-radius: 3px;
text-shadow: 1px 1px var(--black);
}
.badge-danger {
color: var(--white);
background-color: var(--badge-nsfw);
padding-right: 5px;
padding-left: 5px;
padding-top: 1.5px;
padding-bottom: 1.5px;
border-radius: 3px;
text-shadow: 1px 1px var(--black);
}
.badge-light {
color: var(--white);
background-color: var(--badge-tag);
border-radius: 3px;
text-shadow: 1px 1px var(--black);
padding-right: 5px;
padding-left: 5px;
padding-top: 1.5px;
padding-bottom: 1.5px;
}
2021-05-25 12:42:28 +00:00
.badge-greentext {
color: #789922;
text-shadow: inherit !important;
background-color: #252525;
}
2021-04-17 08:43:23 +00:00
2021-04-22 02:12:40 +00:00
.about {
2021-04-17 08:43:23 +00:00
padding: 10px;
color: white;
word-break: break-word;
background: var(--navigation-links-bg);
text-align: left;
}
@media (max-width: 999px) {
.index-container {
padding-left: 5px;
padding-right: 5px;
}
}
.pbwork {
animation: pulsate 1s infinite linear;
box-shadow: 0px 2px var(--accent);
}
@keyframes pulsate {
0% { box-shadow: 0px 2px var(--white); }
40% { box-shadow: 0px 2px var(--accent); }
60% { box-shadow: 0px 2px var(--accent); }
100% { box-shadow: 0px 2px var(--white); }
}
@media(max-height: 768px) {
.embed-responsive-16by9::before {
padding-top: 56.25%;
}
}
@media(max-height: 755px) {
.embed-responsive-16by9::before {
padding-top: 46.25%;
}
}
@media(max-height: 640px) {
.embed-responsive-16by9::before {
padding-top: 36.25%;
}
}
@media(max-height: 525px) {
.embed-responsive-16by9::before {
padding-top: 26.25%;
}
}
@media(max-height: 414px) {
.embed-responsive-16by9::before {
padding-top: 16.25%;
}
}
@media(max-height: 300px) {
.embed-responsive-16by9::before {
padding-top: 14.5%;
}
}
@media(max-width: 580px) {
.embed-responsive-16by9::before {
padding-top: 100%;
}
}
@media(max-width: 555px) {
.metadata {
grid-template-columns: 1fr 1fr;
}
span#tags {
grid-column: 1/3;
}
a#prev:focus, a#next:focus {
background: var(--nav-bg);
border-radius: 350px;
opacity: 0.6;
transition: .2s ease-in-out;
}
}
.post_source {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 20ch;
display: inline-block;
}
audio::-webkit-media-controls{
filter: invert(100%) contrast(2) opacity(95%) hue-rotate(180deg);
}
audio::-webkit-media-controls-timeline {
filter: contrast(0);
2021-04-22 02:12:40 +00:00
}
div.about > div {
float: right;
max-width: 500px;
margin-left: 5px;
}
div.about > div img {
max-width: 99%;
height: auto;
}
div.about > div p {
font-size: 7pt;
margin-top: 0;
2021-05-16 13:40:57 +00:00
}
a.id-link:hover:after {
content: "";
background-image: var(--hover-image);
border: 1px solid var(--accent);
height: 128px;
width: 128px;
display: inline-block;
position: absolute;
margin-left: 5px;
}
2021-05-19 12:18:22 +00:00
/* loginform */
body[type='login'] {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.login-form {
display: flex;
flex-direction: column;
align-items: center;
padding: 20px 20px;
background: rgba(0, 0, 0, 0.8);
border-radius: 10px;
border: 1px solid var(--accent);
}
.login-form button[type="submit"] {
width: 100%;
margin: 18px 0 9px 0;
background: var(--bg);
border: 1px solid var(--black);
color: var(--white);
opacity: 0.6;
padding: 8px 20px;
border-radius: 0;
overflow: hidden;
}
.login-form button[type="submit"]:hover {
cursor: pointer;
opacity: 1;
}
.login-form input {
background: var(--bg);
border: 1px solid var(--black);
padding: 5px;
color: #fff;
margin: 6px 0;
}
/* visualizer */
canvas {
position: absolute;
2021-05-25 12:42:28 +00:00
top: 1px; /* This removes the ugly 1px line seen at the bottom when you hover over the audio element */
2021-05-19 12:18:22 +00:00
left: 0;
bottom: 0;
right: 0;
height: 100%;
width: 100%;
pointer-events: none;
}
2021-05-25 12:42:28 +00:00
/* tags */
span#tags {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
line-height: 1.4;
}
span#tags > span {
display: inline-block;
margin-top: 2.5px;
margin-bottom: 2.5px;
}
span#tags > span > input {
padding: 0;
margin: 0;
border: none;
color: #fff;
background-color: var(--badge-tag);
}
/* toasts */
div#flash {
position: fixed;
bottom: -28px;
z-index: 999;
left: 0;
width: 100%;
text-align: center;
font-weight: bold;
}
div#flash.error {
background-color: #fddfdf;
border-bottom: 2px solid #f1a899;
color: #5f3f3f;
}
div#flash.success {
background-color: #4caf50;
border-bottom: 2px solid #006018;
color: #001c07;
}
div#flash.warn {
background-color: #fffa90;
border-bottom: 2px solid #dad55e;
color: #777620;
}
2021-12-04 10:08:55 +00:00
/* sfw/nsfw indexpage */
div#posts > a > p {
height: 100%;
width: 100%;
2021-12-09 16:00:59 +00:00
/* possible fix for weird padding */
position: absolute;
bottom: calc(0px - 12px);
2021-12-04 10:08:55 +00:00
}
div#posts > a > p:before {
content: "";
position: absolute;
right: 0;
bottom: 0;
height: 10px;
width: 10px;
}
div#posts > a[data-mode="sfw"] > p:before {
background-color: #5cb85c;
}
div#posts > a[data-mode="nsfw"] > p:before {
background-color: #a72828;
}
div#posts > a[data-mode="null"] > p:before {
background-color: #dcd512;
}
2021-12-18 18:52:18 +00:00
div#footbar {
width: 100%;
background-color: var(--nav-bg);
color: #f00;
margin-top: -30px;
transition: .5s ease-in-out;
user-select: none;
2021-12-23 05:06:12 +00:00
}
/* avatar */
img.avatar {
height: 24px;
width: 24px;
border-radius: 25px;
margin-top: 1px;
}
2021-12-23 10:05:36 +00:00
/* log */
div.logwrap {
height: auto;
text-align: left;
}
div.logwrap > p {
line-height: 0;
}
2021-12-24 10:16:00 +00:00
/* ranking */
table.table {
border-collapse: collapse;
margin: 25px 0;
min-width: 400px;
}
table.table thead tr {
text-align: left;
font-weight: bolder;
border-bottom: 1px solid var(--accent);
}
table.table th, table.table td {
padding: 7px 15px;
}
table.table tbody tr:nth-of-type(even) {
background-color: #232323;
}