SCP-6641
SCP-6641
By: NDHeckfireNDHeckfire
Published on 18 Jan 2022 17:24
rating: +57+x

What this is

A bunch of miscellaneous CSS 'improvements' that I, CroquemboucheCroquembouche, use on a bunch of pages because I think it makes them easier to deal with.

The changes this component makes are bunch of really trivial modifications to ease the writing experience and to make documenting components/themes a bit easier (which I do a lot). It doesn't change anything about the page visually for the reader — the changes are for the writer.

I wouldn't expect translations of articles that use this component to also use this component, unless the translator likes it and would want to use it anyway.

This component probably won't conflict with other components or themes, and even if it does, it probably won't matter too much.

Usage

On any wiki:

[[include :scp-wiki:component:croqstyle]]

This component is designed to be used on other components. When using on another component, be sure to add this inside the component's [[iftags]] block, so that users of your component are not forced into also using Croqstyle.

Related components

Other personal styling components (which change just a couple things):

Personal styling themes (which are visual overhauls):

CSS changes

Reasonably-sized footnotes

Stops footnotes from being a million miles wide, so that you can actually read them.

.hovertip { max-width: 400px; }

Monospace edit/code

Makes the edit textbox monospace, and also changes all monospace text to Fira Code, the obviously superior monospace font.

@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;700&display=swap');
 
:root { --mono-font: "Fira Code", Cousine, monospace; }
#edit-page-textarea, .code pre, .code p, .code, tt, .page-source { font-family: var(--mono-font); }
.code pre * { white-space: pre; }
.code *, .pre * { font-feature-settings: unset; }

Teletype backgrounds

Adds a light grey background to <tt> elements ({{text}}), so code snippets stand out more.

tt {
  background-color: var(--swatch-something-bhl-idk-will-fix-later, #f4f4f4);
  font-size: 85%;
  padding: 0.2em 0.4em;
  margin: 0;
  border-radius: 6px;
}

No more bigfaces

Stops big pictures from appearing when you hover over someone's avatar image, because they're stupid and really annoying and you can just click on them if you want to see the big version.

.avatar-hover { display: none !important; }

Breaky breaky

Any text inside a div with class nobreak has line-wrapping happen between every letter.

.nobreak { word-break: break-all; }

Code colours

Add my terminal's code colours as variables. Maybe I'll change this to a more common terminal theme like Monokai or something at some point, but for now it's just my personal theme, which is derived from Tomorrow Night Eighties.

Also, adding the .terminal class to a fake code block as [[div class="code terminal"]] gives it a sort of pseudo-terminal look with a dark background. Doesn't work with [[code]], because Wikidot inserts a bunch of syntax highlighting that you can't change yourself without a bunch of CSS. Use it for non-[[code]] code snippets only.

Quick tool to colourise a 'standard' Wikidot component usage example with the above vars: link

:root {
  --c-bg: #393939;
  --c-syntax: #e0e0e0;
  --c-comment: #999999;
  --c-error: #f2777a;
  --c-value: #f99157;
  --c-symbol: #ffcc66;
  --c-string: #99cc99;
  --c-operator: #66cccc;
  --c-builtin: #70a7df;
  --c-keyword: #cc99cc;
}
 
.terminal, .terminal > .code {
  color: var(--c-syntax);
  background: var(--c-bg);
  border: 0.4rem solid var(--c-comment);
  border-radius: 1rem;
}

Debug mode

Draw lines around anything inside .debug-mode. The colour of the lines is red but defers to CSS variable --debug-colour.

You can also add div.debug-info.over and div.debug-info.under inside an element to annotate the debug boxes — though you'll need to make sure to leave enough vertical space that the annotation doesn't overlap the thing above or below it.

…like this!

.debug-mode, .debug-mode *, .debug-mode *::before, .debug-mode *::after {
  outline: 1px solid var(--debug-colour, red);
  position: relative;
}
.debug-info {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Fira Code', monospace;
  font-size: 1rem;
  white-space: nowrap;
}
.debug-info.over { top: -2.5rem; }
.debug-info.under { bottom: -2.5rem; }
.debug-info p { margin: 0; }
/* source: http://ah-sandbox.wikidot.com/component:collapsible-sidebar-x1 */
 
#top-bar .open-menu a {
        position: fixed;
        top: 0.5em;
        left: 0.5em;
        z-index: 5;
        font-family: 'Nanum Gothic', san-serif;
        font-size: 30px;
        font-weight: 700;
        width: 30px;
        height: 30px;
        line-height: 0.9em;
        text-align: center;
        border: 0.2em solid #888;
        background-color: #fff;
        border-radius: 3em;
        color: #888;
}
 
@media (min-width: 768px) {
 
    #top-bar .mobile-top-bar {
        display: block;
    }
 
    #top-bar .mobile-top-bar li {
        display: none;
    }
 
    #main-content {
        max-width: 708px;
        margin: 0 auto;
        padding: 0;
        transition: max-width 0.2s ease-in-out;
    }
 
    #side-bar {
        display: block;
        position: fixed;
        top: 0;
        left: -20em;
        width: 17.75em;
        height: 100%;
        margin: 0;
        overflow-y: auto;
        z-index: 10;
        padding: 1em 1em 0 1em;
        background-color: rgba(0,0,0,0.1);
        transition: left 0.4s ease-in-out;
 
        scrollbar-width: thin;
    }
 
    #side-bar:target {
        left: 0;
    }
    #side-bar:focus-within:not(:target) {
        left: 0;
    }
 
    #side-bar:target .close-menu {
        display: block;
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        margin-left: 19.75em;
        opacity: 0;
        z-index: -1;
        visibility: visible;
    }
    #side-bar:not(:target) .close-menu { display: none; }
 
    #top-bar .open-menu a:hover {
        text-decoration: none;
    }
 
    /* FIREFOX-SPECIFIC COMPATIBILITY METHOD */
    @supports (-moz-appearance:none) {
    #top-bar .open-menu a {
        pointer-events: none;
    }
    #side-bar:not(:target) .close-menu {
        display: block;
        pointer-events: none;
        user-select: none;
    }
 
    /* This pseudo-element is meant to overlay the regular sidebar button
    so the fixed positioning (top, left, right and/or bottom) has to match */
 
    #side-bar .close-menu::before {
        content: "";
        position: fixed;
        z-index: 5;
        display: block;
 
        top: 0.5em;
        left: 0.5em;
 
        border: 0.2em solid transparent;
        width: 30px;
        height: 30px;
        font-size: 30px;
        line-height: 0.9em;
 
        pointer-events: all;
        cursor: pointer;
    }
    #side-bar:focus-within {
        left: 0;
    }
    #side-bar:focus-within .close-menu::before {
        pointer-events: none;
    }
    }
}

rating: +57+x
warning.png

Item#: SCP-6641-D
Level1
Containment Class:
decommissioned
Secondary Class:
none
Disruption Class:
none
Risk Class:
none

Assigned Site Site Director Research Head Assigned Task Force
Site-400 Director Adam Desmond N/A N/A

THE FOLLOWING IS THE SCP-6641 DATA FILE AS IT APPEARED BEFORE ITS RECLASSIFICATION AS DECOMMISSIONED. SOME INCONSISTENCIES MAY PERSIST.


SPECIAL CONTAINMENT PROCEDURES: Dr. Orville has been granted permission to continue his long-term employment with the Foundation. However, he is to be under constant surveillance in order to document any SCP-6641-1 manifestation.

DESCRIPTION: SCP-6641 is the designation given to an anomaly currently affecting Foundation Senior Researcher Ogden Orville, the Head of Site-400's Department of Astronomical Research.

Whenever Dr. Orville attempts to sleep during the time period between 7:00 AM to 10:00 PM in any location, a hairless grey-skinned semi-corporeal arm (designated as SCP-6641-1) will manifest on the back of Dr. Orville and will use any means necessary to wake him from his sleep.

When SCP-6641-1 succeeds in waking Dr. Orville up, it will immediately demanifest.

ADDENDUM 6641.1: SCP-6641-1 Manifestations

The following is a list of some notable SCP-6641-1 manifestations:

Date & Time Location Event Description
12/05/2018 (12:54 PM) Site-400's personnel lounge room Dr. Orville briefly slept on a couch after giving a presentation regarding an unrelated anomaly. SCP-6641-1 manifested and began slapping his face, which resulted in him immediately waking up.
14/05/2018 (9:04 AM) Outside of Site-400's Memetic Research Lab Dr. Orville dozed off on top of a bench within the waiting room outside of the Research Lab. SCP-6641-1 manifested and slapped Dr. Orville's face, but failed in waking him up. It grabbed Dr. Orville's hair and pulled hard. This action resulted in Dr. Orville waking up and shouting in pain.
24/08/2018 (6:53 PM) Site-400's Multi-Purpose Auditorium Dr. Orville attended a seminar conducted by Dr. Placeholder McDoctorate regarding outer-planetary Pataphysical narratives. Thirty minutes into the seminar, Dr. Orville began to fall asleep, which resulted in the manifestation of SCP-6641-1. Dr. Placeholder, noticing this, approached Dr. Orville and attempted to wake him up. This succeeded, and SCP-6641-1 held up a middle finger before demanifesting.
07/09/2018 (3:53 PM) Site-400's personnel lounge room See Addendum 6641.2

ADDENDUM 6641.2: Incident Log

On September 9th, 2018, Dr. Orville accidentally slept on the couch that was situated within Site-400's personnel lounge room. It is also important to note that other Foundation personnel were present within the lounge room. The following is the recovered video recording of the event that transpired:

Video Log 6641.27

Personnel present:

  • Dr. Ogden Orville
  • Dr. Bellatrix Fuller
  • Jr. Researcher Kain Stalos
  • Dr. Edan Lohlainn
  • Agent Carlos Sierra
  • Dr. Kyran Kelly

<BEGIN LOG>

Footage shows that Dr. Orville is sleeping with his head rested atop the couch's armrest. He is wearing a motorcycle helmet, possibly to prevent SCP-6641-1 from waking him up. The other Foundation personnel are seen either eating or conversing with each other.

SCP-6641-1 manifests behind Dr. Orville. It first begins to lightly tap the helmet Dr. Orville is wearing, before knocking hard on the helmet's visor. Despite this, Dr. Orville remains asleep. Dr. Kelly notices this.

Dr. Kelly: Hey, guys? Look. (points toward SCP-6641-1) It's that thing with Orville again.

Dr. Lohlainn: Oh, no. Poor Orville. Should we… do something?

Agent Sierra gets up from his seat and slowly approaches SCP-6641-1 and Dr. Orville.

Agt. Sierra: Alright, I'm honestly sick of you bothering my friend. How about you just go away and let Orville rest for a while, huh? He had a long day today and he can't fucking take a nap with you around.

SCP-6641-1 approaches Agent Sierra's face and flicks it hard. Agent Sierra falls down on the ground in pain.

Agt. Sierra: Ow, fuck!

Dr. Kelly: Oh, shit! A-are you okay, Carl?

Agt. Sierra: Yeah, just help me get this son of a bitch.

Dr. Fulller: Guys, I think we should just call sit-

Dr. Kelly runs toward SCP-6641-1 and proceeds to grab its upper arm. He then attempts to wrestle it to the ground, but fails as two of SCP-6641-1's fingers poke both of Dr. Kelly's eyes. He shouts in pain as tears can be seen streaming down his cheek.

Agt. Sierra: Hey, shithead!

Agent Sierra unholsters his handgun but is immediately disarmed by SCP-6641-1. The handgun drops to the ground as SCP-6641-1 grabs the neck of Agent Sierra and lifts him upwards, choking him in the process.

Dr. Fulller: Oh, crap. Edan! Kain! Go get help and find something useful!

Dr. Lohlainn and Rs. Stalos both quickly exit the lounge room. Dr. Fuller picks up the handgun belonging to Agent Sierra and examines the bullet magazine before slowly taking a step back and aiming it towards SCP-6641-1.

Dr. Kelly: Wait, Fuller! You don-

Dr. Fuller pulls the trigger and fires. The bullet impacts the wrist of SCP-6641-1 and a loud primal scream can be heard from an unknown source. SCP-6641-1 drops Agent Sierra and turns toward Dr. Fuller, oozing an unknown black substance from the bullet wound it has sustained.

SCP-6641-1 grabs Dr. Fuller by the neck and lifts her upward, before smashing her onto the ground. Dr. Lohlainn and Rs. Stalos return to the lounge room, with the former holding onto a large fire ax. Rs. Stalos notices SCP-6641-1 and immediately snatches the ax from Dr. Lohlainn. He hacks off the limb of SCP-6641-1 that was connected to the back of Dr. Orville.

The loud scream can be heard again as Rs. Stalos continues to hack SCP-6641's lower limb. After twenty seconds, SCP-6641-1 is completely severed from Dr. Orville. Its remains began to demanifest as Dr. Orville slowly wakes up.

Dr. Orville: (yawns) Ugh, I had the weirdest dream. Wait a minute. (checks his watch) Holy, shit! I slept! I slept without the goddamn fucking arm bothering me! Jesus, this is so great. Thank God. I guess it must have just gone on its own. Guys, you won't believe thi- woah. What the hell happened?

Agt. Sierra: Hope you had a good nap, Orville.

<END LOG>


On-site security arrived on the scene and was able to give medical attention to Dr. Fuller, Dr. Kelly, and Agent Sierra. However, all of the associated Foundation personnel (except Dr. Orville) were immediately reprimanded afterward for engaging in an anomaly without consent nor direct approval from any known parties.

As of 07/09/2018, SCP-6641 has been reclassified as Decommissioned.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License