SCP-7148
SCP-7148
Byㅤ MAKOdot-MAKOdot-
Published on 07 Sep 2023 12:31

評価: +7+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; }

評価: +7+x
blank.png

SCP-7148

アイテム番号: SCP-7148

オブジェクトクラス: Keter

特別収容プロトコル: 肥沃な三日月地帯の周囲に様々なオアシスが確立し維持され、SCP-7148の出現を阻止するために取り残された人々に食料と水が支給されます。ビデオカメラ、マイク、アキヴァ放射線追跡装置、温度計などの記録機器がSCP-7148を追跡および監視するためにその場所に設置されています。砂漠におけるその存在は、カバーストーリー 6F3 ("宗教的な巡礼者")の流布を通じて説明されます。

SCP-7148によって提供されたSCP-7148-F実例群はすべて没収され、異常性が除去された場合に配布されます。

説明: SCP-7148は、ネゲブ砂漠の周囲およびその内部の半径5kmを徘徊する、傷だらけのレバント人男性です。ヘブライ語の未知の方言で話します。それにもかかわらず、人間がSCP-7148から直接話しかけられた場合、母語で話しかけられているかのようにその言葉を理解します。

脱水症状や飢餓に苦しんでいる人がSCP-7148と接触した際、彼らには皮と腱で包まれた小さな種子の形状をした白い物質と共に、革袋に保管されたヤギ乳が別個に供給されます(以下、SCP-7148-FH及び-FMと呼称)。SCP-7148は、SCP-7148-FH及び-FMと引き換えに、植物の種子と新鮮な土壌を優先し、あらゆる物品との取引を申し出ます。申し出の拒否が影響を及ぼすことはなく、依然としてSCP-7148がSCP-7148-FH及び-FMを与えることにつながります。

SCP-7148-FH及び-FMの炭素年代測定により、それが青銅器時代後期頃まで遡ることが明らかになり、一方ではSCP-7148-FHおよび-FMの経時劣化分析により、40年間は十分に持続することが実証されました。 SCP-7148-FH及び-FMの異常な微粒子およびカロリー分析により、両方においてアキヴァ放射線の微かな痕跡、そしてカロリーがゼロであることが実証されました。

補遺: 機動部隊ダレット-603 ("砂漠のキツネ") はアラビア砂漠への遠征中に食糧を使い果たしました。グループ内の中程度の飢餓により、SCP-7148はダレット-603の5m以内に出現しました。 機動部隊に接近した後、SCP-7148は彼らにSCP-7148-F実例を与えようとしましたが、SCP-7148はSCP-7148-FHと-FMの両方が不足している事に気づきました。ナイフを持ち出すと、その皮膚を1m2切除し、痛みにうめき声を上げながら自分自身から1Lの血を抜き取りました。皮膚と血液はそれぞれSCP-7148-FHとSCP-7148-FM実例へと変化しました。機動部隊ダレット-603は、以降の出現の追跡を改善するため、この機会にSCP-7148にチップを埋め込みました。

補遺: 以下は、チップ装着後のSCP-7148最新ログです。

[SCP-7148は財団砂漠のオアシス付近で発見される。それはSCP-7148-F実例群を運んでいる。 SCP-7148をより良く観察するため、SCP-7148に接近したカメラが選択される。]

[後に民間人のジェイコブ・リーボヴィッツと特定された未知の人物が、SCP-7148に接近する。軽度の脱水状態にある。SCP-7148はその人物に気づき、SCP-7148-F実例と共に接近する。]

リーボヴィッツ: 飲み物をありがとう。

[SCP-7148の不明瞭な呟き。]

リーボヴィッツ: 種?イチジクの束があるが、これで十分か?

[SCP-7148が頷く。リーボヴィッツは微笑む]

リーボヴィッツ: 君の食糧が無ければ、恐らくそこらで倒れてたよ。元気でな!

[リーボヴィッツがエリアを離れる。 SCP-7148は、様々な植物の様々な種子が入った袋を取り出す。種子を一握り掴んで砂地に埋め、オアシスの付近に木を集め、種子の周囲にフェンスを形成する。 SCP-7148はイチジクを食べるが、すぐに非常に重篤な嘔吐に見舞われる。]

[SCP-7148から10km離れた地点、財団の風速計が砂嵐を検出する。]

[砂嵐はSCP-7148から500m離れている。SCP-7148が砂嵐に気づく。素手で砂を掘り始める。]

[砂嵐はSCP-7148から100m離れている。身を隠すための小さな穴が開いている。SCP-7148-FHがその穴を覆っている。]

[40日間、砂嵐のため一切の映像撮影が不可能となる。穴の付近にあるマイクが嗚咽や割れる音を検出する。]

[砂嵐が静まった後、SCP-7148は穴から這い上がる。財団由来のオアシスは完全に砂に覆われ、植えられた種子やフェンスはどこにも見当たらない。SCP-7148は砂の上に崩れ落ち泣き叫ぶ。穴は高品質のSCP-7148-FHおよびSCP-7148-FM実例群で覆われている。SCP-7148はさらなる傷跡で覆われている。]

[泣いた後、SCP-7148は作成されたSCP-7148-FH及び-FM実例群を集め、飲み込む。SCP-7148は再び歩き出す。 SCP-7148付近のマイクが音声を検出する。]

SCP-7148: …איפה נבו…1


後書き: 砂嵐の間、財団の機器は異常に高いレベルのアキヴァ放射線を検出しました。

特に指定がない限り、このサイトのすべてのコンテンツはクリエイティブ・コモンズ 表示 - 継承3.0ライセンス の元で利用可能です。