MediaWiki:Common.css

/* CSS placed here will be applied to all skins */ /******** @font-face { font-family: 'Exo2-Medium'; src: local('Exo2-Medium'), local('Exo2-Medium'), url('/media/hydra/fonts/Exo2-Medium.ttf') format('truetype'); }
 * Fonts *

@font-face { font-family: 'Permanent Marker'; font-style: normal; font-weight: 400; src: local('Permanent Marker Regular'), local('PermanentMarker-Regular'), url(https://fonts.gstatic.com/s/permanentmarker/v9/Fh4uPib9Iyv2ucM6pGQMWimMp004La2Cfw.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } /********/

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

.mw-rcfilters-ui-rcTopSectionWidget-topLinks-table { display: none; } /********** .column-2 { float: left; width: 50%; } .column-3 { float: left; width: 33.33%; } .column-4 { float: left; width: 25%; } .column-5 { float: left; width: 20%; }
 * Columns *

.row:after { content: ""; display: table; clear: both; }

/**************** .ambox { background-color: #3d3d3d; 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 Styling *

.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-tiny .ambox-image { padding: 2px 0.5em; text-align: left; width: auto; }

/* 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; }

/* 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; }

/* 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 appearance styles */ min-height:calc(435px + 2.3em); }
 * 1) fptweets {

display: grid; grid-template-areas: "a" "b" "c"; grid-template-columns: 100%; }
 * 1) fp-container {

@media screen and (min-width:1350px) { #fp-container { grid-template-areas: "a b" "c b"; grid-template-columns: auto 520px; } }

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

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

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

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

.fpbox { margin: 5px; padding: 5px; overflow: auto; background: rgba(0, 0, 0, 0.05); border: 1px solid #505050; box-shadow: 0 2px 5px #505050; 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 .heading, .fpbox .mainheading { border: 0; border-bottom: 1px solid #505050; }

.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; border-bottom: 2px solid #505050; }

/* 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-fullwidth .fplink { background: rgba(100,100,100,0.2); }

.fplink { padding: 0.5em; box-sizing: border-box; width: 100%; height: 100%; display: table; background: rgba(100,100,100,0.2); border: 1px solid #505050; }

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

/* this CSS governs the responsive 2 column main page layout */ .fpmaybecols { overflow: hidden; margin: -5px 0; }

.fpmaybecols + .fpmaybecols { margin: 0 0 -5px; }

.fpbox .heading .smalllink { color: #e0e0e0; font-size: 75%; font-weight: bold; }

.fpbox hr { border: none; border-bottom: 2px solid #505050; }

@media (min-width: 990px) { .fpmain { padding-right: 520px; width: auto; }

#fpbottomsection, #fptopsection { float: left; width: 100%; }

#fpflexsection { float: right; width: 520px; margin-right: -520px; }

#fpbottomsection { margin-top: -5px; } }

/********************************* .hover-gif img:only-child { opacity: 0; }
 * Used by Template:Hover gif *

.hover-gif .thumbinner { position: relative; opacity: 1; }

.hover-gif .thumbinner:before { position: absolute; background: url(https://static.wikia.nocookie.net/lastoasis_gamepedia_en/images/6/64/Gif_icon_overlay.png/revision/latest) no-repeat; /* */ background-size: 50px; width: 50px; height: 50px; top: calc(50% - 25px); left: calc(50% - 25px); content: ""; z-index: 2; }

.hover-gif .thumbinner:hover:before { display: none; }

.hover-gif canvas { position: absolute; left: 3px; border: 1px solid #282828; opacity: 1; transition: opacity 0.1s; }

.hover-gif .thumbinner:hover canvas { opacity: 0; }

/*********************** /*************** div#mw-panel div.portal li a[href="https://discord.gg/HEWjCcj"] { display: inline-block; position: relative; height: 20px; width: 119px; padding: 0 !important; }
 * End hover gif styles *
 * Wiki Discord *

div#mw-panel div.portal li a[href="https://discord.gg/HEWjCcj"]:before { position: absolute; width: 100%; height: 100%; top: 0; left: 0; content: ""; background: url(https://discordapp.com/api/guilds/622185987782475817/widget.png) no-repeat; } /******************* /******************* .infobox-custom.infobox-recipe { float: left; }
 * End Wiki Discord *
 * Custom Infoboxes *

.infobox-custom.infobox-recipe .tech-table tr { line-height: 1.2em; }

.infobox-custom.infobox-recipe .tech-table th { text-align: right; }

.infobox-custom.infobox-recipe .tech-table td.tech-type-icon { height: 80px; width: 80px; text-align: center; }

.infobox-custom.infobox-recipe .no-tech-node { text-align: center; transform: rotate(30deg); opacity: 0.4; font-size: 2em; } .infobox-custom .overlay-parent { position: relative; }

.infobox-custom .item-icon, .infobox-custom .stack-size { position: absolute; top: 0; }

/* Stack Size */ .infobox-custom .stack-size { top: 2px; right: 2px; height: 21px; padding: 4px; padding-left: 26px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='width:24px;height:24px' viewBox='0 0 25 25'%3E%3Cpath fill='%23111' d='M12 0L3 7L4.63 8.27L12 14L19.36 8.27L21 7L12 0M19.37 10.73L12 16.47L4.62 10.74L3 12L12 19L21 12L19.37 10.73M19.37 15.73L12 21.47L4.62 15.74L3 17L12 24L21 17L19.37 15.73Z' /%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 26px 26px; background-position: 1px 2px; border-radius: 5px; color: #ddd; font-size: 21px; line-height: 21px; text-shadow: #222 1px 1px; } /***********************
 * End Custom Infoboxes *