Old Kansas Sector ~ 3: Walking Sticks
rating: +68+x

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

☦Allan torments the Changed people of Kansas.☦

OKS_3.png

The Last Era: 12, August, 2119 AD
Sylvan Grove, Kansas, USA

Historians dubbed the in-between age where humans were still struggling to exist as the Last Era. This was the great decline of humanity, and the-End-Of-The-World. This - pardoning the historians - wasn't entirely true, but only because there was no one around afterwards who cared enough to give their days a fitting name.

The time that followed could probably be called the Age of Rot, or something else gray (or purple) sounding. This was a time when the abnormal was the norm and few humans or native animals walked the Earth. Humans that were still alive and exposed to the world as it was were not very human anymore.

The Changed started manifesting toward the end of the Last Era, and they were capable of strange, uncomfortable things. Every other human you met was Changed, and there was no way of knowing what that meant for you.

I don't want to paint them in a bad light, though. A few were good, rightly folks.

They were just inherently wrong.


Salina was only 20 miles away, but it used to be 60 miles away.

The Great Kansas Crunch of 2099 was a difficult time for people, and an even more difficult time for those that survived it.

A few days after the Crunch, someone saw a tall, thin thing hobbling awkwardly in the pale dust of the Kansas sunset. They were the second Changed of Kansas, the Walking Sticks.

The humans decided that their existence was torture for them, and that they had to be put down. So the gangs that ran the twisted pockets of land that now polka-dotted Kansas hunted them, and snapped them like twigs.

A small tribe of Walking Sticks escaped the purge, and settled the tight spaces of the Pinched Barrens.

Allen was in their territory now, walking adjacent to the great, twisted spires of roads and cars that used to be K-18, and tried not to look at the tall, gnarly creatures with disgust. He saw monsters dragging their cancerous, tubular limbs across the sea of dead crops, but he couldn't consider them, even if he knew that they used to be human. The great psychology of the time taught him mercy, but something always kept him from walking up to one and bashing its head in.

He hated what he wouldn't be able to describe as the constantly rising and falling Shepard tone that was their voice. He hated that they were pointing at him as he was walking by, and saying things.

He tried to ignore his thoughts. He pretended they were just the dead corn stalks behind them.

But he couldn't help but look.

Crowds of squished, twisted sausages ending in light bulb heads, and impossibly long proboscis arms dragging behind them. They were coming from out of the fields, following a very tall Walking Stick. They waved at him with however many arms that were bound to them, and spoke their horrific language.

"Go away!" He shouted, beginning to walk into a jog, cautiously glancing toward the group of things every few steps.

He tripped on a jagged rock, falling to his hip, and looked at the crowd behind him.

That's when he saw it. Something that infuriated him more than anything yet, more than the magazine that toyed with his mind, or the viruses in his television.

It was small, and being carried by a two-headed, four-armed Walking Stick stalk. They were bringing it toward him, just the same way a beggar walks toward someone when they're about to ask for change.

It began to cry.

He got up and began walking at them, flesh boiling and tears beginning to well in his eyes. He pulled out his bat, and everything went white.

When he came to, he felt their eyes on him. He was surrounded by the things, and thick tubes of bloody flesh were sprawled in an indistinguishable mess around his feet.

He roared at the crowd and pushed his way out, his flesh rubbing against the kelpy mass. He ran back towards home until he couldn't run anymore.

| Hub |

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