MediaWiki:Common.css

/* TODO: Either move or replace all the stylings here once new Fandom theme is applied. */ /* CSS placed here will be applied to all skins */

page-SCP_-_Containment_Breach_Wiki .firstHeading { display: none; }

/* Mark redirects in Special:Allpages and Special:Watchlist */ .allpagesredirect { font-style: italic; } .allpagesredirect:after { color: #808080; content: " (redirect)" } .watchlistredir { font-style: italic; }

/* Giving headers and TOC a little extra space */ h2 { margin-top: 12px; }

.toc { margin-top: 12px; }

/* Highlighted references */ ol.references li:target, sup.reference:target { background-color: #02084d; }

/* Mobile frontpage */ .mobileonly { display: none; }

.nomobile-inline-block { display: inline-block; }

/***********************
 * TEMPLATES*******

/* Navboxes */ /* TODO: Remove once new navbox is applied. */ table.navbox { background-color: #111111; clear: both; font-size: 90%; text-align: center; width: 100%; }

table.navbox th { background-color: #181818; padding-left: 1em; padding-right: 1em; }

table.navbox td.navbox-group, th.navbox-group { white-space: nowrap !important; background: #111111 !important; color: #FFFFFF !important; font-weight: bold !important; padding: 4px 10px !important; }

table.navbox td.navbox-list { background: #1C1C1C !important; padding: 0px 5px !important; }

table.navbox tr:not(:first-child) th { background-color: #ddf; }

@media print { .navbox { display: none; } }

/* Navbox container style */ table.navbox { border: 1px solid #aaa; width: 100%; margin: auto; clear: both; font-size: 88%; text-align: center; padding: 1px; }

/* Single pixel border between adjacent navboxes */ table.navbox + table.navbox { margin-top: -1px; }

/* Title and above/below styles */ .navbox th, .navbox-title, .navbox-abovebelow { text-align: center; padding-left: 1em; padding-right: 1em; }

th.navbox-group { white-space: nowrap; text-align: right; }

.navbox, .navbox-subgroup { background: #fdfdfd; }

/* Must match background color */ .navbox-list { border-color: #fdfdfd; }

/* Level 1 color */ .navbox th, .navbox-title { background: #ccccff; }

/* Level 2 color */ .navbox-abovebelow, th.navbox-group, .navbox-subgroup .navbox-title { background: #ddddff; }

/* Level 3 color */ .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background: #e6e6ff; }

/* Even/odd row striping */ .navbox-even { background: #f7f7f7; } .navbox-odd { background: transparent; }

/* Adjust hlist padding in navboxes */ .navbox .hlist td dl, .navbox .hlist td ol, .navbox .hlist td ul, .navbox td.hlist dl, .navbox td.hlist ol, .navbox td.hlist ul { padding: 0.125em 0; }

/* Nowrap list items in navboxes */ .navbox .hlist dd, .navbox .hlist dt, .navbox .hlist li { white-space: nowrap; }

/* But allow parent list items to be wrapped */ .navbox .hlist dd dl, .navbox .hlist dt dl, .navbox .hlist li ol, .navbox .hlist li ul { white-space: normal; }

/* Prevent lists from clinging to navboxes */ ol + table.navbox, ul + table.navbox { margin-top: 0.5em; }

/* Default styling for Navbar template */

.navbar { display: inline; font-size: 88%; font-weight: normal; }

.navbar ul { display: inline; white-space: nowrap; }

.navbar li { word-spacing: -0.125em; }

/* Navbar styling when nested in navbox */ .navbox .navbar { display: block; font-size: 100%; }

.navbox-title .navbar { float: left; text-align: left; margin-right: 0.5em; width: 6em; }

/* === Template:Ambox designs === */

/* Ambox design */ .ambox { background-color: #EEE; color: black; font-size: 95%; width: 80%; margin: 0 auto; border: 1px #AAA solid; border-left: 10px solid; border-collapse: collapse; }

/* Ambox small text */ .ambox-smalltext { font-size: smaller; color: black; margin-top: 0.5em; margin-left: 0.8em; }

/* Ambox image */ .ambox-image { width: 60px; padding: 2px 0px 2px 0.5em; /* 0.5em left, 0px right */ text-align: center; }

/* no ambox when printing */ @media print { .ambox { display: none; } }

/* Template:Charbox */ /* TODO: Rewrite this as part of refactory the Charbox. */ .charbox { border-radius: 5px; padding: 3px 3px 0px 3px; width: 100px; position: relative; display: inline-block; vertical-align: top; }

.charboxbg { background-image: url("https://static.wikia.nocookie.net/scpcb_gamepedia/images/d/d3/Charbox.jpg/revision/latest"); }

.charbox #image { border-radius: 5px; overflow: hidden; width: 100px; height: 90px; align: center; }

.charbox #text { background-color: white; position: absolute; right: 0px; bottom: 0px; font-size: x-small; font-weight: bold; color: black; padding: 0px 5px; border-radius: 5px 0px; }

/* Spoiler notes */ .spoiler { margin: 1em 0 1em 2em; background-color: transparent; clear: both; text-align: left; font-size: 95%; width: calc(100% - 400px); display: inline-block; }

/******************** *******BLOCKS******* ********************/ /* TODO: Remove all this probably. */ /* */ code { background: #000000; border-color: #242424; }

/* */ pre { background-color: #000000 !important; border-color: #383838 !important; overflow: auto !important; }