rating: -13+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; }

rating: -13+x
Item#: 5428
Containment Class:
Secondary Class:
Disruption Class:
Risk Class:

Special Containment Procedures: Online Web-Crawlers are to search and take down any remixes or copies of SCP-5428-A and SCP-5428-B. (Currently, 85% of SCP-5428-A and B instances have been taken down online.) All physical copies, tracks, records, etc. are to be located and stored in a Site-35 anomalous locker by MTF ETA-11.

Description: SCP-5428-A, also known as ''From The Dark'' is a music piece made by SCP-5428-2 (Francis Diego.) SCP-5428-A: When listened to for over 20 seconds will infect the subject listening to it. (Now referred to as SCP-5428-1.) The anomalous effects of SCP-5428-A start when every song heard by SCP-5428-1 sounds like SCP-5428-A. All memory of music and music itself in the brain of SCP-5428-1 will be replaced with SCP-5428-A. Everything SCP-5428-1 will learn about music will be forgotten with 10 seconds. SCP-5428-B has no cure, but effects aren't that damaging so this does not matter, SCP-5428-A's anomalous effects can be removed using Class-B Amnestics. SCP-5428-A has been taken down by the foundation and replaced with a new ''From The Dark'' song with no anomalous effects.

SCP-5428-B, ''From The Light'' is also a song by SCP-5428-2. When listened to, its anomalous effects will start the next day. When you wake up, you will remember nothing about the day before apart from listening to SCP-5428-B. Research proves that everything except listening to SCP-5428-B from the previous day has been completely removed from the mind after going to sleep. SCP-5428-B has also taken down by the foundation and replaced with a new, Non-anomalous ''From The Light'' song.

Agent Fallgon found out that Francis Diego, (SCP-5428-2) had a lawyer, so he went undercover, making the lawyer believe he was trying to hire Francis, but the lawyer told him that Francis had disappeared three months earlier, last seen on the exact day before the note was sent to Site-35. A manhunt was then set up for SCP-5428-2.

Assigned Site Site Director Research Head Assigned Task Force
Site-35 Arnold Scranton Researcher Gongalli MTF ETA-11 ("Savage Beasts")


Log 17/02/2017

Begin Log.

A note was found outside Site-35 three days after the Rockstar incident, this note has been confirmed to be from the creator of SCP-5428-A and SCP-5428-B. A textual recreation of the note can be found below.

Incident Log:

Agent Fallgon found out that Francis Diego, (SCP-5428-2) had a lawyer, so he went undercover, making the lawyer believe he was trying to hire Francis, but the lawyer told him that Francis had disappeared three months earlier, last seen on the exact day before the note was sent to Site-35. A manhunt was then set up for SCP-5428-2. Later, she was found in Wales and imprisoned there temporarily until MTF ETA-11 arrived at the prison to transport Francis Diego to Site-35. But when they arrived the prison had completely lost power and the only surviving people in the prison was Francis Diego. She seemed to have escaped, but was caught by ETA-11.

Francis Diego retrieval log.

ETA-11 Senior Operative 1: Control, we have arrived at the prison, but it looks powered down.

ETA-11 Operative: Yeah, it looks abandoned.

ETA-11 Commander: We're heading in.

ETA-11 Unit entered the prison and split up.

ETA-11 Commander: Group 2, status report?

ETA-11 Senior Operative 2: Everyone's dead, commander.

ETA-11 Operative: Including the prisoners, but we found no trace of Francis.

ETA-11 Senior Operative 2: Yeah, place is deserted.

ETA-11 Operative: I'm calling in a search party.

ETA-11 Senior Operative 1: Yeah, you do that.

ETA-11 Commander: Transceivers are jammed.

ETA-11 Senior Operative 1: Damn it.

ETA-11 Commander: There's nothing left here for us.

ETA-11 Senior Operative 1: Alright, lets move out.

ETA-11 left the prison and found Francis Diego trying to escape.


Francis Diego: The Foundation..

ETA-11 Commander: Damn right, now put your hands behind your back or we will shoot!

Francis Diego was transported to Site-35.

SCP-5428-2 Interview attempt log.

SCP-5428-2: Hello, Agent.

Agent Fallgon: Why did you create anomalous music that is dangerous?

SCP-5428-2: It is not dangerous.

Agent Fallgon: You keep up that attitude and you're never getting out of here, SCP-5428-2.

SCP-5428-2: Please stop calling me that.

Agent Fallgon: No.

SCP-5428-2: Why not?

Agent Fallgon: It does not matter. I will ask you again. Why did you create anomalous music?

SCP-5428-2: I don't understand why all of this is necessary.

Agent Fallgon: I'm leaving for now, and you damn well better respond when I come back later.

2 hours and 43 minutes later, Chaos Insurgency raided Site-35. They went to SCP-5428-2's cell and questioned her, and after a few minutes they shot Francis Diego until she was dead. Audio logs were later recovered.

Recovered Audio Logs

SCP-5428-2: You don't look like the foundation.

Chaos Insurgency Soldier: We aren't, but we are here for one purpose. What are the effects of your anomaly, and how can we weaponize it?

SCP-5428-2: It isn't dangerous. People just sometimes get strange side effects after listening to my music.

Chaos Insurgency Soldier: Well, what are those side effects?

SCP-5428-2: Mostly blurry memory and forgetting about the concept of music itself, nothing serious. I'd say its very forgetful music.

Chaos Insurgency Soldier: This was a waste of time.

SCP-5428-2: What do you mean?

Chaos Insurgency Soldier: Kill her.

It is confirmed that SCP-5428-2 was terminated by the Chaos Insurgency.

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