Link to article: Chaos Arts.
/* Someday, @custom-media variables will be supported in CSS proper:
https://www.w3.org/TR/mediaqueries-5/#custom-mq
*/
/* For the low-definition displays of cheap/small laptops and monitors. */
/* max-width: 1280px; */
@custom-media --viewport-laptop only screen and (width <= 80rem);
:root {
--body-width-on-desktop: 60.75rem;
--original-width-on-desktop: 45.75rem;
/* hsv: 127°, 6%, 57% | 60°, 1%, 81% | 127°, 6%, 57% */
--background: linear-gradient(0.25turn, #89928a, #cfcfcc, #89928a);
/* A grey gradient */
--pale-accent: 107, 91, 107; /* hsv: 300°, 15%, 42% */
/* light grey, for visited links (an unvisited) */
--bright-accent: 186, 171, 186; /* hsv: 300°, 8%, 73% */
/* bright grey */
--medium-accent: 142, 118, 142; /* hsv: 300°, 17%, 56% */
/* medium/light grey - the "default" accent color */
--dark-accent: 99, 89, 99; /* hsv: 300°, 10%, 39% */
/* dark grey */
--alt-accent: 124, 118, 124; /* hsv: 300°, 5%, 49% */
/* light grey */
--level5-color: 196, 2, 51;
--level4-color: 255, 109, 0;
--level3-color: 255, 211, 0;
--level2-color: 0, 135, 189;
--level1-color: 0, 159, 107;
--dc-default-color: 188, 188, 204;
--dc-eyeroll-color: 188, 188, 204;
--rc-unolunae-color: 100, 100, 250;
--rc-duolunae-color: 150, 100, 250;
--rc-trilunae-color: 200, 100, 250;
--art-tooltip-offset: 0.125rem;
--art-tooltip-arrow-size: 0.25rem;
--art-tooltip-border-radius: 0.25rem;
--art-tooltip-max-width: 12.5rem;
--art-tooltip-font-size: 0.875rem;
--art-tooltip-font-wght: 500;
--art-tooltip-line-hght: 1.000rem;
--art-tooltip-text-color: var(--swatch-text-general);
--art-tooltip-background: 255, 255, 255;
--art-tooltip-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.16);
--render-enlarge-speed: 300ms;
--render-enlarge-factor: 2;
--test-variable: "test value";
}
/* @media (--viewport-laptop) */
@media (max-width: 1280px) {
:root {
--body-width-on-desktop: 45.75rem; /* 44.25rem; */
}
}
div.original_width {
margin: 0 auto;
max-width: min(90vw, var(--original-width-on-desktop, 45.75rem));
}
/* ---------------- */
/* ---- COLORS ---- */
/* ---------------- */
.color-white {
background-color: rgb(var(--white-monochrome, 252, 252, 252));
}
.color-gray {
background-color: rgba(var(--gray-monochrome, 66, 66, 72), 0.15);
}
.color-black {
background-color: rgb(var(--black-monochrome, 12, 12, 12));
color: rgb(var(--white-monochrome, 252, 252, 252));
border: 0.5rem solid rgb(var(--white-monochrome));
}
.color-level5 {
background-color: rgb(var(--level5-color));
color: rgb(var(--white-monochrome, 252, 252, 252));
}
.color-level4 {
background-color: rgb(var(--level4-color));
}
.color-level3 {
background-color: rgb(var(--level3-color));
}
.color-level2 {
background-color: rgb(var(--level2-color));
}
.color-level1 {
background-color: rgb(var(--level1-color));
}
.color-dc-default {
background-color: rgb(var(--dc-default-color));
}
.color-dc-eyeroll {
background-color: rgb(var(--dc-eyeroll-color));
}
.color-rc-unolunae {
background-color: rgb(var(--rc-unolunae-color));
}
.color-rc-duolunae {
background-color: rgb(var(--rc-duolunae-color));
}
.color-rc-trilunae {
background-color: rgb(var(--rc-trilunae-color));
}
/* ------------------------ */
/* ---- PREVIEW PANELS ---- */
/* ------------------------ */
.preview-panel {
display: flex;
flex-wrap: wrap;
margin: 0.5rem 0;
}
.preview-panel .image-wrapper {
display: block;
position: relative;
margin: 0.25rem;
}
.preview-panel .image-wrapper a {
display: block;
position: relative;
border: 0.25rem solid #000;
overflow: hidden;
}
.preview-panel .image-wrapper::before {
--wght: var(--art-tooltip-font-wght); /* For BHL */
content: attr(data-tooltip);
position: absolute;
bottom: 100%;
left: 50%;
transform: translateX(-50%);
z-index: 1000;
margin-bottom: calc(var(--art-tooltip-arrow-size) + var(--art-tooltip-offset));
padding: 0.5rem 0.75rem;
overflow: hidden;
color: rgb(var(--art-tooltip-text-color));
background: rgb(var(--art-tooltip-background));
box-shadow: var(--art-tooltip-box-shadow);
border-radius: var(--art-tooltip-border-radius);
font-weight: var(--art-tooltip-font-wght);
font-size: var(--art-tooltip-font-size);
line-height: var(--art-tooltip-line-hght);
width: max-content;
max-width: var(--art-tooltip-max-width);
box-sizing: border-box;
word-wrap: break-word;
display: none;
}
.preview-panel .image-wrapper::after {
content: "";
position: absolute;
bottom: 100%;
left: 50%;
z-index: 1000;
width: 0;
height: 0;
margin-bottom: calc(-1 * var(--art-tooltip-offset));
margin-left: calc(-1 * var(--art-tooltip-arrow-size));
border: var(--art-tooltip-arrow-size) solid transparent;
border-top-color: rgb(var(--art-tooltip-background));
display: none;
}
.preview-panel .image-wrapper:hover a,
.preview-panel .image-wrapper:focus a,
.preview-panel .image-wrapper:focus-within a {
border: 0.25rem solid #999;
}
.preview-panel .image-wrapper:hover::before,
.preview-panel .image-wrapper:hover::after,
.preview-panel .image-wrapper:focus::before,
.preview-panel .image-wrapper:focus::after,
.preview-panel .image-wrapper:focus-within::before,
.preview-panel .image-wrapper:focus-within::after {
display: block;
}
.preview-panel.icons-large .image-wrapper a {
border-radius: 50%;
width: 4rem; /* 3.53125rem; */
}
.preview-panel.icons-small .image-wrapper a {
border-radius: 50%;
width: 3rem; /* 2.5rem; */
}
.preview-panel.logos-large .image-wrapper a {
border-radius: 50%;
width: 6rem;
padding: 0.25rem;
}
.preview-panel.logos-small .image-wrapper a {
border-radius: 50%;
width: 3rem;
padding: 0.25rem;
}
.preview-panel.clipart-images .image-wrapper a {
border-radius: 0.5rem;
width: 4rem;
}
/* Disable Preview Links on Touch-Screens */
/* This allows viewers on phones and tablets to still see
the Preview Panel Tooltips when pressing on the Thumbnails,
but not accidentally open the links when pressing on them,
or when simply scrolling down the page.
*/
@media (hover: none) {
.preview-panel .image-wrapper a {
pointer-events: none;
}
}
/* Shrink Preview Images on Mobile Browsers */
/* @media (--viewport-mobile) */
@media (max-width: 480px) {
.preview-panel.icons-large .image-wrapper a {
border-radius: 50%;
width: 3.5rem; /* 3rem; */
}
.preview-panel.icons-small .image-wrapper a {
border-radius: 50%;
width: 2rem; /* 1.75rem; */
}
.preview-panel.logos-large .image-wrapper a {
border-radius: 50%;
width: 4rem;
padding: 0.25rem;
}
.preview-panel.logos-small .image-wrapper a {
border-radius: 50%;
width: 2rem;
padding: 0.25rem;
}
.preview-panel.clipart-images .image-wrapper a {
border-radius: 0.5rem;
width: 3rem;
}
}
/* ---------------------------- */
/* ---- FANCY COLLAPSIBLES ---- */
/* ---------------------------- */
/* The Nested Collapsible Component needs to be used here because,
for whatever asinine reason, Wikidot replaces every whitespace in
its [[collapsible]] <a> elements with the HTML escape code,
which turns the entire link text into one continuous word,
making it unable to be line wrapped properly by CSS code.
*/
.fancy-collapse .colmod-block > ul {
padding: 0 !important; /* For BHL */
}
.fancy-collapse .colmod-link-top,
.fancy-collapse .colmod-link-end {
display: flex;
align-items: center;
align-content: center;
justify-content: center;
text-align: center;
border: 0.25rem solid #000;
border-radius: 0.5rem;
color: #000;
padding: 0.25rem;
transition: color .15s var(--ease-in-out),
border-color .15s var(--ease-in-out);
width: max-content;
}
.fancy-collapse .colmod-link-top:hover,
.fancy-collapse .colmod-link-top:focus,
.fancy-collapse .colmod-link-top:focus-within,
.fancy-collapse .colmod-link-end:hover,
.fancy-collapse .colmod-link-end:focus,
.fancy-collapse .colmod-link-end:focus-within {
border-color: #999;
color: #999;
}
.fancy-collapse .colmod-block li.folded .colmod-link-top::before {
content: "►";
margin-right: 0.25rem;
}
.fancy-collapse .colmod-block li.folded .colmod-link-top::after {
content: "◄";
margin-left: 0.25rem;
}
.fancy-collapse .colmod-block li.unfolded .colmod-link-top::before {
content: "▼";
margin-right: 0.25rem;
}
.fancy-collapse .colmod-block li.unfolded .colmod-link-top::after {
content: "▼";
margin-left: 0.25rem;
}
.fancy-collapse .colmod-block li.unfolded .colmod-link-end::before {
content: "▲";
margin-right: 0.25rem;
}
.fancy-collapse .colmod-block li.unfolded .colmod-link-end::after {
content: "▲";
margin-left: 0.25rem;
}
.fancy-collapse [class|="colmod-link"] a {
--wght: bold; /* For BHL */
display: block;
text-align: center;
text-decoration: none;
overflow-wrap: normal;
white-space: normal;
word-break: normal;
font-weight: bold;
padding: 0.5rem 1.75rem;
margin: -0.5rem -1.75rem;
width: max-content;
max-width: 10rem;
position: relative;
z-index: 1;
}
.fancy-collapse [class|="colmod-link"] a:hover,
.fancy-collapse [class|="colmod-link"] a:focus,
.fancy-collapse [class|="colmod-link"] a:focus-within,
.fancy-collapse [class|="colmod-link"] a:active,
.fancy-collapse [class|="colmod-link"] a:visited {
text-decoration: none;
}
/* --------------------------------------------- */
/* ---- Tables for Image Details & Metadata ---- */
/* --------------------------------------------- */
.icon-table {
margin: 0.5rem !important; /* For BHL */
}
.icon-column {
width: 4rem;
}
.logo-column {
width: 8rem;
}
.name-column {
width: 7.5rem;
}
.desc-column {
width: 30rem;
}
span.color-value {
border: 1px solid #000;
border-radius: 0.125rem;
font-weight: bold;
padding: 0.125rem;
white-space: nowrap;
}
/* ----------------------------------------- */
/* ---- Icon Grid Display for ACS Guide ---- */
/* ----------------------------------------- */
.step_container {
margin: 0.5rem 0;
border: 0.0625rem solid rgb(var(--swatch-menubg-medium-dark-color));
padding: 1em;
}
.icon_groups_container {
--speed: var(--render-enlarge-speed);
position: relative;
margin: 0;
border: 0.125rem solid transparent;
background-color: #fff;
padding: 0.5rem;
transition: border var(--speed) var(--ease-in-out),
box-shadow var(--speed) var(--ease-in-out),
transform var(--speed) var(--ease-in-out);
}
.icon_groups_container:hover {
--enlarge-by: var(--render-enlarge-factor);
--enlarge-by-final: calc(1 + (var(--enlarge-by) / 10));
border: 0.125rem solid rgb(var(--swatch-menubg-medium-dark-color));
box-shadow: 0 0 0 calc(0.0625rem / var(--enlarge-by-final)) rgb(var(--swatch-border-color));
transform: scale3d(var(--enlarge-by-final), var(--enlarge-by-final), 1);
}
.icon_groups_side_by_side {
display: grid;
grid-template-columns: 100%;
grid-gap: 0;
}
.icon_groups_side_by_side.icon_1_fifths {
grid-template-columns: 1fr 4fr;
}
.icon_groups_side_by_side.icon_2_fifths {
grid-template-columns: 2fr 3fr;
}
.icon_groups_side_by_side.icon_3_fifths {
grid-template-columns: 3fr 2fr;
}
.icon_groups_side_by_side.icon_4_fifths {
grid-template-columns: 4fr 1fr;
}
.icon_group {
display: block;
}
.icon_grid {
display: grid;
grid-template-columns: repeat(5, calc((100% / 5) - 0.25rem));
grid-gap: 0.25rem;
}
.icon_grid.icon_1_fifths {
grid-template-columns: 100%;
}
.icon_grid.icon_2_fifths {
grid-template-columns: repeat(2, calc((100% / 2) - 0.25rem));
}
.icon_grid.icon_3_fifths {
grid-template-columns: repeat(3, calc((100% / 3) - 0.25rem));
}
.icon_grid.icon_4_fifths {
grid-template-columns: repeat(4, calc((100% / 4) - 0.25rem));
}
.icon_cont,
.icon_empty {
display: block;
}
.icon_image {
border: 0.25rem solid #000;
border-radius: 50%;
padding: 0.5rem;
}
.icon_title,
.icon_name {
--wght: bold; /* for BHL */
display: flex;
align-items: center;
justify-content: center;
text-transform: uppercase;
font-weight: bold;
margin: 0.25rem 0 0.5rem;
}
.icon_title p,
.icon_name p {
margin: 0;
}
/* Less Columns on Mobile Browsers */
/* @media (--viewport-tablet) */
@media (max-width: 900px) {
.icon_groups_side_by_side.icon_1_fifths,
.icon_groups_side_by_side.icon_2_fifths,
.icon_groups_side_by_side.icon_3_fifths,
.icon_groups_side_by_side.icon_4_fifths {
grid-template-columns: 100%;
}
.icon_grid,
.icon_grid.icon_1_fifths,
.icon_grid.icon_2_fifths,
.icon_grid.icon_3_fifths,
.icon_grid.icon_4_fifths {
grid-template-columns: repeat(3, calc((100% / 3) - 0.25rem));
}
.icon_empty {
display: none;
}
}
/* ----------------------------- */
/* ---- Source Code Display ---- */
/* ----------------------------- */
.code-cell,
.page-source {
border: 1px dashed #ddd;
background-color: #f7f7f7;
font-family: var(--mono-font, Recursive), Consolas,
'Andale Mono', 'Courier New', Courier, monaco, monospace;
font-size: 90%;
padding: 0.125rem;
}
.code-cell {
font-size: 75%;
}
.code {
font-size: 90%;
}
.page-source {
padding-left: .5rem;
padding-right: .5rem;
}
.long-code {
font-size: 70%;
}
/* @media (--viewport-laptop) */
@media (max-width: 1280px) {
.code-cell,
.page-source,
.code {
font-size: 75%;
}
.long-code {
font-size: 60%;
}
}
text-align: center;
width: 27px;
width: 30px;
width: 27px;
width: 30px;
width: 27px;
width: 30px;
width: 27px;
width: 30px;
width: 27px;
width: 30px;
width: 27px;
width: 30px;
display: none;
:scp-wiki:theme:black-highlighter-theme
[info]
:scp-wiki:component:fundraiser-widget
[info]
:scp-wiki:component:license-box
[info]
:scp-wiki:component:license-box-end
[info]
blockquote
preview-panel
icons-large
image-wrapper
image-wrapper
image-wrapper
fancy-collapse
icon-table
wiki-content-table
icon-column
name-column
desc-column
image-cell
color-value
image-cell
color-value
image-cell
color-value
preview-panel
icons-large
image-wrapper
image-wrapper
image-wrapper
image-wrapper
image-wrapper
image-wrapper
image-wrapper
image-wrapper
image-wrapper
image-wrapper
fancy-collapse
icon-table
wiki-content-table
icon-column
name-column
desc-column
image-cell
color-value
image-cell
color-value
image-cell
color-value
image-cell
color-value
image-cell
color-value
image-cell
color-value
image-cell
color-value
image-cell
color-value
image-cell
color-value
image-cell
color-value
preview-panel
icons-small
image-wrapper
color-dc-default
image-wrapper
color-dc-eyeroll
fancy-collapse
icon-table
wiki-content-table
icon-column
name-column
desc-column
image-cell
color-dc-default
color-value
image-cell
color-dc-eyeroll
color-value
preview-panel
icons-small
image-wrapper
color-rc-unolunae
image-wrapper
color-rc-duolunae
image-wrapper
color-rc-trilunae
fancy-collapse
icon-table
wiki-content-table
icon-column
name-column
desc-column
image-cell
color-rc-unolunae
color-value
image-cell
color-rc-duolunae
color-value
image-cell
color-rc-trilunae
color-value
fancy-collapse
original_width
step_container
step_container
icon_groups_container
icon_group
icon_title
icon_grid
icon_empty
icon_cont
icon_image
icon_name
icon_cont
icon_image
icon_name
icon_cont
icon_image
icon_name
icon_group
icon_title
icon_grid
icon_cont
icon_image
icon_name
icon_cont
icon_image
icon_name
icon_cont
icon_image
icon_name
icon_cont
icon_image
icon_name
icon_cont
icon_image
icon_name
icon_cont
icon_image
icon_name
icon_cont
icon_image
icon_name
icon_cont
icon_image
icon_name
icon_cont
icon_image
icon_name
icon_cont
icon_image
icon_name
icon_groups_side_by_side
icon_2_fifths
icon_group
icon_title
icon_grid
icon_2_fifths
icon_cont
icon_image
color-dc-default
icon_name
icon_cont
icon_image
color-dc-default
icon_name
icon_group
icon_title
icon_grid
icon_3_fifths
icon_cont
icon_image
color-rc-unolunae
icon_name
icon_cont
icon_image
color-rc-duolunae
icon_name
icon_cont
icon_image
color-rc-trilunae
icon_name
preview-panel
logos-small
image-wrapper
image-wrapper
image-wrapper
image-wrapper
image-wrapper
image-wrapper
image-wrapper
image-wrapper
image-wrapper
image-wrapper
image-wrapper
image-wrapper
fancy-collapse
icon-table
wiki-content-table
icon-column
icon-column
name-column
desc-column
image-cell
image-cell
image-cell
image-cell
image-cell
image-cell
image-cell
image-cell
image-cell
image-cell
image-cell
image-cell
preview-panel
logos-large
image-wrapper
image-wrapper
image-wrapper
image-wrapper
image-wrapper
image-wrapper
fancy-collapse
logo-table
wiki-content-table
logo-column
name-column
desc-column
image-cell
image-cell
image-cell
image-cell
image-cell
image-cell
preview-panel
logos-large
image-wrapper
image-wrapper
image-wrapper
image-wrapper
image-wrapper
image-wrapper
image-wrapper
image-wrapper
image-wrapper
image-wrapper
image-wrapper
image-wrapper
image-wrapper
image-wrapper
fancy-collapse
logo-table
wiki-content-table
logo-column
logo-column
name-column
desc-column
image-cell
image-cell
image-cell
image-cell
image-cell
image-cell
image-cell
image-cell
image-cell
image-cell
image-cell
image-cell
image-cell
image-cell
preview-panel
clipart-images
image-wrapper
image-wrapper
image-wrapper
image-wrapper
fancy-collapse
icon-table
wiki-content-table
icon-column
icon-column
name-column
desc-column
image-cell
image-cell
image-cell
image-cell