Soap Rewrite
Soap Rewrite
By: TopDownUnderTopDownUnder
Published on 13 Dec 2021 01:06
rating: +1+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.


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(';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: */
#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;
    @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: +1+x

⚠️ content warning

CONTAINMENT CLASS:neutralized confidential



The corpse of SCP-1908 is kept in a heavily modified containment chamber in Area-34. This containment chamber is outfitted with a drainage system that connects to Area-34's main AWD1 facility, where the soap produced by SCP-1908 is bottled and sent to storage. Area-34 and several other nearby Foundation facilities maintain a stockpile of SCP-1908's soap, currently estimated to consist of 270kL of the substance.

Archived Containment Procedures 23/11/20: SCP-1908 is to be held within a standard humanoid containment chamber, with other anomalies related to the "Litter Misters" line of products in Hall ██ of Site-██. The walls in this chamber are to be constructed of non-porous material, with a dental vacuum affixed to SCP-1908's mouth, to prevent SCP-1908 from suffocating due to its effect. Personnel entering the chamber containing SCP-1908 are to wear cleated boots while they remain in the chamber.


SCP-1908 is a male humanoid, approximately 1.5m tall, weighing 58kg. The epidermal tissue of SCP-1908 constantly produces a slick, clear mixture of water and soap. SCP-1908's eyes have been coated in a plastic resin that blocks this liquid, without limiting its eyesight. A tattoo reading "Mr. Soap, from Little Misters ® by Dr. Wondertainment" has been made on the bottom of its left foot. This designation appears as "6" in Document SCP-909-a.

The soap produced by SCP-1908, when applied to an object by a sentient being, can remove certain traits of an object. These traits are dependent on the applier and are generally ones that the applier views as "negative" or "harmful." SCP-1908 is incapable of acting as an applier, and its soap cannot be used on itself. Any surfaces that the soap comes into contact with, with the exception of organic matter and glass, becomes slippery. This effect can be negated by removing SCP-1908 from the general vicinity of affected surfaces. Any liquid matter that comes in contact with SCP-1908 will take upon the same effects of the soap generated by SCP-1908.


SCP-1908 was originally contained by the American Secure Containment Initiative from 1894 until their merger into the Foundation in 1933. Like several other anomalies involved in the merger, SCP-1908 was lost during the transfer of anomalies into Foundation Sites and was unable to be located. Following is the surviving documentation on SCP-1908 by ASCI.

American Secure Containment Initiative Document, circa 1895

Item Number: 94-909

Classification Type: Human/Useful

ASCI Protocols for Containment: 94-909 is kept in housing suited to his humble desires, which will have security at a minimum. Once per week, Initiative Agents are to make their way to 94-909's housing and collect produced liquid into as many bottles as possible. These bottles are then to be mailed to the main ASCI facility in Richmond, Virginia for [DATA REDACTED PER ORDER OF THE O5 COUNCIL].

Full payment to Benefactor Wondertainment2 is to be made by the turn of the twentieth century in return for the manufacture of 94-909. This payment must include no less than $20,0003

Description: 94-909 is a man by the name of "Mr. Soap", with no known legal name. 94-909's skin constantly lets out a soapy water that can remove any imperfections on an object or person if applied properly.

Most likely owing to the circumstances of his creation, 94-909 is highly cooperative with any Initiative Agents he comes into contact with, following instructions without fail. 94-909 was manufactured by Benefactor Wondertainment per request for the ASCI, for use in [DATA REDACTED PER ORDER OF THE O5 COUNCIL].


SCP-1908 was eventually rediscovered by the Foundation in 1998. It was located in a factory in Ningbo, People's Republic of China, where its soap was being used as an industrial cleaner by the factory's owners. SCP-1908 was recovered without incident, and amnestics were administered to the factory workers.



SCP-1908 Entrance Interview

Date: 12/05/98

Interviewer: Dr. Frederick Heiden

Interviewee: SCP-1908


Dr. Frederick Heiden: For the record, please state your name.

SCP-1908: Mr. Soap, from Little Misters ®4 by Dr. Wondertainment!

Dr. Heiden: Alright, so to sta-

SCP-1908: Buy one today!

Dr. Heiden: Pardon?

SCP-1908: Sorry, force of habit.

Dr. Heiden: You're fine. As I was saying, let's start with where we found you. Why are you in a factory in China?

SCP-1908: I, uh, do I have to answer this one? It's kinda obvious.

Dr. Heiden: You have to.

SCP-1908: I was working. To earn a living, you know? I managed to find a use for my, uh, ability, and they paid well for me keeping their machines clean.

Dr. Heiden: Why China?

[SCP-1908 shrugs.]

SCP-1908: I, uh, just found myself there.

Dr. Heiden: How?

SCP-1908: I.. don't know. Last thing I remember before getting the job at that factory was sitting in a diner with a man writing something on a piece of paper.

Dr. Heiden: I see… Do you remember anything before the man in the diner?


SCP-1908: No.

Dr. Heiden: Are you positive? Lying won't get you anywhere with us, Mr. Soap.


SCP-1908: I'm sure.

[Dr. Heiden sighs.]

Dr. Heiden: Alright. Give me a second.

[Dr. Heiden opens his folder and tabs through his papers, pulling out a photocopy of SCP-1908's ASCI documentation. He points at the photo.]

Dr. Heiden: We have documentation of you being contained by one of our predecessors, the American Secure Containment Initiative. You were made specifically for them, according to what's left of their documents. Do you remember why you were commissioned by ASCI?

SCP-1908: [Hesitant] N-no, I don't.

Dr. Heiden: Alright. We're not getting anywhere with this. I'm ending this interview.




As SCP-1908's description of "a man in a diner" matched the description of SCP-909's anomalous properties, an interview was held with SCP-909 to ascertain the validity of SCP-1908's claims.

SCP-1908 Entrance Interview

Date: 14/05/98

Interviewer: Dr. Frederick Heiden

Interviewee: SCP-909


Dr. Frederick Heiden: For the record, please state your name and designation.

SCP-909: Mr. Forgetful, SCP-909.

Dr. Heiden: Thank you. Now, SCP-909, I'm sure you're familiar with the other Misters?

SCP-909: The Original, my line, the new ones, or that Spanish knock-off?

Dr. Heiden: Err.. your line, nine-oh-nine.

SCP-909: Yeah, I remember most of them pretty well. What about them?

Dr. Heiden: Do you remember a "Mr. Soap?" He's number six on that list of yours.

SCP-909: Erm… I remember he was one of the first ones Wondertainment created. Way before me or Chamelon or Headless. Did you guys find him?

Dr. Heiden: Yes, we did. For the second time, actually. Turns out he was previously contained by one of our predecessors, the ASCI.

SCP-909: Oh, that name rings a bell. Think the first Mister was made for 'em. I'd place my bets on Soap being made for them too.

Dr. Heiden: That's what we believe from the documentation we have from back then, but that's not what I came here to ask. I was wondering if, from anytime between 1933 and now, you've used your… ability, on Mr. Soap.


Dr. Heiden: Nine-oh-nine?

SCP-909: Sorry, sorry, trying to remember. I'm trying to remember, cause the Doctor had me use my ability on a whole lotta people, but I don't think I ever used it on Soap. Heck, I don't think I've ever met him!

[Dr. Heiden produces a photo of SCP-1908.]

Dr. Heiden: Does he look familiar?

SCP-909: That's Soap? Don't recognize him one bit. Well, actually, hm…

Dr. Heiden: Well..?

SCP-909: I remember him. The Doctor showed me a photo of him once before. Specifically told me to never write anything for him, no matter what. Never said why.

Dr. Heiden: So… Just to clarify, right, you have never used your anomalous properties on Mr. Soap?

SCP-909: Nope! Never ever wrote anything for any of my fellow Misters, now that I think about it.

Dr. Heiden: I see. Thank you for cooperating.




This note was found on SCP-1908 during initial containment.

Wow! You've just found yourself your very own Little Mister, a limited edition collection from Dr. Wondertainment! Gotta get rid of those nasty little smudges somehow, am I right??

Find them all and become Mr. Collector!!

01. Mr. Chameleon
02. Mr. Headless
03. Mr. Laugh
04. Mr. Forgetful
05. Mr. Shapey
06. Mr. Soap ✔
07. Mr. Hungry
08. Mr. Brass
09. Mr. Hot
10. Ms. Sweetie
11. Mr. Life and Mr. Death
12. Mr. Fish
13. Mr. Moon
14. Mr. Redd (discontinued)
15. Mr. Money
16. Mr. Lost
17. Mr. Lie
18. Mr. Mad
19. Mr. Scary
20. Mr. Stripes

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