SCP-6881 SUPPLEMENTARY DOCUMENT ‘KILO’

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

SCP-6881 SUPPLEMENTARY DOCUMENT ‘KILO’

Project: SERAPIS » Supplementary Document ‘KILO’

► Play

GALLIO: This is Agent Hector Gallio. The following is classified Level 5 under Project: SERAPIS — O5 EYES ONLY.

Research into the history of Shibbet’s Vale has entailed me contacting several Foundation assets embedded in the worlds of academia, research, politics, and the intelligence community. The identification of the entity beneath Shibbet’s Vale, designated SCP-6881-2, with the Slavic deity Mokosh, prompted me to reach out to Foundation researchers and academics in relevant areas, including Professor Monique St. Clair of Durham University in England. Her work for the Foundation on handling and preserving esoteric texts and translating archaic languages is extensive, as are her research skills. She holds Level 2 clearance, and hence is privy to knowledge of the Foundation and its purpose, but not to the specifics of Project: SERAPIS.

Professor St. Clair sent the Project a number of documents, including facsimiles of original texts and her own notes and conclusions, regarding the deity Mokosh and several folk tales and historical recollections drawn from the Birdwhistle Collection. This archive of literature concerning the occult and esoteric was donated to the university in the will of St. John Birdwhistle, a wealthy British eccentric who lived in the North of England and died in 1901. Birdwhistle’s collection was unorganised and poorly maintained, and cataloguing it was a project Professor St. Clair had been working on for several years.

While St. Clair was unaware of any events at Shibbet’s Vale, her scouring of the Birdwhistle Collection proved to have several documents relevant to Project: SERAPIS.

■ Stop

SHOW FILES

SHOW — St. Clair Research [CLASSIFIED 5/SERAPIS]

    • _

    GALLIO:

    What ended at Shibbet’s Vale did not begin there. A workable hypothesis sees the entity beneath Shibbet’s Vale originating in the Baltic region and fleeing from the Christianisation of the Northern Crusades. It passed across Siberia, during which time it was pursued by the German mercenary and his companion. Once at the easternmost extent of the Asian continent, it crossed the Bering Straits into what would later be known as North America and reached Southern Montana before ceasing its flight.

    If the Curonian Girl’s statements are correct, Mokosh and her fellow Slavic deities were not figures of myth at all, but entities of an unknown kind that adopted the names and attributes of those figures to gain authority and security among the Baltic peoples. It is also possible, again depending on the reliability of these sources, that some of them died during the Northern Crusades. Mokosh escaped, but others did not. Perhaps Mokosh is the last one left.

    It is impossible to say what Mokosh truly is. Its origin is lost in the intersection of history and myth. It may be an anomalous human, an extra-terrestrial, a cross-dimensional entity, or any one of a thousand possible categories of anomaly. It is likely impossible to tell without acquiring and containing it.

    Of more immediate concern is the fact the Foundation may have known all this already. The purpose of Project: SERAPIS was to ascertain if the history of Shibbet’s Vale could be dug up by a determined and well-resourced researcher. This in turn implied there was something about the anomaly there the Foundation wanted to keep hidden. I feel I am on the cusp of discovering what that is, what happened in the 1920s the O5 Council still fears coming to light.

    I am very close to shining that light on Shibbet’s Vale. I think perhaps it would be better to leave it in the dark, even as I know I cannot.



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