/*
M.E.G. Theme
[M.E.G. Theme]
by TrailmixNCocoa.
*/
@import url('https://fonts.googleapis.com/css2?family=PT+Mono&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Overpass+Mono:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oxygen+Mono&display=swap');
@import url("http://vivarium.wdfiles.com/local--files/backrooms%3Avivtheme/stylesheet.css");
@font-face {
font-family: 'GlowSansSC';
src: url('https://cdn.jsdelivr.net/gh/LupusCaeruleus/Fonts@main/GlowSansSC-Compressed-Regular.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'GlowSansSC';
src: url('https://cdn.jsdelivr.net/gh/LupusCaeruleus/Fonts@main/GlowSansSC-Compressed-Bold.woff') format('woff');
font-weight: bold;
font-style: normal;
font-display: swap;
}
:root {
--theme-base: "black-highlighter";
--theme-id: "meg-records";
--theme-name: "M.E.G. Records Theme";
--logo-image: url("http://backrooms-sandbox-2.wikidot.com/local--files/trailmixncocoa-meg-theme/IMG_3129.PNG");
--header-title: "M.E.G. 记录中心";
--header-subtitle: "M.E.G. 记录保存设施";
--body-font: 'PT Mono', 'Noto Sans SC', sans-serif;
--header-font: 'Oxygen Mono', 'GlowSansSC', sans-serif;
--title-font: 'Overpass Mono', 'GlowSansSC', sans-serif;
--mono-font: 'Courier Prime', 'Noto Serif SC', monospace;
--white-monochrome: 210, 212, 176;
--text-white-monochrome: 222, 221, 204;
--pale-gray-monochrome: 250, 242, 170;
--light-gray-monochrome: 94, 91, 35;
--gray-monochrome: 54, 52, 21;
--black-monochrome: 12, 12, 12;
--bright-accent: 255, 245, 166;
--medium-accent: 168, 162, 79;
--dark-accent: 128, 111, 17;
--pale-accent: 203,0, 183;
--alt-accent: 163, 132, 31;
--meg-accent: 143, 138, 76;
--darker-meg-accent: 69, 67, 46;
--backrooms-yellow: 215,200,0;
--swatch-topmenu-border-color: var(--medium-accent);
--swatch-headerh1-color: 222, 222, 222;
--swatch-headerh2-color: 237, 230, 123;
--link-color: 87, 77, 1;
--hover-link-color: 112, 111, 79;
--visited-link-color: 168, 162, 49;
--background-gradient-distance: 0rem;
--gradient-header: linear-gradient(to top,
rgba(var(--medium-accent)) 0%,
rgba(var(--medium-accent), 0.90) 0%
);
--diagonal-stripes: linear-gradient(transparent 0);
}
#skrollr-body {
background-image:
radial-gradient(circle, rgb(var(--medium-accent)) 50%, transparent 0);
background-repeat: repeat;
background-size: 0.25em 0.25em;
width: 100%;
height: 7.5rem;
}
#side-bar .side-block div a img {
filter: grayscale(100%);
}
#container {
background-image: radial-gradient(circle, rgb(var(--medium-accent), 0.05) 50%, transparent 0);
background-size: 0.25em 0.25em;
background-repeat: repeat;
background-attachment: fixed;
}
.sd-container {
--sd-symbol:var(--sd-text);
}
#top-bar div.mobile-top-bar > ul > li > a,
#top-bar div.top-bar > ul > li > a,
#top-bar div.mobile-top-bar > ul > li > ul > li > a,
#top-bar div.top-bar > ul > li > ul > li > a {
color: rgb(var(--bright-accent));
}
div#page-options-bottom-2 > a, div#page-options-bottom > a {
border-radius: 0em;
-moz-border-radius: 0em;
border: none;
}
div#page-options-bottom-2 > a:active, div#page-options-bottom-2 > a:hover, div#page-options-bottom > a:active, div#page-options-bottom > a:hover {
border: none;
}
#header, #top-bar {
background-attachment: scroll;
}
#header {
background-image: none;
}
#header::before {
content: "";
position: absolute;
height: 100%;
width: 100%;
left: 0;
top: 0;
background-image: var(--logo-image);
background-size: auto 16rem;
background-position: center;
background-repeat: no-repeat;
opacity: 0.4;
}
#header h1, #header h1 a {
position: absolute;
top: 1rem;
margin: 0;
width: 100%;
display: flex;
justify-content: center;
z-index: 0;
}
#header h2, #header h2 span, #header h2 span::before {
position: absolute;
top: 2rem;
margin: 0;
width: 100%;
display: flex;
justify-content: center;
}
#header h1 a::before, #header h2 span::before {
text-shadow: .063rem 0.1rem 0.1rem #0c0c0c;
}
.yui-navset .yui-nav .selected a {
color: rgb(var(--bright-accent)) !important;
}
table.wiki-content-table th {
color: rgb(var(--text-white-monochrome));
}
#login-status {
color: rgb(var(--bright-accent));
}
#login-status a {
color: rgb(var(--bright-accent));
}
#search-top-box input.empty {
color: rgb(var(--bright-accent));
}
a.newpage {
background: transparent;
text-decoration: none
}
a.newpage {
color: rgb(var(--alt-accent))
}
blockquote {
box-shadow: 0.05rem 0.1rem 0.3rem rgba(90, 20, 20,.25);
}
.styled-quote {
background-color:rgb(var(--bright-accent));
border-left: 0.5rem solid rgba(var(--gray-monochrome));
color:rgb(var(--black-monochrome));
padding: 0.1rem 1rem;
margin: 0.5rem 0 0.5rem 0.25rem;
box-shadow: 0.05rem 0.1rem 0.3rem rgba(0,0,0,.25);
}
.dark-styled-quote {
background-color:rgb(var(--darker-meg-accent));
border-left: 0.5rem solid rgba(var(--meg-accent));
color:rgb(var(--text-white-monochrome));
padding: 0.1rem 1rem;
margin: 0.5rem 0 0.5rem 0.25rem;
box-shadow: 0.05rem 0.1rem 0.3rem rgba(0,0,0,.25);
}
.dark-styled-quote a{
color: rgb(var(--swatch-menubg-medium-color));
}
.lightblock {
background-color:#f7e481;
padding: 0.01rem 1rem;
margin: 0.5rem 0 0.5rem 0.25rem;
box-shadow: 0 0.2rem 0.3rem rgba(0,0,0,.25);
}
.block {
background-color:rgb(var(--gray-monochrome));
color:rgb(var(--text-white-monochrome));
padding: 0.01rem 1rem;
margin: 0.5rem 0 0.5rem 0.25rem;
box-shadow: 0 0.2rem 0.3rem rgba(0,0,0,.25);
}
.darkblock {
background-color:rgb(var(--darker-meg-accent));
padding: 0.01rem 1rem;
margin: 0.5rem 0 0.5rem 0.25rem;
box-shadow: 0 0.2rem 0.3rem rgba(0,0,0,.25);
color: rgb(var(--text-white-monochrome));
}
.darkblock a {
color: rgb(var(--swatch-menubg-medium-color));
}
.borderblock {
background-color:rgb(var( --gray-monochrome));
color:rgb(255, 255, 255);
padding: 0.01rem 1rem;
margin: 0.5rem 0 0.5rem 0.25rem;
box-shadow: 0 0.2rem 0.3rem rgba(0,0,0,.25);
border: solid 0.3rem rgb(var(--bright-accent));
}
.alt-borderblock {
background-color:rgb(var(--bright-accent));
color:rgb(var(--black-monochrome));
padding: 0.01rem 1rem;
margin: 0.5rem 0 0.5rem 0.25rem;
box-shadow: 0 0.2rem 0.3rem rgba(0,0,0,.25);
border: solid 0.3rem rgb(var(--gray-monochrome));
}
.dark-borderblock {
background-color:rgb(var( --darker-meg-accent));
color:rgb(255, 255, 255);
padding: 0.01rem 1rem;
margin: 0.5rem 0 0.5rem 0.25rem;
box-shadow: 0 0.2rem 0.3rem rgba(0,0,0,.25);
border: solid 0.3rem rgb(var(--meg-accent));
}
.border-logoblock{
padding: 0.01rem 1rem;
box-shadow: 0 0.2rem 0.3rem rgba(0,0,0,.25);
color:rgb(255, 255, 255);
margin: 0.5rem 0 0.5rem 0.25rem;
display: block;
position: relative;
background-color: rgb(var(--gray-monochrome));
border: solid 0.3rem rgb(var(--bright-accent));
}
.border-logoblock::after{
content: "";
float: center;
border: solid 2px #0000;
background: url(http://backrooms-sandbox-2.wikidot.com/local--files/trailmixncocoa-meg-theme/IMG_3130.PNG) center/25% no-repeat;
opacity: 0.25;
top: 0;
left: 0;
bottom: 0;
right: 0;
position: absolute;
z-index: 1;
}
.dark-border-logoblock{
padding: 0.01rem 1rem;
box-shadow: 0 0.2rem 0.3rem rgba(0,0,0,.25);
color:rgb(255, 255, 255);
margin: 0.5rem 0 0.5rem 0.25rem;
display: block;
position: relative;
background-color: rgb(var(--darker-meg-accent));
border: solid 0.3rem rgb(var(--meg-accent));
}
.dark-border-logoblock::after{
content: "";
float: center;
border: solid 2px #0000;
background: url(http://backrooms-sandbox-2.wikidot.com/local--files/trailmixncocoa-meg-theme/IMG_3130.PNG) center/25% no-repeat;
opacity: 0.25;
top: 0;
left: 0;
bottom: 0;
right: 0;
position: absolute;
z-index: 1;
}
.logoblock{
padding: 0.01rem 1rem;
color:rgb(255, 255, 255);
box-shadow: 0 0.2rem 0.3rem rgba(0,0,0,.25);
margin: 0.5rem 0 0.5rem 0.25rem;
display: block;
position: relative;
background-color: rgb(var(--gray-monochrome));
}
.logoblock::after{
content: "";
float: center;
border: solid 2px #0000;
background: url(http://backrooms-sandbox-2.wikidot.com/local--files/trailmixncocoa-meg-theme/IMG_3130.PNG) center/25% no-repeat;
opacity: 0.25;
top: 0;
left: 0;
bottom: 0;
right: 0;
position: absolute;
z-index: 1;
}
.dark-logoblock{
padding: 0.01rem 1rem;
color:rgb(255, 255, 255);
box-shadow: 0 0.2rem 0.3rem rgba(0,0,0,.25);
margin: 0.5rem 0 0.5rem 0.25rem;
display: block;
position: relative;
background-color: rgb(var(--darker-meg-accent));
}
.dark-logoblock::after{
content: "";
float: center;
border: solid 2px #0000;
background: url(http://backrooms-sandbox-2.wikidot.com/local--files/trailmixncocoa-meg-theme/IMG_3130.PNG) center/25% no-repeat;
opacity: 0.25;
top: 0;
left: 0;
bottom: 0;
right: 0;
position: absolute;
z-index: 1;
}
.titleblock {
background-color: rgb(var(--gray-monochrome));
color:rgb(var(--text-white-monochrome));
padding: 0.5rem 1rem 0.10rem;
margin: 1.5rem 0rem 0.5rem 0rem;
box-shadow: 0 0.2rem 0.3rem rgba(0,0,0,.5);
border: solid rgb(var(--bright-accent)) 2px;
}
.titlebox{
color: rgb(var(--gray-monochrome));
position: relative;
top: -1.6rem;
background-color: rgb(var(--bright-accent));
padding: 0.25rem 1rem;
line-height: 0.1rem;
}
.dark-titleblock {
background-color: rgb(var(--darker-meg-accent));
color:rgb(var(--text-white-monochrome));
padding: 0.5rem 1rem 0.10rem;
margin: 1.5rem 0rem 0.5rem 0rem;
box-shadow: 0 0.2rem 0.3rem rgba(0,0,0,.5);
border: solid rgb(var(--meg-accent)) 2px;
}
.dark-titlebox{
color: rgb(var(--darker-meg-accent));
position: relative;
top: -1.6rem;
background-color: rgb(var(--meg-accent));
padding: 0.25rem 1rem;
line-height: 0.1rem;
}
.border-block {
background-color:rgb(var(--gray-monochrome));
color:rgb(255, 255, 255);
padding: 0.01rem 1rem;
margin: 0.5rem 0 0.5rem 0.25rem;
box-shadow: 0 0.2rem 0.3rem rgba(0,0,0,.25);
border: solid 0.3rem rgb(var(--gray-monochrome));
}
.megbox{
padding:0 0.5rem;
margin:1rem 0;
background:#b3ac78;
border-radius:0.6rem;
box-shadow: 0px 0px 3px;
border: 1.75px solid #d6ce92;
box-sizing:border-box;
}
.megflavor{
padding:0 0.5rem;
margin:0.5rem 0;
background:#f5eeb5;
border-radius:0.6rem;
box-shadow: 0px 0px 3px;
border: 1.75px solid #c7c089;
box-sizing:border-box;
transition:0.2s;
}
.newsbox{
padding:1px 1rem;
margin:1rem 0;
background: linear-gradient(90deg, rgba(198,191,140,1) 0%, rgba(221,213,154,0) 100%);
border-radius:0.8rem;
}
.light-featurebox{
padding:0 0.5rem;
margin:1rem 0;
background:#574713;
border-radius:0.6rem;
box-shadow: 0px 0px 3px;
border: 1.75px solid #dbc46e;
box-sizing:border-box;
}
.light-featureflavor{
padding:0 0.5rem;
margin:0.5rem 0;
background:#e3d06f;
border-radius:0.6rem;
box-shadow: 0px 0px 3px;
border: 1.75px solid #6b5d1e;;
box-sizing:border-box;
transition:0.2s;
}
.light-newsbox{
padding:1px 1rem;
margin:1rem 0;
background: linear-gradient(90deg, rgba(75,67,16,1) 0%, rgba(214,206,146,0) 100%);
border-radius:0.8rem;
}
.dark-featurebox{
padding:0 0.5rem;
margin:1rem 0;
background:#4a422e;
border-radius:0.6rem;
box-shadow: 0px 0px 3px;
border: 1.75px solid #F4F4F4;
box-sizing:border-box;
}
.dark-featureflavor{
padding:0 0.5rem;
margin:0.5rem 0;
background:#796522;
border-radius:0.6rem;
box-shadow: 0px 0px 3px;
border: 1.75px solid #322c20;
box-sizing:border-box;
transition:0.2s;
}
.dark-newsbox{
padding:1px 1rem;
margin:1rem 0;
background: linear-gradient(90deg, rgba(50,46,32,1) 0%, rgba(214,206,146,0) 100%);
border-radius:0.8rem;
}
.yellow-featurebox{
padding:0 0.5rem;
margin:1rem 0;
background:#d1b65c;
border-radius:0.6rem;
box-shadow: 0px 0px 3px;
border: 1.75px solid #F4F4F4;
box-sizing:border-box;
}
.yellow-featureflavor{
padding:0 0.5rem;
margin:0.5rem 0;
background:#deca64;
border-radius:0.6rem;
box-shadow: 0px 0px 3px;
border: 1.75px solid #F4F4F4;
box-sizing:border-box;
transition:0.2s;
}
.yellow-newsbox{
padding:1px 1rem;
margin:1rem 0;
background: linear-gradient(90deg, rgba(244,231,139,1) 0%, rgba(214,206,146,0) 100%);
border-radius:0.8rem;
}
.featurebox{
padding:0 0.5rem;
margin:1rem 0;
background:#f4e78b;
border-radius:0.6rem;
box-shadow: 0px 0px 3px;
border: 1.75px solid #d6ce92;
box-sizing:border-box;
}
.featureflavor{
padding:0 0.5rem;
margin:0.5rem 0;
background:#f4e78b;
border-radius:0.6rem;
box-shadow: 0px 0px 3px;
border: 1.75px solid #c7c089;
box-sizing:border-box;
transition:0.2s;
height: auto;
}
.footerbox{
padding:0.1rem 1rem;
margin-top:1rem;
background:#222200;
border-radius:0 1rem 0 0;
color:#FFB961;
border: 3px solid #FFEB7D;
box-sizing:border-box;
}
.footerflavor h1{
color: #222200;
}
.footerflavor h2{
color: #222200;
}
.footerflavor h3{
color: #222200;
}
.footerflavor h4{
color: #222200;
}
.footerflavor h5{
color: #222200;
}
.footerflavor h6{
color: #222200;
}
.footerbox h1{
color: #f4e78b;
}
.footerbox h2{
color: #f4e78b;
}
.footerbox h3{
color: #f4e78b;
}
.footerbox h4{
color: #f4e78b;
}
.footerbox h5{
color: #f4e78b;
}
.footerbox h6{
color: #f4e78b;
}
.footerspan{
margin-top:0.2rem;
font-size:80%;
}
.footerflavor{
padding:0.5px 1rem;
margin-bottom:1rem;
background:#f4e78b;
border-radius:0 0 0 1rem;
color:#222200;
box-sizing:border-box;
height: auto;
}
.profilepic{
border-radius:0.6rem;
float:left;
max-height:13rem;
height:17vw;
margin-right:1rem;
box-shadow: 0px 0px 3px;
box-sizing:border-box;
}
@media screen and (prefers-reduced-motion: no-preference) {
#page-title, #breadcrumbs, #page-content > * {
animation-name: fadeIn;
animation-duration: 1s;
animation-iteration-count: 1;
animation-timing-function: ease-out;
animation-fill-mode: backwards;
}
}
#page-title { animation-delay: 0s; }
@keyframes fadeIn {
from {
opacity: 0;
transform: translate(0,30px);
}
to {
opacity: 1;
transform: translate(0,0);
}
}
:root {
--fade-in-delay: 0.1s; /* Change the speed here. */
}
.filetabs .yui-navset .yui-nav li, .yui-navset .yui-navset-top .yui-nav li {
display: inline-block;
}
.filetabs .yui-navset .yui-nav, .yui-navset .yui-navset-top .yui-nav {
display: block;
}
.filetabs .yui-navset .yui-content {
border-top-width: 15px;
}
.filetabs .yui-navset .yui-nav a,
.filetabs .yui-navset .yui-navset-top .yui-nav a,
.filetabs .yui-navset .yui-nav .selected a,
.filetabs .yui-navset .yui-nav a:focus,
.filetabs .yui-navset .yui-navset-top .yui-nav a:focus,
.filetabs .yui-navset .yui-nav a:hover,
.filetabs .yui-navset .yui-navset-top .yui-nav a:hover {
background-color: transparent;
background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8' standalone='no' %3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' preserveAspectRatio='none' viewBox='0 0 150 45' xml:space='preserve'%3E%3Cdesc%3ECreated with Fabric.js 4.6.0%3C/desc%3E%3Cdefs%3E%3C/defs%3E%3Cg transform='matrix(1 0 0 1 74.95 22.39)' id='bC-LIzxo7Tu37zCdkDrqS' %3E%3Cpath style='stroke: rgb(0,0,0); stroke-width: 0; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; fill: rgb(84, 84, 65fill-rule: nonzero; opacity: 1;' vector-effect='non-scaling-stroke' transform=' translate(0, 0)' d='M -74.94856 22.50703 L -60.0064 -12.520110000000003 C -60.0064 -12.520110000000003 -55.89385 -21.849030000000003 -47.235839999999996 -22.281930000000003 C -38.57782999999999 -22.714830000000003 46.87608 -22.39016 46.87608 -22.39016 C 46.87608 -22.39016 56.05659 -23.219710000000003 61.40639 -12.520120000000002 C 66.75618 -1.8205300000000015 74.94856 22.506959999999996 74.94856 22.506959999999996 z' stroke-linecap='round' /%3E%3C/g%3E%3Cg transform='matrix(1 0 0 1 75.18 17.97)' id='E8ePkHu_UUyvFWDAIzFyP' %3E%3Cpath style='stroke: rgb(0,0,0); stroke-width: 0; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; fill: rgb(232,231,213); fill-rule: nonzero; opacity: 1;' vector-effect='non-scaling-stroke' transform=' translate(0, 0)' d='M -46.15385 12.0108 L -46.15385 -12.01079 L 46.153839999999995 -12.01079 L 46.153839999999995 12.0108 z' stroke-linecap='round' /%3E%3C/g%3E%3C/svg%3E");
background-size: 100% 2.7rem;
background-repeat: no-repeat;
border-width: 0px;
border-top: none;
background-position: top;
}
.filetabs .yui-navset .yui-nav a,
.filetabs .yui-navset .yui-navset-top .yui-nav a {
padding: 4px 20px 0px 20px;
}
.filetabs .yui-navset .yui-nav .selected a,
.filetabs .yui-navset .yui-nav a:focus,
.filetabs .yui-navset .yui-navset-top .yui-nav a:focus,
.filetabs .yui-navset .yui-nav .selected a:hover,
.filetabs .yui-navset .yui-navset-top .yui-nav .selected a:hover {
padding: 8px 20px 0px 20px;
}
.filetabs .yui-navset .yui-nav a:hover,
.filetabs .yui-navset .yui-navset-top .yui-nav a:hover {
padding: 6px 20px 0px 20px;
}
.filetabs .yui-navset .yui-nav,
.filetabs .yui-navset .yui-navset-top .yui-nav {
border-color: transparent;
}
.filetabs .yui-navset .yui-nav .selected,
.filetabs .yui-navset .yui-navset-top .yui-nav .selected,
.filetabs .yui-navset .yui-nav .selected a:active,
.filetabs .yui-navset .yui-nav .selected a:focus,
.filetabs .yui-navset .yui-nav li,
.filetabs .yui-navset .yui-navset-top .yui-nav li {
background-color: transparent;
}
.filetabs .yui-navset .yui-nav li,
.filetabs .yui-navset .yui-navset-top .yui-nav li {
box-shadow: none;
}
.filetabs .yui-navset .yui-nav li {
margin-right: 36px;
}
.filetabs .yui-navset .yui-nav .selected a {
color: rgb(var(--swatch-menubg-medium-color)) !important;
}
.filetabs .yui-navset .yui-nav a:focus,
.filetabs .yui-navset .yui-nav a:hover {
color: rgb(var(--swatch-menubg-medium-color));
}
.filetabs .yui-navset .yui-nav .selected a em,
.filetabs .yui-navset .yui-nav .selected a:hover em {
position: relative;
top: -4px;
}
.filetabs .yui-navset .yui-nav a:hover em {
position: relative;
top: -2px;
}
.filetabs .yui-navset .yui-nav li,
.filetabs .yui-navset .yui-navset-top .yui-nav li {
border-bottom: solid 1px rgb(var(--white-monochrome));
}
.filetabs .yui-navset .yui-nav li.selected,
.filetabs .yui-navset .yui-navset-top .yui-nav li.selected {
border-bottom: none;
z-index: 1;
}
code,
.code {
background-color: rgb(var(--pale-accent));
}
#page-content > :nth-child(1) { animation-delay: calc(1 * var(--fade-in-delay)); }
#page-content > :nth-child(2) { animation-delay: calc(2 * var(--fade-in-delay)); }
#page-content > :nth-child(3) { animation-delay: calc(3 * var(--fade-in-delay)); }
#page-content > :nth-child(4) { animation-delay: calc(4 * var(--fade-in-delay)); }
#page-content > :nth-child(5) { animation-delay: calc(5 * var(--fade-in-delay)); }
#page-content > :nth-child(6) { animation-delay: calc(6 * var(--fade-in-delay)); }
#page-content > :nth-child(7) { animation-delay: calc(7 * var(--fade-in-delay)); }
#page-content > :nth-child(8) { animation-delay: calc(8 * var(--fade-in-delay)); }
#page-content > :nth-child(9) { animation-delay: calc(9 * var(--fade-in-delay)); }
#page-content > :nth-child(10) { animation-delay: calc(10 * var(--fade-in-delay)); }
#page-content > :nth-child(11) { animation-delay: calc(11 * var(--fade-in-delay)); }
#page-content > :nth-child(12) { animation-delay: calc(12 * var(--fade-in-delay)); }
#page-content > :nth-child(13) { animation-delay: calc(13 * var(--fade-in-delay)); }
#page-content > :nth-child(14) { animation-delay: calc(14 * var(--fade-in-delay)); }
#page-content > :nth-child(15) { animation-delay: calc(15 * var(--fade-in-delay)); }
#page-content > :nth-child(n+15) { animation-delay: calc(16 * var(--fade-in-delay));}
:root{
--base-color: rgb(54, 54, 45);
--hover-color: rgb(84, 76, 44);
--click-color: rgb(82, 73, 39);
}
/* #page-content is shoved everywhere to make sure it's the most specific thingy */
/* Styling! */
#page-content .collapsible-block-folded, #page-content .collapsible-block-unfolded-link {
margin-top: 10px;
padding-left: 1rem;
padding-right: 1rem;
box-shadow: rgb(128, 128, 128) 0px 0px 3px 0px;
/* Animated things */
transition: background 0.2s linear;
background: var(--base-color);
/* Technical bits */
width: min-content;
white-space: nowrap;
overflow: hidden;
}
/* The Clicky Text */
#page-content .collapsible-block-link {
color: white;
font-weight: bold;
text-decoration: none;
}
/* Gets rid of the underline when hovering over the collapsible */
#page-content .collapsible-block-link:hover {
text-decoration: none
}
/* Collapsible content */
#page-content .collapsible-block-content {
/* Animated things */
transition: border-top-color 0.2s linear, border-bottom-color 0.2s linear;
border-top: solid var(--base-color) 5px;
border-bottom: solid var(--base-color) 3px;
}
/* Folded blocks are animated, unfolded ones are not */
#page-content .collapsible-block-folded {
max-width: 100%;
}
#page-content .collapsible-block-unfolded-link{
width: min-content;
}
/* Addendum counter */
/* Addendum prefixes */
#page-content .collapsible-block-folded .collapsible-block-link::before {
content: "▷";
border-right: none;
padding-right: 0rem;
margin-right: 1rem;
font-weight: normal;
font-family: var(--mono-font);
}
#page-content .collapsible-block-unfolded .collapsible-block-link::before {
content: "▽";
border-right: none;
padding-right: 0rem;
margin-right: 1rem;
font-weight: normal;
font-family: var(--mono-font);
}
/* Hovering effects */
#page-content .collapsible-block-folded:hover, #page-content .collapsible-block-unfolded-link:hover {
background: var(--hover-color);
max-width: 100%;
}
/* Collapsible borders - because it looks prettier this way */
#page-content .collapsible-block-unfolded-link:hover + .collapsible-block-content{
border-top-color: var(--hover-color);
border-bottom-color: var(--hover-color);
}
/* When hovering over link, change addendum tag to hover-color */
#page-content .collapsible-block-unfolded-link:hover + .collapsible-block-content::after {
background: var(--hover-color);
}
/* Click flash when clicking, also forces the collapsible to expand */
#page-content .collapsible-block-folded:active, #page-content .collapsible-block-unfolded-link:active, #page-content .collapsible-block-unfolded-link:active + .collapsible-block-content::after {
transition: background 0s, max-width 0s;
background: var(--click-color);
max-width: 100%;
}
/* On click, change borders to click-color */
#page-content .collapsible-block-unfolded-link:active + .collapsible-block-content {
transition: border-top-color 0s, border-bottom-color 0s;
border-top-color: var(--click-color);
border-bottom-color: var(--click-color);
}
/* Done with normal collapsibles, now we do all the variations */
/* Unfolded collapsible */
#page-content .unfolded-collapse {
margin-top: 10px;
padding-left: 1rem;
padding-right: 1rem;
box-shadow: rgb(128, 128, 128) 0px 0px 3px 0px;
background: var(--base-color);
/* Text */
color: white;
font-weight: bold;
/* Technical bits */
width: min-content;
white-space: nowrap;
overflow: hidden;
}
/* Addendum prefix */
#page-content .unfolded-collapse::before {
content: "▽";
border-right: none;
padding-right: 0rem;
margin-right: 1rem;
font-weight: normal;
font-family: var(--mono-font);
}
/* Bottom border */
#page-content .unfolded-collapse-border {
display: block;
width: 700px;
border-top: solid var(--base-color) 5px;
}
/* Centering, very simple */
#page-content .center-collapse .collapsible-block-folded, #page-content .center-collapse .collapsible-block-unfolded-link, #page-content .center-collapse .unfolded-collapse{
margin:auto;
margin-top: 10px;
}
/* Fittingly, we finish with the footer object */
/* The footer is actually the giant bottom border object because larger -> smaller works better */
#page-content .addendumfooter{
display: block;
border-bottom: solid 3px var(--base-color);
margin: auto;
text-align: center;
}
/* Ayer's info-bar patch */
#page-content .info-container .collapsible-block {
counter-increment: none;
}
#page-content .info-container .collapsible-block-folded, #page-content .info-container .collapsible-block-unfolded-link {
transition: none;
width: 100%;
max-width: 100%;
margin: 0 auto;
padding: 0;
box-shadow: none;
background: var(--barColour);
}
#page-content .info-container .collapsible-block-folded::before, #page-content .info-container .collapsible-block-unfolded-link::before {
content: "";
display: none;
}
#page-content .info-container .collapsible-block-content {
border-bottom: none;
transition: none;
border-top: none;
}
#page-content .info-container .collapsible-block-content::after {
display: none;
}
#page-content .collapsible-block-folded, #page-content .collapsible-block-unfolded, #page-content .unfolded-collapse{
line-height: 1.4;
}
#page-content .collapsible-block-folded .collapsible-block-link::before, #page-content .collapsible-block-unfolded .collapsible-block-link::before, #page-content .unfolded-collapse::before {
font-size: 130%;
margin-left: -0.4em
}