MediaWiki:Common.css

/* CSS placed here will be applied to all skins */ /* -- [D] Site background */ /* Framework */ body { background: #000000 url(https://static.wikia.nocookie.net/riskofrain2_gamepedia_en/images/1/1f/Background.jpg/revision/latest) no-repeat fixed center top; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; } body.page-Special_ApiHelp { background: none; }

.page__main { background: #141414E6; }

/* For elements which only display in the mobile view */ .mobileonly { display: none; }

/* -- Mainpage navigation area */ .mp-nav { text-align: center; margin: 0 20px; } .mp-nav a { display: inline-block; color: #EFEFEF !important; font-size: 18px; text-decoration: none; text-shadow: 1px 1px #090D11; line-height: 2; width: calc(33% - 20px); min-width: 155px; max-width: 220px; margin: 8px 5px; background-color: #425161; border: 2px solid #536678; box-shadow: 0 0 0 1px #FFFFFF; } .mp-nav a:hover { text-shadow: 1px 1px #959679; border: 2px solid #E0E2A8; background-color: #BCBE92; box-shadow: 0 0 0 1px #FFFFFF, 0 0 0 2px #000000, 0 0 0 3px #FFFFFF; }

/* -- [D] Mainpage twitter */ width: 100% !important; height: 100% !important; }
 * 1) twitter-widget-0 {

/* -- Infobox */ table.infoboxtable { background-color: #2F2E30; } .infoboxcaption { color: #959494; text-align: center; } .infoboxdesc { padding: 10px 1px; border-top: 1px solid #909090; border-bottom: 1px solid #909090; } .infoboxtable abbr { color: inherit; }

/* -- [D] navbox */ .navbox { background: #2F2E30; border: 1px solid; width: 100%; text-align: center; font-size: 88%; margin: auto; margin-top: 1em; padding: 1px; clear: both; } .navbox th { background: #282828; font-size: 175%; white-space: nowrap; } .navbox tr:nth-child(even) td { background: #3A3A3A; font-size: 125%; font-weight: bold; white-space: nowrap; } .navbox tr:nth-child(odd) td { padding: 0.2em 0.5em; }

.navbox a, .navbox .selflink { white-space: nowrap; }

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

.navbox-title, .navbox-abovebelow, table.navbox th { padding-left: 1em; padding-right: 1em; text-align: center; }

.navbox-group { font-weight: bold; padding-left: 1em; padding-right: 1em; white-space: nowrap; }

/* Base background .navbox, .navbox-subgroup { background: rgba(0, 0, 0, 0.1); } .navbox-list { border-color: rgba(0, 0, 0, 0.1); /* Must match background color */ }

/* Level 1 color */ .navbox-title, table.navbox th { background: rgba(0, 0, 0, 0.2); color: #fff; }

/* Level 2 styling */ .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { background: rgba(0, 0, 0, 0.2); color: #fff; }

/* Level 3 styling */ .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background: rgba(0, 0, 0, 0.1); color: #fff; }

/* Even row striping */ .navbox-even { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* Odd row striping */ .navbox-odd { background: transparent; } .collapseButton { font-weight: normal; width: auto; }

.navbox .collapseButton { width: 6em; } .navbar { font-size: 88%; font-weight: normal; }

.navbox .navbar { font-size: 100%; } table.collapsed tr.collapsible { display: none; }

/* -- wikitable */ table.wikitable { background: #424141C0; } table.wikitable > tr > th, table.wikitable > * > tr > th { background-color: #282828C0; padding: 6px 12px; }

/* -- article-table */ .article-table { background: #424141C0; border-collapse: collapse; border: none; margin: 1em 1em 1em 0; } .article-table th { text-align: center; background-color: #282828; border-bottom: 1px #6C6B6B solid; padding: 6px 12px; } .article-table td { border-bottom: 1px #6C6B6B solid; padding: 0.2em 0.4em; }

/* -- General table */ .jquery-tablesorter th.headerSort { padding-right: 12px; }

.wikitable > caption, .article-table > caption { background: #366098; }

.firstcolumn-center td:first-child { text-align: center; } .firstcolumn-center-nowrap td:first-child { text-align: center; white-space: nowrap; } .firstcolumn-left td:first-child { text-align: left; } .firstcolumn-right td:first-child { text-align: right; }

/* -- Skills */ .skillbox .skill { width: 100%; border: 2px solid #6C6B6B; } .skillbox h3 { text-align: center; font-size: 20px; margin: 0; } .skillbox h3 span { font-size: 18px; } .skill th { border-bottom: none; } .skill td { border-bottom: 1px #282828 solid; } .skillbox .skillimage { width: 128px; padding: 0 !important; } .skillbox .skillrow { width: 11em; }

/* Template:SkillType - Container */ .skillbox { border: 2px solid #000000; border-radius: 8px; background: #D2D2D21F; padding: 10px; max-width: calc(100% - 315px); padding-bottom: 0; margin: 15px 0; } .skillbox .skilltype { font-size: 24px; text-align: center; font-weight: bold; background: #083E6C; border-radius: 6px 6px 0 0; margin: -10px -10px 0 -10px; }

/* -- Lore */ pre.lore { color: #CCD3E0; background-color: #40515E; line-height: 120%; white-space: pre-wrap; border: 2px solid #4F6372; width: 600px; overflow: hidden; } pre.lore .mono { color: #8595A4; line-height: 130%; letter-spacing: 1px; font-weight: bold; }

/* -- code tags */ code { background: #00000080; padding: 2px 3px; }

/* -- unordered lists tags */ .page-content .mw-parser-output ul { margin-bottom: 6px; }

/* -- gallery tags */ ul.gallery li.gallerybox div.gallerytext p { font-size: 14px; }

/* packed */ ul.gallery.mw-gallery-packed li.gallerybox div.gallerytext { text-align: center; } .gallery.mw-gallery-packed .gallerybox { margin-right: 8px; }

/* nobackground */ ul.gallery.nobackground li.gallerybox .thumb { border: 0; background-color: transparent; } ul.gallery.nobackground li.gallerybox div.gallerytext { text-align: center; }

/* fix */ .gallery.fix .gallerybox, .gallery.fix .gallerybox > div { max-width: 322px !important; } .gallery.fix .gallerybox { margin-right: 8px; } .gallery.fix .thumb { max-width: 320px !important; border: 0; background-color: transparent; } .gallery.fix .thumb > div { margin: 0px auto !important; } .gallery.fix img { max-width: 320px; max-height: 192px; }

/* -- [D] Thumb images */ div.thumbinner { background-color: #20202060; border-color: #383838; } html .thumbimage { background-color: transparent; border: none; }

/* -- Image blur class */ img.blur { filter: blur(8px); -webkit-filter: blur(8px); transition: 0.25s; } img.blur:hover { filter: none; -webkit-filter: none; }

/* -- Hidden hover class */ .hidden-hover { width: 32em; border-right: 1px solid #808080; line-height: 2; color: transparent; text-shadow: 0 0 10px #FFFFFFFF; } .hidden-hover:hover { color: inherit; text-shadow: none; }

/* -- [D] reference tags */ ol.references li:target, sup.reference:target { background-color: #366098; } ol.references li:target a, sup.reference:target a { color: #50CEC9; }

/* -- [D] Custom Toggle */ .customtoggle { width: fit-content; background: #808080; border: 1px solid #C0C0C0; border-radius: 4px; padding: 2px 10px; outline: none; user-select: none; } .customtoggle:hover { background: #606060; }

/* -- [D] Ambox */ .ambox { background-color: #282828; border-bottom-color: #383838; border-right-color: #383838; border-top-color: #383838; border-collapse: collapse; font-size: 95%; margin: 0 auto 2px auto; width: 80%; }

.ambox-gray { border-left-color: #383838; }

.ambox.ambox-tiny { font-size: 90%; margin: 2px 0; width: auto; }

.ambox + .ambox { margin-top: -2px; }

.ambox-text { padding: 0.25em 0.5em; }

.ambox-image { padding: 2px 0px 2px 0.5em; text-align: center; width: 60px; }

/* Ambox colors */ .ambox-blue { border-left: 10px solid #1e90ff; }

.ambox-red { border-left: 10px solid #b22222; }

.ambox-orange { border-left: 10px solid #f28500; }

.ambox-yellow { border-left: 10px solid #f4c430; }

.ambox-purple { border-left: 10px solid #9932cc; }

.ambox-gray { border-left: 10px solid #bba; }

.ambox-green { border-left: 10px solid #228b22; }

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

/* INFOBOXES: game or book depended color style */ .infoboxtable { background-color: #2F2E30; border: 1px solid #CCCCCC; color: #FFFFFF; float: right; clear: right; font-size: 89%; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; width: 300px; }

.infoboxtable td { vertical-align: top; }

.infoboxtable td > div { background-color: #181818; border: 2px solid inherit; border-radius: 5px; font-weight: bold; padding: 0.5px 7px; text-align: right; }

.infoboxname { background-color: #181818; font-size: 110%; font-weight: bold; padding: 0.5em; }

.infoboxdetails { padding: 0em; }

/* -- Color links */ .color-link a { color: inherit !important; }

/* -- [D] Artifacts page Sacrifice drop chance collapse buttons */ .page-Artifacts .wikitable .mw-collapsible-toggle { float: right; margin-right: 10px; }

/* -- [D] Item tooltips */ .tooltip { display: inline-flex; display: -webkit-inline-flex; display: -ms-inline-flexbox; } .tooltip-block { display: none; position: fixed; z-index: 2; text-align: left; font-size: smaller; line-height: 1.2; padding: 0.8em; max-width: 510px; background: #000000E8; border: 1px solid #108ABD; border-radius: 0.4em; } .infoboxtable .tooltip-block { font-size: 95%; } @supports (backdrop-filter: blur(4px)) { .tooltip-block { background: #000000C0; backdrop-filter: blur(4px); } } .tooltip:hover > .tooltip-block { display: inline-flex; } .tooltip-block > span, .tooltip-block > div { display: inline-block; } .makeshift-hr { display: block; border: solid 0.5px dimgrey; margin: 4px 0; } .tooltip-icon { text-align: center; align-self: center; margin-right: 1em; } .tooltip-icon > span:first-child { display: block; border: solid 1px lightgrey; } .tooltip-icon > .cooldown { display: block; font-size: 1.25em; font-weight: bold; color: #FF7F7F; margin-bottom: -8px; }

/* -- [D] Extension:MultimediaViewer */ .mw-mmv-above-fold { color: #FFFFFF; background-color: #181818; text-align: center; }

/* -- Edit history byte color */ .mw-plusminus-pos { color: #1EB02D; } .mw-plusminus-neg { color: #D90000; }

/* -- Special:AllPages redirects text */ .allpagesredirect:after { color: #808080; content: " (redirect)"; }

/* -- User profile */ .curseprofile #profile-aboutme a { font-weight: 400; }

/* -- Username colors */ a[href="/wiki/User:Paradoxzyx"] { color: #000000 !important; } a[href="/wiki/User:Leeous"], a[href="/wiki/User:Jayyman48"] { color: #77FFEE !important; } a[href="/wiki/User:Empty_name_space"], a[href="/wiki/User:Harbingerofme"] { color: #00CC00 !important; } a[href="/wiki/User:Seud"] { color: #00CED1 !important; } a[href="/wiki/User:Rodotow"] { color: #CCBE00 !important; } a[href="/wiki/User:Hopoo"], a[href="/wiki/User:Ghorr"], a[href="/wiki/User:Paulthegoat"] { color: #E6712E !important; } a[href="/wiki/User:Pcj"] { color: #808080 !important; }

/* -- */ /* -- */ /* -- */ /*          Default Gamepedia CSS below              */ /* -- */ /* -- */ /* -- */

/* This governs the sections on the Community portal */ .cpbox { display: flex; flex-direction: row-reverse; flex-wrap: wrap; }

.cpbox #admins { box-sizing: border-box; width: calc(33% - 10px); margin: 5px; flex-grow: 1; min-width: 300px; }

.cpbox #help { box-sizing: border-box; width: calc(67% - 10px); margin: 5px; flex-grow: 1; }

.feature { background: rgba(0, 0, 0, 0.1); border: 1px solid rgba(0, 0, 0, 0.5); border-radius: 5px; padding: 10px; }

/* Template documentation styles */ /* If modifying these styles, be sure to update the mobile skin! */ .doc { margin: 0em auto 1em; background-color: rgba(0, 0, 0, 0.1); border: 2px solid #BDCAC3; border-radius: 1em; padding: 1em; }

.doc-header { padding-bottom: 3px; border-bottom: 1px solid #BDCAC3; margin-bottom: 1ex; }

.doc-footer { margin: 0; background-color: rgba(0, 0, 0, 0.1); border: 2px solid #BDCAC3; border-radius: 1em; padding: 1em; }

/* Classes permitting setting of alignment on desktop only or differently on desktop and mobile */ /* (See .mobileleft, .mobilecenter, .mobileright in MediaWiki:Mobile.css for the mobile equivalents */ .desktopleft {   text-align: left; }

.desktopcenter { text-align: center; }

.desktopright { text-align: right; }

/* Front page structure */ .fpbox { margin: 5px; padding: 5px; overflow: auto; width: calc(100% - 2px); }

.fpbox.plain { background: transparent; border: none; box-shadow: none; }

.fpbox .heading, .fpbox .mainheading, .fpbox .welcome { margin: 0 0 10px; padding: 0 0 5px; overflow: auto; }

.fpbox .mainheading, .fpbox .welcome { font-size: 150%; font-weight: bold; }

.fpbox .heading { text-align: center; font-size: 132%; }

.linkslabel { margin: 15px 5px 5px; padding: 0 0 5px; }

/* Template:FP links styles */ .fplinks { display: flex; flex-wrap: wrap; justify-content: space-evenly; align-items: stretch; text-align: center; }

.fplink-outer { padding: 5px; flex-basis: calc(25% - 10px); width: calc(25% - 15px); min-width: 115px; display: inline-block; vertical-align: middle; }

.fplink-wide { flex-basis: calc(33% - 10px); width: calc(33% - 15px); }

.fplink-fullwidth { flex-basis: 100%; width: calc(100% - 15px); font-weight: bold; }

.fplink { padding: 0.5em; box-sizing: border-box; width: 100%; height: 100%; display: table; }

.fplink-plain { background: transparent; border-radius: 0; border: 0; box-shadow: none; }

.fplink-inner { display: table-row; }

.fplink a { display: table-cell; vertical-align: middle; }

.fplink img { max-width: 150px; width: 100%; height: auto; } /* Auto-resize front page video to fit smaller columns */ .fpbox .embedvideowrap { width: 100%!important; max-width: 480px; margin: 0 auto; }

.fpbox .embedvideowrap iframe { width: 100%!important; }

/* Multi-column box support */ .fp-container main .columns .leftcol, .fp-container .columns .rightcol { width: 100%; margin: 0; padding: 0; }

@media (min-width: 990px) { .fp-container .columns .leftcol { float: left; width: 50%; }

.fp-container .columns .rightcol { float: right; width: 50%; } }

.fp-section { display: flex; flex-wrap: wrap; }

/* ***************************************************** */ /* This section affects the main page layout            */ /*                                                      */ /* Both 3 and 2 column layouts are here. Managers should */ /* remove whichever of the two they are not using, as   */ /* well as this comment. */ /* ***************************************************** */

/* This CSS governs the responsive 3 column main page layout */ min-height:calc(325px + 2.3em); }
 * 1) fptweets {

display: grid; grid-template-areas: "a" "b" "c" "d"; grid-template-columns: 100%; } @media screen and (min-width:990px) { #fp-3column.fp-container { grid-template-areas: "a b" "c b" "c d"; grid-template-columns: 50% 50%; } } @media screen and (min-width:1350px) { #fp-3column.fp-container { grid-template-areas: "a b c" "d b c"; grid-template-columns: 33.3% 33.3% 33.3%; } }
 * 1) fp-3column.fp-container {

grid-area: a; }
 * 1) fp-1 {

grid-area: b; }
 * 1) fp-2 {

grid-area: c; }
 * 1) fp-3 {

grid-area: d; }
 * 1) fp-4 {

/* end responsive 3 column main page layout */

/* this CSS governs the responsive 2 column main page layout */ display: grid; grid-template-areas: "a" "b" "c"; grid-template-columns: 100%; } @media screen and (min-width:990px) { #fp-2column.fp-container { grid-template-areas: "a b" "c c"; grid-template-columns: 50% 50%; } } @media screen and (min-width:1350px) { #fp-2column.fp-container { grid-template-areas: "a b" "c b"; grid-template-columns: auto 520px; } }
 * 1) fp-2column.fp-container {

grid-area: a; }
 * 1) fp-top {

grid-area: b; }
 * 1) fp-flex {

grid-area: c; }
 * 1) fp-bottom {

/* end responsive 2 column main page layout */

/* Front page appearance styles */ .fpbox .heading, .fpbox .mainheading { border: 0; border-bottom: 1px solid #505050; }

.fpbox { background: rgba(0, 0, 0, 0.05); border: 1px solid #505050; box-shadow: 0 2px 5px #505050; }

.fplink:not(.fplink-plain) { background: rgba(0,0,0,0.3); border: 1px solid #505050; }

.fplink-fullwidth .fplink:not(.fplink-plain) { background: rgba(0,0,0,0.4); }

.linkslabel { border-bottom: 2px solid #505050; }

/* ******************** */ /* End main page layout */ /* ******************** */