MediaWiki:Common.css

/* CSS placed here will be applied to all skins (when even FandomMobile sometimes does not want to load them)*/

/****** Pre-setup ******/ /* Discord */ width: 300px; height: 140px; margin-bottom: 15px; }
 * 1) Discord {

display: inline-block; position:relative; height: 140px; width: 300px; }
 * 1) Discord a {

position:absolute; width:100%; height:100%; top:0; left:0; content:""; background: url(https://discord.com/api/guilds/446658603873730611/widget.png?style=banner3) no-repeat; background-size: contain; }
 * 1) Discord a::before {

transition: 300ms; }
 * 1) mw-head li span{

/***** SIDEBAR *****/ div#mw-panel div.portal li a[href="https://discord.gg/raft"] { display: inline-block; position:relative; height: 20px; width: 119px; margin-top: 10px; }

div#mw-panel div.portal li a[href="https://discord.gg/raft"]::before { position:absolute; width:100%; height:100%; top:0; left:0; content:""; background:url(https://discord.com/api/guilds/446658603873730611/embed.png) no-repeat; }

background: transparent url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAHAQMAAAD6aRWtAAAABlBMVEVvcnQ4rfnOOrwQAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfhAxQGMDqU0EtsAAAAFElEQVQI12NwYEhgKGCoAOIEBgcAEjYCmWxNs0wAAAAASUVORK5CYII=") center left no-repeat; }
 * 1) mw-panel.collapsible-nav .portal.collapsed h3, .skin-hydradark #mw-panel.collapsible-nav .portal.collapsed h3 {

background: transparent url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAEAQMAAAB4CLc+AAAABlBMVEVvcnQ4rfnOOrwQAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfhAxQGMBKhZeOWAAAAEElEQVQI12P4x1DDYMEgAAAKHgHDGrfkbwAAAABJRU5ErkJggg==") center left no-repeat; }
 * 1) mw-panel.collapsible-nav .portal.expanded h3 {

/**** SITENOTICE *****/

/**** RAFT LOGO *****/ /*  * Normal - https://static.wikia.nocookie.net/raft_gamepedia_en/images/b/bc/Wiki.png * Halloween - https://static.wikia.nocookie.net/raft_gamepedia_en/images/e/e4/Wiki-Halloween.png * Winter - https://static.wikia.nocookie.net/raft_gamepedia_en/images/4/47/WikiWinter.png * Raft Birthday - Not avaible yet */ .mw-wiki-logo { background: url(https://static.wikia.nocookie.net/raft_gamepedia_en/images/b/bc/Wiki.png); }

/***** CONTENT *****/ /* Ambox */ .ambox { border-radius: 2px 5px 5px 2px; border: none; box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12); font-size: 95%; margin: 0 auto 10px auto; padding: 3px 6px; max-width: 80%; min-width: 50%; }

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

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

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

.ambox-black { border-left: 10px solid #191d20; }

.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; }

/* Navboxes */ .navbox { background: #FFF; border: 1px solid #CCC; margin: 1em auto 0; width: 100%; }

.navbox table { background: #FFF; margin-left: -4px; margin-right: -2px; } .navbox table:first-child { margin-top: -2px; } .navbox table:last-child { margin-bottom: -2px; }

.navbox .navbox-top { white-space: nowrap; background-color: #CCC; padding: 0 3px; text-align: center; }

.navbox-navbar, .navbox-navbar-mini { float: left; font-size: 80%; }

.navbox-title { padding: 0 10px; font-size: 110%; }

.navbox th { background-color: #EEE; padding: 0 10px; white-space: nowrap; text-align: right; }

.navbox td { width: 100%; padding: 0 0 0 2px; }

/* Responsive design */ @media (min-width: 910px) { .fpmaybelcol3 { float: left; width: 75%; }

.fpmaybercol3 { float: right; width: 24.9%; }

#Discord, #Discord a { width: 200px; } }

@media (max-width: 909px) { #Discord, #Discord a { width: 300px; } }

@media (min-width: 1320px) { .fpmaybelcol { float: left; width: 66.6%; }

.fpmaybercol { float: right; width: 33.3%; }

.fpmaybelcol2 { float: left; width: 50%; }

.fpmaybercol2 { float: right; width: 50%; }

.fpmaybelcol3 { float: left; width: 78%; }

.fpmaybercol3 { float: right; width: 21.9%; } }

@media (min-width: 1540px) { #Discord, #Discord a { width: 250px; } }

@media (min-width: 1760px) { #Discord, #Discord a { width: 300px } }

/* FPbox */ .fpbox, .box, .cpbox { margin: 5px; padding: 5px; border-radius:6px; overflow: auto; width: calc(100% - 20px); }

.fpbox .welcome, .box .welcome, .cpbox .welcome { font-weight: bold; font-size: 150%; margin: 0 0 10px 0; padding: 0 0 5px 0; text-align: center; overflow: auto; border-radius: 6px; }

.fpbox .heading, .box .heading, .cpbox .heading { font-size: 115%; text-align: center; margin: 1px 0 14px 0; padding: 0 0 5px 0; text-transform: none; }

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

.columns .fpbox .gallery { margin:auto; }

min-height:calc(540px + 2.3em); }
 * 1) fptweets {

.fp-container { display: grid; grid-template-areas: "a" "b" "c" "d" "e"; grid-template-columns: 100%; }

@media screen and (min-width:990px) { .fp-container { grid-template-areas: "a a" "b b" "c d" "e e"; grid-template-columns: 50% 50%; }

.columns { display:flex; } }

@media screen and (min-width:1350px) { .fp-container { grid-template-areas: "a a a d" "b b c d" "e e e d"; grid-template-columns: 26% 26% 26% 22%; } }

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

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

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

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

grid-area: e; }
 * 1) fp-5 {

.cp-container { display: grid; grid-template-areas: "a" "b"; grid-template-columns: 100%; }

@media screen and (min-width:1350px) { .cp-container { grid-template-areas: "a b"; grid-template-columns: 66% 33%; } }

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

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

/** Infobox **/ /* Infobox's body */ .infobox { float: right; background:-webkit-radial-gradient(center, ellipse cover, rgba(110,84,52,1) 0%, rgba(110,84,52,1) 1%, rgba(104,77,46,1) 100%); /* safari5.1+,chrome10+ */ border: 1px solid #000 ; border-radius:5px; border-left: 3px solid #5f3822; border-right: 3px solid #5f3822; border-bottom: 5px solid #684c2e; border-top: 5px solid #baa16a; max-width: 400px; min-width: 300px; color: #baa16a; padding: 5px; margin: 0 2px 2px 10px; }

/* Infobox's body under 600px (mobile fix) */ @media (max-width: 600px) { .infobox { max-width: 100%; width: 100%; min-width: 256px; } }

/* Header*/ .infobox .header { text-transform: uppercase; text-align: center; color: #a48754; }

.infobox a { color: #0088aa; }

.infobox a:new { color: inherit; }

.infobox th, .infoboxtable .components { background: url("https://static.wikia.nocookie.net/raft_gamepedia_en/images/4/40/Gradient1.png/revision/latest") no-repeat center center / cover; }

.infobox .components { padding: 12px 9.5px; margin-left: -2px; background-image: -webkit-linear-gradient(left, #5f3a20 0%, #694D2F 100%); }

.infobox .componentsimage { background:-webkit-radial-gradient(center, ellipse cover, rgba(181,153,99,1) 0%, rgba(144,114,69,1) 100%); /* safari5.1+,chrome10+ */ margin-left: 15px; border-radius: 5px; }

.infobox .headerSeperator { border-bottom: 4px solid #baa16a; }

/* OLD INFOBOXTABLE*/ .infoboxname { background:#1B1823; color: #000 ; font-size: 115%; border: 1px solid #1B1823 ; border-radius:5px; }

.infoboxlabel { width: 50%; background:#1B1823; color: #000; border: 1px solid #1B1823; border-radius:5px; padding: 0.5px 7px; text-align: right; }

.infoboxtable a { color: #0088aa; }

.infoboxtable th { background: url("https://static.wikia.nocookie.net/raft_gamepedia_en/images/4/40/Gradient1.png/revision/latest") no-repeat center center / cover; }

.infoboximage { background:-webkit-radial-gradient(center, ellipse cover, rgba(181,153,99,1) 0%, rgba(144,114,69,1) 100%); /* safari5.1+,chrome10+ */ border-radius:5px; }

.infoboxtable .components { padding: 9.5px; margin-left: -2px; background-image: -webkit-linear-gradient(left, #5f3a20 0%, #694D2F 100%); background: url("https://static.wikia.nocookie.net/raft_gamepedia_en/images/4/40/Gradient1.png/revision/latest") no-repeat center center / cover; padding-top: 12px; padding-bottom: 12px; }

.infoboxtable .componentsimage { background:-webkit-radial-gradient(center, ellipse cover, rgba(181,153,99,1) 0%, rgba(144,114,69,1) 100%); /* safari5.1+,chrome10+ */ margin-left: 15px; border-radius: 5px; }

/**** Spoilers ****/ .spoilers { display: inline-block; background: rgba(6,69,173,0.5); color: white; padding: 5px; border-radius: 5px; outline: none; user-select: none }

body .mw-parser-output .spoilers a { color: #92ecff; text-decoration:underline; }

display: none; }
 * 1) spoilerTemplate span::before {

display: none; }
 * 1) spoilerTemplate span::after {

background: rgba(6,69,173,0.5); padding: 5px; border-radius: 5px; }
 * 1) spoilerTemplate .mw-collapsible-text {

/**** TEMPORARY CODE ****/ .explore { display: grid; grid-template-areas: "a b" "c d" "e f" "g h" "i -"; grid-template-columns: 50% 50%; } @media (min-width:1700px) { .explore { grid-template-areas: "a b c" "d e f" "g h i"; grid-template-columns: 33% 33% 33%; } }	grid-area: a; } grid-area: b; } grid-area: c; } grid-area: d; } grid-area: e; } grid-area: f; } grid-area: g; } grid-area: h; } grid-area: i; }
 * 1) ex-1 {
 * 1) ex-2 {
 * 1) ex-3 {
 * 1) ex-4 {
 * 1) ex-5 {
 * 1) ex-6 {
 * 1) ex-7 {
 * 1) ex-8 {
 * 1) ex-9 {

display: inline; float: right; }
 * 1) main-page-links ul li {

list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAANAQMAAABb8jbLAAAABlBMVEUAAAAufMCPWiZvAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfhAxQGNS+EelvCAAAAFUlEQVQI12NgQAEFDA0MHQwcQJoBAA6aAfGXImSHAAAAAElFTkSuQmCC"); padding: 0 5px; }
 * 1) main-page-links ul li:after {

list-style-image: none; }
 * 1) main-page-links ul li:last-child {