@supports(display: grid) {
:root {
/* header measurements */
--header-height-on-desktop: 10rem;
--header-height-on-mobile: 10rem;
--header-h1-font-size: clamp(2rem, 5vw, 2.8125rem);
--header-h2-font-size: clamp(0.875rem, 3vw, 0.9375rem);
}
#header {
--search-textbox-text-color: var(--swatch-secondary-color);
background: none;
}
#header::before {
content: " ";
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0.75rem;
background-image: var(--logo-image);
background-repeat: no-repeat;
background-position: center 0;
background-size: auto calc(var(--header-height-on-desktop) - 1.5rem);
opacity: 0.8;
pointer-events: none;
}
#header h1,
#header h2 {
margin: 0;
padding: 0;
width: 100%;
height: var(--header-height-on-desktop);
display: flex;
align-items: center;
justify-content: center;
display: flex;
align-items: center;
justify-content: center;
}
#header h1 a,
#header h1 a::before,
#header h2 span,
#header h2 span::before {
margin: 0;
padding: 0;
z-index: 0;
display: block;
text-align: center;
}
#header h1 {
z-index: 1;
}
#header h1 a::before,
#header h1 a::after {
content: var(--header-title);
}
#header h1 a::before {
color: rgb(var(--swatch-text-tertiary-color));
z-index: -1;
-webkit-text-stroke: 0.325rem rgb(var(--swatch-text-dark));
}
#header h1 a::after {
color: rgb(var(--swatch-headerh1-color));
z-index: 1;
}
#header h2 {
z-index: 0;
text-transform: uppercase;
pointer-events: none;
}
#header h2 span {
margin-top: calc(var(--header-height-on-mobile)/2 + var(--header-h1-font-size)/2 - 2em);
}
#header h2 span::before,
#header h2 span::after {
--wght: 600;
content: var(--header-subtitle);
position: absolute;
left: 50%;
transform: translateY(-50%) translateX(-50%);
width: 100%;
text-align: center;
}
#header h2 span::before {
-webkit-text-stroke: 0.25rem rgb(var(--swatch-text-dark));
}
#header h2 span::after {
color: rgb(var(--swatch-headerh2-color));
z-index: 1;
}
#search-top-box form[id="search-top-box-form"]:not(:focus-within) input[type="text"] {
color: rgba(0, 0, 0, 0);
}
@media (min-width: 36rem) {
#login-status {
flex-grow: 1;
left: 3%;
right: initial;
}
#login-status::before {
--mask-image: none;
background-color: transparent;
}
#login-status:not(:focus-within) {
color: rgb(var(--login-line-divider-color));
-webkit-user-select: initial;
-moz-user-select: initial;
-ms-user-select: initial;
user-select: initial;
}
#login-status #account-topbutton,
#login-status:not(:focus-within) #account-topbutton {
--clip-path:
polygon( 0 0, 100% 0, 100% 100%, 0 100% );
background-color: rgba(var(--login-arrow-color), 0);
}
#login-status #account-topbutton::before{
--clip-path:
polygon( 30% 35%, 70% 35%, 50% 60%, 50% 60% );
--mask-image: initial;
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(var(--login-arrow-color), 1);
-webkit-clip-path: var(--clip-path);
clip-path: var(--clip-path);
}
#login-status #account-topbutton::before,
#login-status:not(:focus-within) #account-topbutton::before,
#login-status:not(:focus-within) #account-topbutton:hover::before {
--clip-path:
polygon( 30% 35%, 70% 35%, 50% 60%, 50% 60% );
--mask-image: initial;
}
#login-status:not(:focus-within) #account-topbutton::after {
display: none;
}
#login-status:not(:focus-within) *:not(#account-topbutton):not([href*="account/messages"]) {
--clip-path:
polygon(
0 0,
100% 0,
100% 100%,
0 100%
);
pointer-events: all;
-webkit-clip-path: var(--clip-path);
clip-path: var(--clip-path);
}
#login-status:not(:focus-within) *:not(#account-topbutton):not(#account-options):not([href*="account/messages"]) {
opacity: 1;
}
#login-status #my-account {
--wght: 300;
}
#account-options {
background: var(--gradient-header);
}
#search-top-box {
top: 1.5em;
right: 3%;
background: rgba(var(--search-focus-textbox-bg-color), 0.4);
box-shadow: calc(var(--search-height) / 2 * -1) 0 calc(var(--search-height) / 2) rgba(var(--search-focus-textbox-bg-color), 0.4);
}
#search-top-box:focus-within ~ #login-status {
opacity: 1;
}
#search-top-box::after {
transition:
background-color 150ms cubic-bezier(0.4, 0, 0.2, 1),
-webkit-clip-path 150ms cubic-bezier(0.4, 0, 0.2, 1);
transition:
background-color 150ms cubic-bezier(0.4, 0, 0.2, 1),
clip-path 150ms cubic-bezier(0.4, 0, 0.2, 1);
transition:
background-color 150ms cubic-bezier(0.4, 0, 0.2, 1),
clip-path 150ms cubic-bezier(0.4, 0, 0.2, 1),
-webkit-clip-path 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
#search-top-box:not(:focus-within)::after {
--clip-path:
polygon(
0 0,
100% 0,
100% 100%,
0% 100%
);
background-color: rgba(var(--search-icon-bg-color, --dark-accent), 1);
-webkit-clip-path: var(--clip-path);
clip-path: var(--clip-path);
}
#search-top-box:not(:focus-within):hover::after {
--clip-path:
polygon(
0 0,
100% 0,
100% 100%,
0 100%
);
background-color: rgb(var(--search-icon-hover-bg-color));
}
#search-top-box form[id="search-top-box-form"]:not(:focus-within) {
max-width: var(--search-width);
}
#search-top-box form[id="search-top-box-form"]:not(:focus-within) input[type="text"] {
max-width: var(--search-width);
padding: 0 var(--search-height) 0 1em;
outline-width: 0;
background-color: rgb(var(--search-focus-textbox-bg-color), 0.35);
color: rgba(var(--search-textbox-text-color), 0.4);
cursor: pointer;
}
#search-top-box form[id="search-top-box-form"]:not(:focus-within) input[type="submit"],
#search-top-box form[id="search-top-box-form"]:focus-within input[type="submit"] {
pointer-events: all;
border: none;
}
}
#page-title::after,
.meta-title::after,
#page-title::before,
.meta-title::before {
content: "";
flex-grow: 1;
height: 0.0625rem;
background: rgb(var(--swatch-primary));
}
#page-title::before,
.meta-title::before {
margin: auto 1.25rem auto auto;
}
}
@supports(display: grid) {
:root {
--sidebar-width-on-desktop: calc((var(--base-font-size) * (14 / 15)) * 19);
--body-width-on-desktop: 45.75rem;
}
@media only screen and (min-width: 769px) {
#side-bar .close-menu {
display: block;
position: fixed;
top: 0.5rem;
left: 0.5rem;
width: 3rem;
height: 3rem;
opacity: 1;
pointer-events: all;
z-index: -1;
}
#side-bar .close-menu img {
color: transparent;
}
#side-bar .close-menu::before,
#side-bar .close-menu::after {
content: "";
box-sizing: border-box;
position: fixed;
display: block;
top: 0.5rem;
left: 0.5rem;
width: 3rem;
height: 3rem;
padding: 0;
margin: 0;
text-align: center;
pointer-events: all;
cursor: pointer;
transition:
opacity var(--sidebar-transition-timing);
}
#side-bar .close-menu::before {
--mask:url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' id='Hamburger' x='0' y='0' baseProfile='tiny' overflow='visible' version='1.2' viewBox='0 0 32 32' xml:space='preserve'%3E%3Cpath d='M4 10h24c1.1 0 2-.9 2-2s-.9-2-2-2H4c-1.1 0-2 .9-2 2s.9 2 2 2zm24 4H4c-1.1 0-2 .9-2 2s.9 2 2 2h24c1.1 0 2-.9 2-2s-.9-2-2-2zm0 8H4c-1.1 0-2 .9-2 2s.9 2 2 2h24c1.1 0 2-.9 2-2s-.9-2-2-2z'/%3E%3C/svg%3E");
z-index: -1;
background-color: var(--toggle-icon-color, rgb(var(--sidebar-links-text))) !important;
-webkit-mask: var(--mask);
mask: var(--mask);
-webkit-mask-repeat: no-repeat;
mask-repeat: no-repeat;
-webkit-mask-position: 50% 50%;
mask-position: 50% 50%;
-webkit-mask-size: 60%;
mask-size: 60%;
}
#side-bar .close-menu::after {
z-index: -2;
background-color: var(--toggle-button-bg, rgb(var(--sidebar-bg-color))) !important;
border-radius: var(--toggle-roundness, 50%);
border: var(--toggle-border-color, rgb(var(--sidebar-links-text))) var(--toggle-border-width, 0.25rem) solid;
}
#side-bar:focus-within .close-menu,
#side-bar:not(:has(.close-menu:hover)):not(:focus-within):hover .close-menu {
pointer-events: none;
}
#side-bar:focus-within .close-menu::before,
#side-bar:focus-within .close-menu::after {
opacity: 0;
pointer-events: none;
}
#side-bar:not(:has(.close-menu:hover)):not(:focus-within):hover .close-menu::before,
#side-bar:not(:has(.close-menu:hover)):not(:focus-within):hover .close-menu::after {
opacity: 0;
pointer-events: none;
}
#side-bar {
display: block;
position: fixed;
top: 0;
left: calc(var(--sidebar-width-on-desktop)*-1);
z-index: 10;
transition:
left 500ms cubic-bezier(0.4, 0, 0.2, 1) 100ms;
height: 100%;
overflow-y: auto;
overflow-x: hidden;
margin-top: 0;
}
#side-bar:focus-within {
left: 0;
}
#side-bar:not(:has(.close-menu:hover)):not(:focus-within):hover {
left: 0;
}
#side-bar .side-block {
margin-top: 1rem;
background-color: rgb(0, 0, 0, 0);
border-radius: 0;
border-left-width: 0px;
border-right-width: 0px;
}
#main-content::before {
content: "";
display: block;
position: fixed;
top: 0;
right: 0;
z-index: -1;
opacity: 0;
transition:
opacity 500ms cubic-bezier(0.4, 0, 0.2, 1) 100ms,
width 500ms cubic-bezier(0.4, 0, 0.2, 1) 100ms;
margin-left: var(--sidebar-width-on-desktop);
background: rgba(var(--swatch-menubg-black-color), .3) 1px 1px repeat;
padding-right: 0;
width: 100%;
height: 100vh;
pointer-events: none;
z-index: 99;
}
#side-bar:focus-within ~ #main-content::before {
width: calc(100% - var(--sidebar-width-on-desktop));
opacity: 1;
pointer-events: all;
}
#side-bar:not(:has(.close-menu:hover)):not(:focus-within):hover ~ #main-content::before {
width: calc(100% - var(--sidebar-width-on-desktop));
opacity: 1;
pointer-events: all;
}
@supports (-moz-appearance:none) and (background-attachment:local) and (not (-moz-osx-font-smoothing:auto)) { #side-bar {
padding: inherit;
} }
#content-wrap {
display: flex;
flex-direction: row;
width: calc(100vw - (100vw - 100%));
min-height: calc(100vh - calc(var(--final-header-height-on-desktop, 10.125rem)));
flex-grow: 2;
height: auto;
position: relative;
margin: 0 auto;
max-width: inherit;
}
#main-content {
width: 100%;
position: initial;
max-height: 100%;
padding: 2rem 1rem;
width: var(--body-width-on-desktop, 45.75rem);
max-width: var(--body-width-on-desktop, 45.75rem);
margin: 0 auto;
}
#page-content {
max-width: min(90vw, var(--body-width-on-desktop, 45.75rem));
}
@supports (-webkit-hyphens:none) {
#side-bar {
transition:
left 500ms cubic-bezier(0.4, 0, 0.2, 1) 100ms,
padding-right 500ms cubic-bezier(0.4, 0, 0.2, 1) 100ms,
background-color 500ms cubic-bezier(0.4, 0, 0.2, 1) 100ms;
padding-right: 0;
background-color: rgb(0, 0, 0, 0);
pointer-events: all;
overflow-x: visible;
overflow-y: visible;
z-index: 999;
}
#side-bar::-webkit-scrollbar {
opacity: 0;
-webkit-transition: opacity 500ms cubic-bezier(0.4, 0, 0.2, 1) 100ms;
transition: opacity 500ms cubic-bezier(0.4, 0, 0.2, 1) 100ms;
}
#side-bar .close-menu::before {
z-index: 999;
}
#side-bar .close-menu::after {
z-index: 998;
}
#side-bar:hover .close-menu::before,
#side-bar:hover .close-menu::after {
opacity: 0;
}
#side-bar:hover {
left: 0;
background-color: rgba(var(--swatch-menubg-color), 1);
padding-right: 0;
}
#side-bar:hover::-webkit-scrollbar {
opacity: 1;
}
#side-bar:hover~#main-content::before {
width: calc(100% - var(--sidebar-width-on-desktop));
opacity: 1;
pointer-events: all;
}
}
}
}
It was way past the time when Peter was supposed to get off work and head home, but he was spending another anxiety-filled night working overtime, staring at a brightly lit computer terminal in an otherwise dark and empty room.
When his friend said he knew a place that was 'under the radar' and 'paid a fuckload', Peter hadn't been expecting an enormous secret organization that was housing monsters and phenomena straight out of horror movies. Furthermore, he was clearly underqualified for the position. This was hardly a good place for an entry level programmer, and it seems that some unfortunate, unspecified circumstance led to the complete termination of the last programming team at this site.
Peter had been told it had something to do with an infestation, and that he didn't need to worry because it 'should all be taken care of now'.
That meant that right now, it was just him and a tech lead working in their department, and that tech lead couldn't remember what they were doing half the time because of some weird ass pills he had to take for some reason. Whenever Peter asked about it, he was told he didn't have the security clearance to know, so he decided to just let it be and focus on the work at hand.
What that did mean, however, was that he was essentially running an entire programming division for a work site all by himself, and the stakes were much higher than trying to reach a corporation's growth goals for a quarter. If he fucked up, people could die.
He could die.
Or at least, that's what he'd been told during orientation.
So there he sat, scrolling through an enormous python file, trying to figure out why this data collection software wasn't running the way it was supposed to. He'd been at it for hours already, and was just about at his mental limit, when something made its way out from the upper left corner of the screen.
It was hard to make out at first, but it appeared to be some sort of…8-bit spider?
"What the hell?" he muttered to himself, moving his cursor over to the thing and clicking it a few times. The spider seemed to scramble about on the computer in response, as if it were being tickled.
"Cute," he mused, putting a hand to his chin and taking a minute to examine the thing.
Once he stopped pestering it with his cursor, the spider began to move around and construct a small, 8-bit web in the top left corner of the screen. It wasn't invasive enough to block the code, so Peter decided to let it do its thing. Maybe it was some sort of cutesy screensaver? But if that were the case, it would've stopped when he moved his cursor around.
Before he could ponder the matter too long, he noticed something written inside the web.
#
It was difficult to tell at first because of the pattern of the web, but he was almost certain that the little creature had drawn a pound symbol. After a few seconds, a spark of recognition dawned on the fledgling programmer's face.
"Of COURSE!"
Quickly, he scrolled through the long file again, this time carefully paying attention to the color of the text and the left side of the screen.
Sure enough, a vital function had been left in as a comment rather than a proper line of code. He removed the pound symbol from the front of the line, and crossing his fingers, ran the program. To his relief, it finally ran the way it was supposed to.
"You are my true mentor, my guiding fucking moonlight!" he cheered at the digital creature before realizing how weird it was to be talking to something that wasn't real. Thankfully, nobody else was around the area at this time of night.
As if responding to his cheers, the 8-bit spider did a little pixelated dance, bobbing up and down on a string of web and shaking its arms and legs. Peter figured this thing must be some sort of Clippy-esque assistant that he hadn't been told about yet. He wasn't sure why it had only popped up now, but he sure as hell wasn't complaining.
Over the next few weeks, Peter's digital pal helped him with about a dozen different programming fixes, to a point where even his tech lead was praising him for his work.
"Keep it up and you'll get a nice bonus" his lead had told him.
Of course, Peter did feel guilty at times. He still didn't feel like he really knew enough to work at a place like this, or at least not without any guidance or fellow coworkers to help him out. Still, the Foundation likely designed that spider assistant for a reason. He'd tell himself that he shouldn't feel bad for making use of a resource he'd been given.
Eventually, he found himself with another real stumper of a case. Apparently, he'd earned enough trust to work on something real dangerous. He'd been told that some containment cell was glitching out every now and then, and the higher-ups were worried it could lead to a full blown breach if the error wasn't patched out.
Peter was anxious as hell, obviously, but he steeled himself and spent another long night working overtime, going over the enormous sea of code his predecessors had left behind.
It was then that his little spider friend came to the rescue once more, this time poking its head out when he was reading over an if statement.
"Thank God you're here little buddy" Peter sighed in relief, no longer embarrassed to speak out loud to his digital savior when they were alone. "All this code looks fine to me, I don't know what the hell the problem is!"
As always, the 8-bit arachnid quickly got to work with writing out another bit of code.
!=
"Wait…what? I think that'll mess up the processing for the variable" he asserted, surprised that the spider seemed to be giving bad advice for once. Still, the spider insisted, circling around its web a few times before tapping what it had written again.
Well…he'd been relying on the little assistant thus far and it had worked out. Worst comes to worst, he could just quickly switch the code back and fix it later if it turned out to be an error.
He added the written symbols in front of the variable as instructed and took a deep breath.
"Here goes nothing…"
As soon as he hit the run key, he immediately heard an electronic lock disengage and a door opening down the hall, a guttural screech emanating from the same place shortly after.
"Oh fuck, fuck FUCK!" he shouted, quickly trying to change the code back and run it again, but he could already hear something huge skittering down the hallway, rapidly closing in on him.
By the time Peter got out of his seat to try and run, he was met with a freakishly large, 8-legged, 8-eyed monster perched in the doorway. It stuck two legs in, prying the walls apart to make a bigger hole for itself with ease.
As Peter froze in horror, his eyes slowly drifted back towards his screen, where his so called 'pal' had already written something new.
Mommy! :D
That little 8-bit dance was the last thing he saw as he was devoured in a matter of seconds.
It had been a rough night for the site director. The alarm got tripped at two in the morning, and he had to call in an MTF squad to deal with the anomaly and get it back in containment. Thankfully, the breach's consequences had been minimal- just some collateral damage and a single casualty.
He stood beside the tech lead for their programming department, letting out a frustrated sigh. "I thought you said this issue had been taken care of already. You know how expensive it is to hire on new programmers" he griped, seeming more annoyed than worried.
The tech lead shrugged, staring down at what little bits of meat remained from the new hire. "What can I say? We're still working out the bugs."