/*
Calamity Theme
[2021 Wikidot Theme]
Created by Oboebandgeek99
Based on Swirling Ashes Theme created by Croquembouche.
The UnHuman logo was created by Oboebandgeek99 based on an image in the Public Domain. Licensed under CC-BY-SA 3.0.
*/
@import url('https://fonts.googleapis.com/css?family=Cabin+Sketch|Ubuntu|Space+Mono|Baumans&display=swap');
/* BHL Vars */
:root {
--theme-base: "black-highlighter";
--theme-id: "calamity";
--theme-name: "Calamity Theme";
/* Header */
--logo-image: none;
--header-title: "UnHuman";
--header-subtitle: "Life After The End";
/* Typefaces */
--body-font: "Ubuntu", sans-serif;
--header-font: "Cabin Sketch", sans-serif;
--title-font: "Baumans", sans-serif;
--mono-font: "Space Mono", "Andale Mono", "Courier New", Courier, monospace;
/* Standard Colors */
--black-monochrome: var(--sky-at-night);
--dark-gray-monochrome: var(--sky-at-evening);
--pale-accent: 150, 150, 254;
/* lavender, for visited links */
--bright-accent: 51, 201, 208;
/* bright turquoise */
--medium-accent: 23, 152, 158;
/* darker turquoise */
--dark-accent: 90, 90, 152;
/* darker purple */
--alt-accent: var(--sky-at-dawn);
/* pinkish red, for newpage links */
/* Sky */
--sky-at-dawn: 221, 93, 112;
--sky-at-morning: 131, 192, 233;
--sky-at-daytime: 104, 153, 186;
--sky-at-evening: 87, 98, 106;
--sky-at-dusk: 99, 100, 90;
--sky-at-night: 21, 25, 43;
--sky-length: 15;
--sky-time: 65s;
/* Delete the default header background */
--gradient-header: linear-gradient(transparent, transparent);
--diagonal-stripes: linear-gradient(transparent, transparent);
/* Background Colors */
--background-gradient-color: var(--sky-at-daytime);
/* Primary Theme Colors */
--swatch-primary: var(--medium-accent);
--swatch-primary-darker: var(--pale-accent);
/* Primary Menu Colors */
--swatch-menubg-medium-dark-color: var(--medium-accent);
/* Colors for Secondary & Tertiary items like Blockquote and YUI Tabs */
--swatch-secondary-color: var(--bright-accent);
--swatch-tertiary-color: var(--pale-accent);
/* Link Colors */
--link-color: 110, 110, 170;
/* Spacing Measurements */
/* header measurements */
--header-height-on-desktop: 10rem;
--header-height-on-mobile: 10rem;
/* final values */
--header-h1-font-size: calc(var(--base-font-size) * 4);
--header-h2-font-size: calc(var(--base-font-size) * 1.6);
/*Toggle Colors */
--toggle-border-color: rgb(var(--dark-accent));
--toggle-icon-color: rgb(var(--pale-accent));
--toggle-roundness: 40%;
/* Login Gradient */
--login-gradient: linear-gradient(
to top,
rgb(var(--dark-accent)) 0%,
rgb(var(--medium-accent)) 100%
);
/* Ayers Info Bar */
--barColour: #5A5A98;
--linkColour: #FCFCFC;
}
/* Remove text shadow from headers */
#header h1 a::before,
#header h2 span::before {
--text-shadow: none;
text-shadow: none;
}
/* Subtitle size and case */
#header h2,
#header h2::before,
#header h2 span,
#header h2 span::before {
text-transform: none;
}
/* Tab Selected Color */
.yui-navset .yui-nav .selected,
.yui-navset .yui-nav .selected a:focus {
background-color: rgb(var(--dark-accent));
}
.yui-navset .yui-nav {
color: rgb(var(--black-monochrome));
background-color: rgb(var(--pale-accent));
}
/* Header Logos -
* This calculates the distance between the two images that make up the
* UnHuman logo, measured in rems (root ems - an em as defined by the root
* font size) from center.
*/
#header::before {
display: none;
}
div#extra-div-1,
div#extra-div-2 {
height: 8rem;
width: 100%;
top: 1rem;
position: absolute;
}
div#extra-div-1 {
background: url("https://scp-wiki.wdfiles.com/local--files/theme%3Acalamity/unhuman-left-logo.png");
background-size: contain;
background-repeat: no-repeat;
background-position: calc(50% - 9rem) 80%;
}
div#extra-div-2 {
background: url("https://scp-wiki.wdfiles.com/local--files/theme%3Acalamity/unhuman-right-logo.png");
background-size: contain;
background-repeat: no-repeat;
background-position: calc(50% + 9rem) 80%;
}
/* Header on Mobile */
@media only screen and (max-width: 1024px) {
:root{
--header-h1-font-size: calc(var(--base-font-size) * 2.65);
--header-h2-font-size: calc(var(--base-font-size) * 1.25);
}
div#extra-div-1 {
background-position: calc(50% - 6rem) 80%;
}
div#extra-div-2 {
background-position: calc(50% + 6rem) 80%;
}
}
/* Login Status */
#login-status .printuser {
color: rgb(var(--dark-accent));
text-shadow: rgba(var(--white-monochrome), .7) 1px 0px,
rgba(var(--white-monochrome), .7) 0px 1px,
rgba(var(--white-monochrome), .7) -1px 0px,
rgba(var(--white-monochrome), .7) 0px -1px;
}
#login-status #my-account {
color: rgb(var(--dark-accent));
text-shadow: rgba(var(--white-monochrome), .7) 1px 0px,
rgba(var(--white-monochrome), .7) 0px 1px,
rgba(var(--white-monochrome), .7) -1px 0px,
rgba(var(--white-monochrome), .7) 0px -1px;
}
#account-options {
width: auto;
padding: 0.5em;
border-color: rgba(var(--bright-accent));
background: var(--login-gradient);
color: rgb(var(--swatch-text-light));
}
/* search box */
#search-top-box-form>input,
#search-top-box-form>input:hover,
#search-top-box-form>input:focus {
background: rgb(var(--dark-accent));
}
#search-top-box-form input[type="submit"] {
background: rgb(var(--medium-accent));
}
#search-top-box input.empty {
color: rgba(var(--white-monochrome));
}
/* Horizontal rule */
hr {
border-top: 1px solid rgb(var(--medium-accent));
height: 0px;
border-bottom: 1px solid rgb(var(--dark-accent));
background: rgba(0, 0, 0, 0);
}
/* Blockquote */
blockquote,
.blockquote,
div.blockquote {
border-style: solid;
border-color: rgb(var(--medium-accent));
background-color: rgba(var(--pale-accent), 0.1);
margin: 1em 0;
}
/* table */
table.wiki-content-table th {
background: rgb(var(--medium-accent));
color: rgb(var(--white-monochrome));
border-color: rgb(var(--pale-accent));
}
/* Side Bar Touch Up */
#side-bar .heading p {
font-family: var(--title-font);
--text-shadow: none;
text-shadow: none;
color: rgb(62, 62, 104);
}
/* Header Background - adapted from Croquembouche's Swirling Ashes theme */
body::before {
content: "";
position: absolute;
height: var(--header-height-on-desktop); width: 100%; top: 0; left: 0;
pointer-events: none;
}
body::before {
background: linear-gradient(
to top,
rgb(var(--sky-at-morning)) 0%,
rgb(var(--sky-at-morning)) 11%,
rgb(var(--sky-at-dawn)) 22%,
rgb(var(--sky-at-night)) 33%,
rgb(var(--sky-at-night)) 44%,
rgb(var(--sky-at-dusk)) 55%,
rgb(var(--sky-at-evening)) 66%,
rgb(var(--sky-at-daytime)) 77%,
rgb(var(--sky-at-daytime)) 88%,
rgb(var(--sky-at-morning)) 100%
);
background-size: 100% calc(var(--header-height-on-desktop)
* var(--sky-length));
animation: sky linear var(--sky-time) infinite;
}
@keyframes sky {
from { background-position: 0 calc(var(--header-height-on-desktop) * var(--sky-length)); }
to { background-position: 0 0; }
}
/* Rain - adapted from EstrellaYoshte's Christmas theme */
#header-extra-div-1 {
display: block;
height: 10rem;
width: 99.4vw;
position: absolute;
left: calc((-100vw + 100%)/2);
top: 0%
background: url('https://scp-wiki.wdfiles.com/local--files/theme%3Acalamity/rain1.png');
background-repeat: repeat;
background-size: 230px;
pointer-events: none;
animation: rainOne 1.7s infinite linear,
rainFade var(--sky-time) ease;
animation-iteration-count: infinite;
filter: blur(.9px);
}
#header-extra-div-2 {
display: block;
height: 10rem;
width: 99.4vw;
position: absolute;
left: calc((-100vw + 100%)/2);
top: 0%;
background: url('https://scp-wiki.wdfiles.com/local--files/theme%3Acalamity/rain1.png');
background-repeat: repeat;
background-size: 370px;
pointer-events: none;
animation: rainTwo 1.2s infinite linear,
rainFade var(--sky-time) ease;
animation-iteration-count: infinite;
filter: blur(0.4px);
}
#header-extra-div-3 {
display: block;
height: 10rem;
width: 99.4vw;
position: absolute;
left: calc((-100vw + 100%)/2);
top: 0%;
background: url('https://scp-wiki.wdfiles.com/local--files/theme%3Acalamity/rain1.png');
background-repeat: repeat;
background-size: 720px;
pointer-events: none;
animation: rainThree .75s infinite linear,
rainFade var(--sky-time) ease;
animation-iteration-count: infinite;
filter: blur(.2px);
}
@keyframes rainOne{
0% {
background-position: 0px 0px;
opacity: .9;
}
10% { opacity: 1; }
90% { opacity: 0.95; }
100% {
background-position: 0px 750px;
opacity: 0.85;
}
}
@keyframes rainTwo{
0% {
background-position: 0px -100px;
opacity: 0.8;
}
8% { opacity: 1; }
90% { opacity: 0.9; }
100% {
background-position: -50px 700px;
opacity: 0.8;
}
}
@keyframes rainThree{
0% {
background-position: 0px 100px;
opacity: 0.9;
}
13% { opacity: 1; }
91% { opacity: 0.9; }
100% {
background-position: 0px 750px;
opacity: 0.7;
}
}
@keyframes rainFade {
34%, 56% { opacity: 1; }
0%, 30%, 60%, 100% { opacity: 0; }
}
/* Translation Box - coded by Calibri Bold */
div.scpnet-interwiki-wrapper {
filter: invert(18%) sepia(11%) saturate(216%) hue-rotate(203deg) brightness(104%) contrast(111%);
}
/* Wikidot Footer Link Colors */
#footer {
background: #4A4A7D;
color: #55D2D8;
}
/* Reduce Motion Check */
@media screen and (prefers-reduced-motion: reduce) {
body::before, #header-extra-div-1, #header-extra-div-2, #header-extra-div-3 {
animation: none;
}
}