SCP-3309
SCP-3309
By: KaestineKaestine
Published on 28 Jul 2018 02:00

평가: +45+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; }

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@700&display=swap');
 @import url('https://fonts.googleapis.com/css2?family=Nanum+Pen+Script&display=swap');
 
/* Flopstyle CSS Theme
 * [2020 Wikidot Theme]
 * Created by Lt Flops
 * Select CSS Styles Are Credited Where Necessary
 * -- (CC BY-SA 3.0) --
**/
 
/* ---- SITE HEADER ---- */
 #header h1 a{
     font-family: "Montserrat", "Arial", "Noto Sans KR", sans-serif;
}
 
/* ---- FORMATTING | [SPECIAL] ---- */
 @font-face {
     font-family: "D2Coding";
     src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_three@1.0/D2Coding.woff') format('woff');
     font-weight: normal;
     font-style: normal;
 }
 :root{
     --mono-font: "D2Coding", "Fira Code", "Nanum Gothic Coding", monospace;
}
 
/* ---- CUSTOM DIV BLOCKS ---- */
 .journal{ /* ---- Journal Block (Adapted From SCP-4003) ---- */
     font-family: "Architects Daughter", "Nanum Pen Script", cursive;
}

SCP-3309

SCP 목록 4 » SCP-3309

재단 기록정보보안행정처(RAISA) 공지


지금 열람하려는 파일 “SCP-3309”는 여러 하위서사층을 교차하는 예측 불가능한 서사적 변칙개체에 대해 설명하고 있습니다. 이 문서에는 여러 서사적 재해1가 삽입되어 있으므로 서사적 예방접종이 필요합니다. 접종을 받지 않은 인원이 그러한 변칙성에 노출될 경우 서사 환언 사태를 겪을 수 있습니다.

계속하시겠습니까?

서사적 예방접종 배포됨.

가끔 우린 너무 늦게 사라진다.

우리가 마르고, 말라서 뼈가 될 때까지. 그리고 결국에는, 사라질 게 더 이상 아무것도 남지 않게 된다. 잊혀져 버린 것이다. 기억도, 희망도, 꿈도, 우리는 잊혀버렸다. 사람들이 이런 기억과, 희망과, 꿈을 가질 수는 있다는 걸 어떻게 알 수 있는가? 애초에 아무것도 없었다면 우리가 어떻게 잊혀질 수 있을까? 우리는 다른 이들의 마음에서는 사라지지만, 우리 자신의 마음에서는 사라지지 않는다. 우리는 더 이상 살 수 없을 때까지 살아가는 것이다. 우리가 평화롭게 지낼 수 있는 방법이 있었다는 것조차 잊어버리기 전까지. 그러고 나면, 그때 비로소 우리는 사라진다.

사라져라, 사라져 버려라.

접종 완료. 진행해도 좋습니다.

일련번호: SCP-3309

등급: 케테르

특수 격리 절차: SCP-3309에 영향받은 변칙 개체를 다루는 모든 문서는 재작성 양식으로 RAISA 아카이브 데이터베이스에 보관한다. 개체 격리 이후, 영향을 받은 항목에 배정된 모든 인원은 기억 소거를 받고 그와 무관한 프로젝트로 전근시키도록 한다.


설명: SCP-3309는 분류되어 있는 변칙개체들이 동시다발적으로 사라지는 현상이다. SCP-3309의 영향을 받은 항목에는 물체, 독립체, 위치, 그리고 개념적인 구조가 포함된다. 이 현상에 영향을 받은 변칙개체들 간에 직접적인 연관관계가 있는 것으로 보이지는 않는다. 출처를 알 수 없는 주석 (SCP-3309-1로 지정됨)을 통해 SCP-3309 활동을 인지하게 되었다.

변칙개체가 사라지기 48시간 전, SCP-3309-1은 대상 문서의 맨 하단에 붙은 채로 나타날 것이다. SCP-3309가 일어나고 있는 문서는 제01보호기지와 RAISA 아카이브를 포함한 모든 알려진 파일 시스템에서 사라진다. 이후 해당 변칙 개체는 완전하게 무효화되거나 어떠한 방법으로든 완벽하게 사라진다.

SCP-3309-1의 내용은 다음과 같다.

만약 원작자가 아닌데 이 글을 재작성하고 싶다면, 이 포스트에 답글을 달아 요청해 주시면 됩니다. 원작자에게서 허락을 받아 주시길 바랍니다.

SCP-3309는 사라지는 문서들의 백업본에도 영향을 미친다. 또한 SCP-3309가 일어난 변칙 항목에 딸린 문서들에도 영향을 미치는데, 사라진 문서들의 약 71%가 영향받지 않은 다른 개체들과 연관성이 있었다. 이는 재단의 변칙 개체 격리망을 약화시켰고, ADK등급 “전 변칙성 불안정 시나리오”로 이어질 수도 있다.



부록 모음


I. 윤리위원회 심사회


II. 프로젝트: 뾰족한 창


III. [ ]


평가: +45+x

[[footnoteblock]]


🈲: SCP 재단의 모든 컨텐츠는 15세 미만의 어린이 혹은 청소년이 시청하기에 부적절합니다.
따로 명시하지 않는 한 이 사이트의 모든 콘텐츠는 크리에이티브 커먼즈 저작자표시-동일조건변경허락 3.0 라이선스를 따릅니다.