f0ckv2/public/s/css/f0ck.css
2022-03-24 20:29:36 +01:00

1571 lines
35 KiB
CSS

/* 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 */
html[theme='f0ck'] {
--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: #2b2b2b;
--badge-bg: #171717;
--posts-meta-bg: #000000b8;
--badge-sfw: #68a728;
--badge-nsfw: #a72828;
--badge-tag: #090909;
--scrollbar-color: #2b2b2b;
--scroller-bg: #424242;
}
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;
--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);
--badge-bg: #171717;
--badge-sfw: #68a728;
--badge-nsfw: #a72828;
--badge-tag: #090909;
--metadata-bg: #2b2b2b;
--posts-meta-bg: #000000b8;
--scrollbar-color: #2b2b2b;
--scroller-bg: #424242;
}
html[theme='orange'] {
--accent: #ff6f00;
--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;
--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: #2b2b2b;
--badge-bg: #151515;
--posts-meta-bg: #000000b8;
--badge-tag: #090909;
--badge-sfw: #68a728;
--badge-nsfw: #a72828;
--scrollbar-color: #2b2b2b;
--scroller-bg: #424242;
}
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: #1a1a1a;
--scrollbar-color: #1d1c1c;
--scroller-bg: #424242;
}
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;
--posts-meta-bg: #000000db;
--badge-sfw: #68a728;
--badge-nsfw: #a72828;
--badge-tag: #9f9a9a;
--scrollbar-color: #6c6c6c;
--scroller-bg: #424242;
}
html[theme="paper"] body {
color: var(--black);
}
html[theme="paper"] a#next {
color: var(--white) !important;
-webkit-text-stroke: 1px var(--black);
font-size: 40px;
}
html[theme="paper"] a#prev {
color: var(--white) !important;
-webkit-text-stroke: 1px var(--black);
font-size: 40px;
}
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);
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;
}
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);
}
html[theme="paper"] .v0ck_player_button svg:hover {
fill: var(--black);
stroke: var(--white);
}
html[theme="paper"] .badge-dark, #themeselector {
border: 1px solid var(--white);
}
html[theme="paper"] span#favs {
border: 1px solid var(--white);
}
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: #131313;
--posts-meta-bg: #000000b8;
--badge-sfw: #68a728;
--badge-nsfw: #a72828;
--badge-tag: #090909;
--scrollbar-color: #2b2b2b;
}
html[theme="term"] {
--accent: #00DF00;
--bg: #000;
--black: #000;
--white: #fff;
--gray: #262626;
--nav-bg: #040404;
--nav-brand-border: inset 1px #111111;
--nav-brand-bg: #040404;
--navigation-links-bg: #040404;
--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: #282828;
--nav-border-color: rgba(255,255,255,.05);
--dropdown-bg: #040404;
--dropdown-item-hover: #282828;
--nav-brand-font: 'VCR';
--font: monospace;
--pagination-background: #040404;
--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: #282828;
--pagination-border-color: rgba(0,0,0,.8) rgba(0,0,0,.65) rgba(0,0,0,.5);
--metadata-bg: #000;
--badge-bg: #060606;
--posts-meta-bg: #000000b8;
--badge-sfw: #076a19;
--badge-nsfw: #a72828;
--badge-tag: #131212;
--scrollbar-color: #2b2b2b;
--scroller-bg: #424242;
--tooltip-bg: #131212;
}
html[theme="term"] .metadata {
text-shadow: 0px 0px 1px var(--accent), 1px 0px 2px var(--accent), 0px 0px 5px var(--black);
}
html[theme="term"] .metadata > .badge-dark, #themeselector {
box-shadow: var(--pagination-anchor-box-shadow);
background-image: linear-gradient(to bottom,var(--nav-link-background-linear-gradient));
}
html[theme="term"] .navbar-brand:hover {
background: #0a2008;
}
html[theme="iced"] {
--accent: #0084ff;
--bg: #031c35;
--black: #000;
--white: #fff;
--gray: #bd2828;
--nav-bg: #111d37;
--nav-brand-border: inset 1px #242424;
--nav-brand-bg: #000;
--navigation-links-bg: #111d37;
--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: #0a3f53;
--nav-border-color: rgba(255,255,255,.05);
--dropdown-bg: #111d37;
--dropdown-item-hover: #0a3f53;
--nav-brand-font: 'VCR';
--font: monospace;
--pagination-background: #111d37;
--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: #0a3f53;
--pagination-border-color: rgba(0,0,0,.8) rgba(0,0,0,.65) rgba(0,0,0,.5);
--metadata-bg: #000e1a;
--badge-bg: #091f39;
--posts-meta-bg: #000000b8;
--badge-sfw: #07866e;
--badge-nsfw: #ae1616;
--badge-tag: #22083c;
--scrollbar-color: #2b2b2b;
--scroller-bg: #424242;
--tooltip-bg: #0a3f53;
}
html[theme="iced"] .navbar-brand:hover {
background: #1d2941;
}
::-webkit-scrollbar {
width: 5px;
}
::-webkit-scrollbar-thumb {
background-color: var(--scrollbar-color);
}
::-webkit-scrollbar-track {
background-color: transparent;
}
*, ::before, ::after {
box-sizing: border-box;
outline: 0;
-webkit-tap-highlight-color: transparent;
}
@font-face {
font-family: 'VCR';
src: url('/s/vcr.ttf') format('truetype');
/* https://www.dafont.com/vcr-osd-mono.font */
}
html {
height: 100%;
overflow: overlay;
}
html, body {
background-color: var(--bg);
color: var(--white);
margin: 0;
font-family: var(--font);
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;
}
div#posts {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
justify-items: center;
grid-gap: 5px;
margin: 0;
padding: 0;
/* margin-top: 15px; */
margin-bottom: 35px;
}
@media (max-width: 376px) {
div#posts {
grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
}
}
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 {
opacity: 0.8;
box-shadow: 0 0 0 2px var(--accent);
}
div#posts > a::after {
position: absolute;
right: 0;
top: 0;
content: attr(data-mime);
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;
}
div#posts > a:hover::after {
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; */
justify-content: start;
border-bottom: 1px solid var(--nav-border-color);
}
.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: 20px;
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;
padding: 5px 0 5px 0;
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: auto;
white-space: nowrap;
text-align: center;
}
.nav-link {
padding: 0;
padding-right: 0;
padding-left: 0;
display: flex;
justify-content: center;
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);
}
.nav-link[data-toggle="dropdown"].ddcontent::after {
content: "\00a0(" attr(content) ")\00a0\25bc";
}
.nav-link[data-toggle="dropdown"]:not(.ddcontent)::after {
content: "\00a0\25bc";
}
@media (max-width: 768px) {
.nav-link[data-toggle="dropdown"]::after {
content: "" !important;
}
}
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;
}
.dropdown:hover .nav-link {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
transition: .2s ease;
background-color: var(--nav-link-hover-bg);
}
.dropdown:hover .nav-link > img.avatar {
border-bottom-left-radius: 0;
}
.navbar-nav .dropdown-menu {
float: none;
}
.dropdown-menu {
background: var(--dropdown-bg);
position: absolute;
top: 100%;
left: 5px;
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);
}
.dropdown-menu a {
width: 100%;
display: inline-block;
}
/* Navbar media queries */
/* @media(max-width: 360px) {
.navbar {
justify-content: space-between;
}
} */
@media (max-width: 1056px) {
.navbar {
width: 100%;
display: flex;
justify-content: center;
}
.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;
}
html, body {
text-align: center;
}
}
.media-object {
text-align: center;
align-self: center;
overflow: hidden;
/* new idea */
/* padding: 5px;
border-top: 2px solid var(--bg);
background: var(--metadata-bg); */
}
/* 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);
box-shadow: inset 0px -2px 0px var(--accent);
}
/* Content */
@media (max-width: 999px) {
.container {
max-width: 960px;
}
.dropdown-menu {
position: absolute;
/*top: ;*/
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: 5px;
background-color: var(--navigation-links-bg);
}
@media (min-width: 361px) {
.embed-responsive-image {
bottom: unset !important;
}
}
@media (min-width: 768px) {
.container {
max-width: 720px;
}
.embed-responsive-image {
bottom: unset !important;
}
}
@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: 30px;
opacity: 0.6;
text-shadow: 2px 2px 2px var(--black);
padding: 25px;
}
#prev::before {
content: "\00BB";
}
#next::before {
content: "\00AB";
}
#next {
z-index: 1;
font-size: 30px;
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);
padding-bottom: 5px;
}
#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;
}
span#tags:empty {
display: none;
}
.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;
/* box-shadow: var(--pagination-anchor-box-shadow); */
/* fix box shadow blah */
}
.badge-greentext {
color: #789922;
text-shadow: inherit !important;
background-color: #252525;
}
.badge-german {
background: linear-gradient(180deg, black 33.33%, red 33.33%, red 66.66%, yellow 66.66%) !important;
}
.badge-dutch {
background: linear-gradient(180deg, #ad1c23 33.33%, white 33.33%, white 66.66%, #26468f 66.66%) !important;
color: #000 !important;
}
.badge-ukraine {
background: linear-gradient(180deg, #005bbc 50%, #ffd600 50%) !important;
}
.badge-russia {
background: linear-gradient(180deg, white 33.33%, blue 33.33%, blue 66.66%, red 66.66%) !important;
}
.about {
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;
}
span#favs {
grid-column: 1/3!important;
}
}
.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);
}
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;
}
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;
z-index: 999;
margin-left: 5px;
}
/* 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;
top: 1px; /* This removes the ugly 1px line seen at the bottom when you hover over the audio element */
left: 0;
bottom: 0;
right: 0;
height: 100%;
width: 100%;
pointer-events: none;
}
/* 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;
}
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;
}
/* sfw/nsfw indexpage */
div#posts > a > p {
height: 100%;
width: 100%;
/* possible fix for weird padding */
position: absolute;
bottom: calc(0px - 12px);
}
div#posts > a > p:before {
content: "";
position: absolute;
right: 0;
bottom: -1px;
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; /* untagged */
}
div#footbar {
width: 100%;
text-align: center;
margin-top: -30px;
transition: .2s ease-in-out;
user-select: none;
color: transparent;
}
/* avatar */
img.avatar {
height: auto;
position: relative;
width: 24px;
margin: 0;
left: -6px;
top: 0px;
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
}
/* log */
div.logwrap {
height: auto;
text-align: left;
}
div.logwrap > p {
line-height: 0;
}
/* 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 tr {
line-height: 12px;
}
table.table th, table.table td {
padding: 7px 15px;
}
table.table tbody tr:nth-of-type(odd) {
background-color: var(--badge-tag);
}
/* tags */
#tags .badge > a:first-child {
color: inherit !important;
}
/* tooltips */
[tooltip] {
position: relative;
}
[tooltip]::before,
[tooltip]::after {
text-transform: none;
font-size: .9em;
line-height: 1;
user-select: none;
pointer-events: none;
position: absolute;
display: none;
opacity: 0;
}
[tooltip]::before {
content: '';
border: 5px solid transparent;
z-index: 1001;
}
[tooltip]::after {
content: attr(tooltip);
font-family: Helvetica, sans-serif;
text-align: center;
min-width: 3em;
max-width: 70em;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
padding: 1ch 1.5ch;
border-radius: .3ch;
box-shadow: 0 1em 2em -.5em rgba(0, 0, 0, 0.35);
background: var(--tooltip-bg,#333);
color: #fff;
z-index: 1000;
}
[tooltip]:hover::before,
[tooltip]:hover::after {
display: block;
}
[tooltip='']::before,
[tooltip='']::after {
display: none !important;
}
[tooltip]:not([flow])::before,
[tooltip][flow^="up"]::before {
bottom: 100%;
border-bottom-width: 0;
border-top-color: var(--tooltip-bg,#333);
}
[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::after {
bottom: calc(100% + 5px);
}
[tooltip]:not([flow])::before,
[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::before,
[tooltip][flow^="up"]::after {
left: 50%;
transform: translate(-50%, -.5em);
}
[tooltip][flow^="down"]::before {
top: 100%;
border-top-width: 0;
border-bottom-color: var(--tooltip-bg,#333);
}
[tooltip][flow^="down"]::after {
top: calc(100% + 5px);
}
[tooltip][flow^="down"]::before,
[tooltip][flow^="down"]::after {
left: 50%;
transform: translate(-50%, .5em);
}
[tooltip][flow^="left"]::before {
top: 50%;
border-right-width: 0;
border-left-color: var(--tooltip-bg,#333);
left: calc(0em - 5px);
transform: translate(-.5em, -50%);
}
[tooltip][flow^="left"]::after {
top: 50%;
right: calc(100% + 5px);
transform: translate(-.5em, -50%);
}
[tooltip][flow^="right"]::before {
top: 50%;
border-left-width: 0;
border-right-color: var(--tooltip-bg,#333);
right: calc(0em - 5px);
transform: translate(.5em, -50%);
}
[tooltip][flow^="right"]::after {
top: 50%;
left: calc(100% + 5px);
transform: translate(.5em, -50%);
}
[tooltip]:not([flow]):hover::before,
[tooltip]:not([flow]):hover::after,
[tooltip][flow^="up"]:hover::before,
[tooltip][flow^="up"]:hover::after,
[tooltip][flow^="down"]:hover::before,
[tooltip][flow^="down"]:hover::after {
opacity: 1;
transform: translate(-50%, 0);
}
[tooltip][flow^="left"]:hover::before,
[tooltip][flow^="left"]:hover::after,
[tooltip][flow^="right"]:hover::before,
[tooltip][flow^="right"]:hover::after {
opacity: 1;
transform: translate(0, -50%);
}
.timeago:hover {
cursor: pointer; /* absoluter shit */
}
/* buttons */
svg.iconset {
display: inline-block;
height: 14px;
width: 14px;
vertical-align: sub;
cursor: pointer;
}
/* favorites */
span#favs {
text-align: left;
margin-left: 0;
grid-column: 1/4;
padding: 5px;
margin: 5px;
line-height: 0;
background: var(--badge-bg);
border: 1px solid var(--black);
}
#favs > a img {
border: 2px solid var(--accent);
}
/* audio thumbnails */
a[data-mime^="audio"] {
background-color: var(--accent);
}
/* err page */
.err {
display: grid;
grid-template-rows: auto 1fr;
grid-template-columns: 1fr auto;
margin: 50px;
box-shadow: 5px 5px 5px black;
border-radius: .45rem;
background: #bb880b;
}
.err span {
font-weight: bold;
text-align: left;
align-self: center;
margin: 35px;
text-shadow: 1px 1px black;
font-size: 15px;
}
.err img {
margin: 10px;
align-self: center;
}