Movatterモバイル変換


[0]ホーム

URL:


SCP Foundation

Secure, Contain, Protect

Bedrock Theme

Bedrock

rating: +85+x

Bedrock is an aesthetic base theme created byEstrellaYoshteEstrellaYoshte,LirynLiryn andPlaceholder McDPlaceholder McD, with special thanks toaismallardaismallard for assistance with GitHub, andWoedenazWoedenaz for the Edit Area button SVGs alongside general consulting.

This serves as the foundational structure forBasalt 2.0.

Quartz--basalt-primary-color254,254,254
Calcite--basalt-secondary-color247,248,250
Lapis Lazuli--basalt-bright-element-color16,76,184
Amethyst--basalt-undertone61,71,202
Slate--basalt-overtone56,60,64
{$color6-name}{$color6-variable}{$color6-info}
Granite--basalt-tertiary-color218,219,222
Andesite--basalt-sub-text-color155,154,162
Sunstone--basalt-alternate-color255,132,0
Emerald--basalt-positive-color26,180,28
Ruby--basalt-negative-color255,48,48
Sapphire--basalt-dark-element-color18,20,150
{$subcolor7-name}{$subcolor7-variable}{$subcolor7-info}
{$subcolor8-name}{$subcolor8-variable}{$subcolor8-info}
{$subcolor9-name}{$subcolor9-variable}{$subcolor9-info}
{$subcolor10-name}{$subcolor10-variable}{$subcolor10-info}
{$subcolor11-name}{$subcolor11-variable}{$subcolor11-info}
{$subcolor12-name}{$subcolor12-variable}{$subcolor12-info}

To use on a page, add the following:

[[include :scp-wiki:theme:bedrock]]

Examples

A horizontal rule can be created with 4 hyphens"----"1 and extends across the whole page if it's not placed inside anything (eg a blockquote). The lines separating sections of this document are horizontal rules.

basaltlogo.svg

Image block.

Titles can be created by putting between one and six plus "+" at the start of the line.

First Title

Second Title

Third Title

Fourth Title

Fifth Title
Sixth Title

This is a tab view.

Hey look, more text here.

How quaint.

This is a long tab. It contains a lot of text.

This is a long tab. It contains a lot of text.

This is a long tab. It contains a lot of text.

This is a long tab. It contains a lot of text.

This is a long tab. It contains a lot of text.

This is a long tab. It contains a lot of text.

This is a long tab. It contains a lot of text.

This is a long tab. It contains a lot of text.

This is a long tab. It contains a lot of text.

This is a long tab. It contains a lot of text.

This is a long tab. It contains a lot of text.

This is a long tab. It contains a lot of text.

This is a tab with footnote2

This is a blockquote, created by putting "> " at the start of each line.
More text


That's a horizontal rule

Nested blockquotes

This is atable
You should knowhow to make these
already
Footnotes
1. This still is to appeasePlaceholder McDPlaceholder McD.
2. This is another footnote.

Header font is Lexend.

Body font is Inter.

UI font is Jost.

Monospace font is JetBrains Mono.


CSS Variables

Bedrock is built on a series of CSS variables, which can be changed to alter its appearance. Some top-level variables are:

:root{    --basalt-primary-color:254,254,254;    --basalt-secondary-color:247,248,250;    --basalt-tertiary-color:218,219,222;    --basalt-main-text-color:20,20,20;    --basalt-overtone:50,50,50;    --basalt-undertone:61,71,202;     --basalt-bright-element-color:16,76,184;    --basalt-dark-element-color:18,20,150;    --basalt-alternate-color:255,132,0;    --basalt-positive-color:24,163,20;    --basalt-negative-color:255,48,48;    --basalt-cancel-color: var(--basalt-negative-color);    --basalt-sub-text-color:155,154,162;    --basalt-light-text-color: var(--basalt-primary-color);     --basalt-UI-dark-palette: var(--basalt-overtone);    --basalt-focus-color: var(--basalt-undertone);    --basalt-background-color: var(--basalt-primary-color);}

Color variables are in RGB format.

:root{    --header-font-primary: 'Lexend';    --UI-font-primary: 'Jost';    --body-font-primary: 'Inter';    --mono-font-primary: 'JetBrains Mono';}

The four font types used by Bedrock.

:root{    --header-logo: url('https://cdn.scpwiki.com/theme/en/basalt/basaltlogo.svg');    --header-title: 'SCP Foundation';    --header-subtitle: 'SECURE - CONTAIN - PROTECT';    --title-size:1.5rem;    --subtitle-size:0.825rem;     --base-font-size:1rem;    --main-content-width:67.5rem;    --side-bar-width:19rem;}

Note that due to a mechanic in CSScalc() function, any variables with length unit such as rem or px should not be discarded even when the value is set to 0, e.g.--subtitle-size: 0rem; makes the subtitle disappear but doesn't invalidate thecalc() function.

--main-content-width should not be set with % unit. To have the main area take up full screen width, use an arbitrarily high rem value instead.


Other

The source code of this theme can be found on ourGitHub page.

Bedrock is currently not compatible with Common Theme.

Powered byWikidot.com
Unless otherwise stated, the content of this page is licensed underCreative Commons Attribution-ShareAlike 3.0 License
Click here to edit contents of this page.
Click here to toggle editing of individual sections of the page (if possible). Watch headings for an "edit" link when available.
Append content without editing the whole page source.
Check out how this page has evolved in the past.
If you want to discuss contents of this page - this is the easiest way to do it.
View and manage file attachments for this page.
A few useful tools to manage this Site.
See pages that link to and include this page.
Change the name (also URL address, possibly the category) of the page.
View wiki source for this page without editing.
View/set parent page (used for creating breadcrumbs and structured layout).
Notify administrators if there is objectionable content in this page.
Something does not work as expected? Find out what you can do.
General Wikidot.com documentation and help section.
Wikidot.com Terms of Service - what you can, what you should not etc.
Wikidot.com Privacy Policy.

[8]ページ先頭

©2009-2025 Movatter.jp