MediaWiki:Common.css

/* CSS placed here will be applied to all skins */ /* 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 structure */ .fpmain { width: 100%; overflow: hidden; }

.fpbox { margin: 5px; padding: 5px; overflow: auto; }

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

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

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

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

.fplink img { max-width: 100px; width: 100%; height: auto; }

/* Google Fonts */ @font-face { font-family: 'Titillium Web'; font-style: normal; font-weight: 400; src: local('Titillium Web Regular'), local('TitilliumWeb-Regular'), url(https://fonts.gstatic.com/s/titilliumweb/v6/NaPecZTIAOhVxoMyOr9n_E7fdM3mDbRS.woff2) format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@font-face { font-family: 'Titillium Web'; font-style: normal; font-weight: 400; src: local('Titillium Web Regular'), local('TitilliumWeb-Regular'), url(https://fonts.gstatic.com/s/titilliumweb/v6/NaPecZTIAOhVxoMyOr9n_E7fdMPmDQ.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; }

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

/* Images inside a container of this class will fill it horizontally and keep its aspect ratio */ .fill img { width: 100%; height: auto; }

.fill video { width: 100%; height: auto; }

.fill audio { width: 100%; height: auto; }

.fill iframe { width: 100%; height: auto; }

/* Used in Module:GameUIBuilder */ .frame > * { max-width: 100%; background-size: 100% 100%; }

.hide-if-nojs { display: none; }

.game-ui { font-family: 'Titillium Web', sans-serif; font-weight: 600; color: #C6E7ED; background-size: 100% 100%; display: flex; }

.game-ui .game-ui-titlebar { display: grid; grid-template-rows: auto; grid-template-columns: min-content 1fr min-content; }

.game-ui .game-ui-titlebar > .text { grid-row: 1; grid-column: 1 / span 3; }

.game-ui .game-ui-titlebar > .left-button { grid-row: 1; grid-column: 1; z-index: 1; }

.game-ui .game-ui-titlebar > .right-button { grid-row: 1; grid-column: 3; z-index: 1; }

.game-ui-label { width: 100%; justify-content: center; align-items: center; text-align: center; }

.game-ui-parentitemdisplay-label { width: 434px; height: 674px; background-image: url(/Special:Redirect/file/RefitFrame.png); background-origin: content-box; background-repeat: no-repeat; background-size: cover; }

.game-ui-info-label { max-width: 400px; width: 100%; height: 150px; background-image: url(/Special:Redirect/file/InfoLabelBackground.png); background-origin: content-box; background-size: 100% 100%; }

.game-ui-error-label { max-width: 400px; width: 100%; height: 150px; background-image: url(/Special:Redirect/file/ErrorLabelBackground.png); background-origin: content-box; background-size: 100% 100%; }

.game-ui-button { cursor: pointer; }

.game-ui-button:focus { outline: 3px solid #D8F9FF; }

.game-ui-button .data { display: none; }

.game-ui-edit-button { background-image: url(/Special:Redirect/file/EditButton.png); background-origin: content-box; background-repeat: no-repeat; background-size: cover; }

.game-ui-edit-button:hover { background-image: linear-gradient(0deg, rgba(255, 255, 255, 0.165), rgba(255, 255, 255, 0.165)), url(/Special:Redirect/file/EditButton.png); }

.game-ui-edit-button .game-ui-label { display: none; }

.game-ui-info-button { background-image: url(/Special:Redirect/file/InfoButton.png); background-origin: content-box; background-repeat: no-repeat; background-size: cover; }

.game-ui-info-button:hover { background-image: linear-gradient(0deg, rgba(255, 255, 255, 0.165), rgba(255, 255, 255, 0.165)), url(/Special:Redirect/file/InfoButton.png); }

.game-ui-info-button .game-ui-label { display: none; }

.game-ui-exit-button { background-image: url(/Special:Redirect/file/ExitButton.png); background-origin: content-box; background-repeat: no-repeat; background-size: cover; }

.game-ui-exit-button:hover { background-image: linear-gradient(0deg, rgba(255, 255, 255, 0.165), rgba(255, 255, 255, 0.165)), url(/Special:Redirect/file/ExitButton.png); }

.game-ui-exit-button .game-ui-label { background-origin: content-box; background-repeat: no-repeat; background-size: cover; }

.game-ui-back-button { background-image: url(/Special:Redirect/file/BackButton.png); background-origin: content-box; background-repeat: no-repeat; background-size: cover; }

.game-ui-back-button:hover { background-image: linear-gradient(0deg, rgba(255, 255, 255, 0.165), rgba(255, 255, 255, 0.165)), url(/Special:Redirect/file/BackButton.png); }

.game-ui-back-button .game-ui-label { display: none; }

.game-ui-ellipsis-button { background-image: url(/Special:Redirect/file/EllipsisButton.png); background-origin: content-box; background-repeat: no-repeat; background-size: cover; }

.game-ui-stack-button { background-image: url(/Special:Redirect/file/StackButton.png); background-origin: content-box; background-repeat: no-repeat; background-size: cover; }

.game-ui-stack-button-disabled { background-image: url(/Special:Redirect/file/StackButton-Disabled.png); background-origin: content-box; background-repeat: no-repeat; background-size: cover; }

.game-ui-viewship-button { background-image: url(/Special:Redirect/file/ViewShipButton.png); background-origin: content-box; background-repeat: no-repeat; background-size: cover; }

.game-ui-viewship-button-disabled { background-image: url(/Special:Redirect/file/ViewShipButton-Disabled.png); background-origin: content-box; background-repeat: no-repeat; background-size: cover; }

.game-ui-list { overflow-y: auto; scrollbar-width: thin; scrollbar-color: #C0E0E0 black; }

.game-ui-list > table { margin: 0; width: 100%; border: none; border-collapse: collapse; }

.game-ui-list > table tbody { display: table; width: 100%; }

.game-ui-list > table tr { vertical-align: middle; }

.game-ui-table, .game-ui-table th, .game-ui-table td { text-align: center; }

.game-ui-table { border: 2px solid #608080; margin: 3px 5px 1px 5px; }

.game-ui-table > table { margin: 0; }

.game-ui-table > table tbody { display: table; width: 100%; }

.game-ui-table tr:first-child th:first-child { padding: 8px; font-size: 1.1em; border: 1px solid #507070; background-color: #204040; }

.game-ui-table th { padding: 2px; font-size: 1.0em; border: 1px solid #406060; background-color: #183030; }

.game-ui-table td { font-size: 0.9em; border: 1px solid #204040; }

.game-ui-tabber { width: 100%; position: relative; }

.game-ui-tabber .tab { display: flex; position: relative; height: 34px; font-size: 1.2em; }

.game-ui-tabber .tabs-lone { width: 100%; }

.game-ui-tabber .tabs-lone > input[type=radio] { display: none; }

.game-ui-tabber .tabs-lone > .tab { position: relative; padding-left: 8px; background-image: url(/Special:Redirect/file/TabberTitleBar.png); }

.game-ui-tabber .tabs-multi { display: grid; width: 100%; /* background */ -webkit-background: linear-gradient(#182C34, black 100px); -moz-background: linear-gradient(#182C34, black 100px); -o-background: linear-gradient(#182C34, black 100px); background: linear-gradient(#182C34, black 100px); }

.game-ui-tabber .tabs-multi > input[type=radio] { display: none; }

.game-ui-tabber .tabs-multi > .tab { grid-row: 1; justify-content: center; align-items: center; margin-left: 2px; padding-left: 20px; padding-right: 20px; border-top: 2px solid #38636D; text-align: center; cursor: pointer; /* background */ -webkit-background: linear-gradient(#101B21, black); -moz-background: linear-gradient(#101B21, black); -o-background: linear-gradient(#101B21, black); background: linear-gradient(#101B21, black); }

.game-ui-tabber .tabs-multi > .tab::before { content: ""; position: absolute; top: -12px; left: -10px; height: 0; width: 0; border-left: 10px solid transparent; border-bottom: 10px solid transparent; border-top: 10px solid transparent; border-right: 10px solid black; box-shadow: 2px 0 #38636D; transform: rotate(45deg); }

.game-ui-tabber .tabs-multi > .tab:hover, .game-ui-tabber .tabs-multi > .tab:focus { border-color: #6B9BA4; text-decoration: none; /* background */ -webkit-background: linear-gradient(#1C3238, black); -moz-background: linear-gradient(#1C3238, black); -o-background: linear-gradient(#1C3238, black); background: linear-gradient(#1C3238, black); }

.game-ui-tabber .tabs-multi > .tab::focus { outline: 3px solid #D8F9FF; }

.game-ui-tabber .tabs-multi > .tab:hover::before, .game-ui-tabber .tabs-multi > .tab:focus::before { box-shadow: 2px 0 #6B9BA4; }

.game-ui-tabber .tabs-multi > input[type=radio]:checked + label { border-color: #3E7782; color: #C6E7ED; /* background */ -webkit-background: linear-gradient(#294A52, #183037); -moz-background: linear-gradient(#294A52, #183037); -o-background: linear-gradient(#294A52, #183037); background: linear-gradient(#294A52, #183037); }

.game-ui-tabber .tabs-multi > input[type=radio]:checked + label::before { box-shadow: 2px 0 #3E7782; }

.game-ui-tabber .tabs-multi > input[type=radio]:checked + label:hover, .game-ui-tabber .tabs-multi > input[type=radio]:checked + label:focus { border-color: #6B9BA4; text-decoration: none; }

.game-ui-tabber .tabs-multi > input + label + * { grid-column: 1 / -1; /* background */ -webkit-background: linear-gradient(#182C34, black 100px); -moz-background: linear-gradient(#182C34, black 100px); -o-background: linear-gradient(#182C34, black 100px); background: linear-gradient(#182C34, black 100px); }

.game-ui-tabber .tabs-multi > input[type=radio]:not(:checked) + label + * { display: none; }

.game-ui-menu { flex-flow: column nowrap; width: 1004px; margin-top: -4px; border: 2px solid #1E3039; background-color: black; }

.game-ui-menu .game-ui-titlebar { align-items: center; width: 100%; height: 45px; background-image: url(/Special:Redirect/file/BlockMenu-TitleBar.png); }

.game-ui-menu .game-ui-titlebar .text { position: relative; text-align: center; text-transform: uppercase; font-size: 1.4em; }

.game-ui-infobox > * { margin-bottom: 4px; }

.game-ui-infobox .game-ui-tabber { flex-flow: column nowrap; width: 100%; }

.game-ui-infobox .game-ui-list { padding: 0 8px 0 8px; }

.game-ui-infobox .game-ui-list > table { border-spacing: 0; font-size: 0.85em; }

.game-ui-infobox-sidebar { float: right; width: 256px; margin: 4px 8px 4px 8px; }

.game-ui-infobox-sidebar .game-ui-titlebar { align-items: center; width: 100%; height: 40px; background-image: url(/Special:Redirect/file/SidebarInfobox-TitleBar.png); }

.game-ui-infobox-sidebar .game-ui-titlebar .text { position: relative; bottom: 6px; margin-left: 8px; text-align: left; text-transform: none; font-size: 1.1em; }

.game-ui .game-ui-titlebar > .left-button { margin: -6px 0 0 4px; grid-row: 1; grid-column: 1; z-index: 1; }

.game-ui .game-ui-titlebar > .right-button { margin: -6px 4px 0 0; grid-row: 1; grid-column: 3; z-index: 1; }

.game-ui-infobox-sidebar .game-ui-titlebar .game-ui-edit-button { width: 24px; height: 24px; }

.game-ui-infobox-sidebar .game-ui-titlebar .game-ui-exit-button { width: 48px; height: 24px; }

.game-ui-infobox-sidebar .game-ui-description > .text { margin: 8px; font-size: 0.8em; text-align: left; }

.game-ui-infobox-sidebar .game-ui-list { padding: 4px; font-size: 0.85em; }

.game-ui-infobox-sidebar .game-ui-list > table tr { height: 22px; }

.game-ui-infobox-sidebar .game-ui-list .row-image { padding: 0.1em 0.1em 0.1em 4px; width: 16px; text-align: center; }

.game-ui-infobox-sidebar .game-ui-list .row-image img { height: 16px; width: 16px; }

.game-ui-infobox-sidebar .game-ui-list .row-left { padding: 0.1em 0.1em 0.1em 4px; text-align: left; }

.game-ui-infobox-sidebar .game-ui-list .row-right { padding: 0.1em 4px 0.1em 0.1em; text-align: right; }

.game-ui-infobox-sidebar .game-ui-list .row-right > div { width: 16px; height: 16px; float: right; }

.game-ui-infobox-sidebar .game-ui-list > table tr:nth-of-type(odd):hover { background-color: rgba(255, 255, 255, 0.3); }

.game-ui-infobox-sidebar .game-ui-list > table tr:nth-of-type(even) { background-image: url(/Special:Redirect/file/StatBarTexture.png); background-repeat: repeat; }

.game-ui-infobox-sidebar .game-ui-list > table tr:nth-of-type(even):hover { background-image: linear-gradient(0deg, rgba(255, 255, 255, 0.165), rgba(255, 255, 255, 0.165)), url(/Special:Redirect/file/StatBarTexture.png); background-repeat: repeat; }

.game-ui-infobox-block { max-height: 420px; width: 640px; max-width: 100%; margin: -4px; }

.game-ui-infobox-block .game-ui-titlebar { align-items: center; width: 100%; height: 70px; background-image: url(/Special:Redirect/file/BlockInfobox-TitleBar.png); }

.game-ui-infobox-block .game-ui-titlebar .text { position: relative; bottom: 6px; text-align: center; text-transform: none; font-size: 1.3em; }

.game-ui-infobox-block .game-ui-titlebar .game-ui-back-button { width: 68px; height: 52px; }

.game-ui-infobox-block .game-ui-description > .text { padding: 16px 32px 16px 32px; border-bottom: 1px solid #223A3F; min-height: 64px; width: 100%; text-align: center; font-size: 0.9em; }

.game-ui-infobox-block .game-ui-list { padding: 4px; font-size: 0.85em; }

.game-ui-infobox-block .game-ui-list .row-image { border: 1px solid #223A3F; width: 32px; text-align: center; }

.game-ui-infobox-block .game-ui-list > table tr:hover .row-image { background-color: rgba(255, 255, 255, 0.25); }

.game-ui-infobox-block .game-ui-list .row-image img { width: 32px; height: 32px; }

.game-ui-infobox-block .game-ui-list .row-left, .game-ui-infobox-block .game-ui-list .row-right { border-top: 1px solid #223A3F; border-bottom: 1px solid #223A3F; background-color: #0A1113; }

.game-ui-infobox-block .game-ui-list .row-left { border-left: 1px solid #223A3F; padding-left: 6px; }

.game-ui-infobox-block .game-ui-list .row-right { border-right: 1px solid #223A3F; padding-right: 6px; text-align: right; }

.game-ui-infobox-block .game-ui-list > table tr:hover .row-left, .game-ui-infobox-block .game-ui-list > table tr:hover .row-right { background-color: #1A2123; }

.game-ui-infobox-block .game-ui-list .row-right > div { width: 32px; height: 32px; float: right; }

.game-ui-dialog-menu { max-height: 500px; width: 500px; max-width: 100%; }

.game-ui-dialog-menu .game-ui-titlebar { align-items: center; width: 100%; height: 50px; background-image: url(/Special:Redirect/file/DialogMenu-TitleBar.png); }

.game-ui-dialog-menu .game-ui-titlebar .text { position: relative; bottom: 6px; text-align: center; text-transform: uppercase; font-size: 1.2em; }

.game-ui-dialog-menu .game-ui-titlebar .game-ui-back-button { width: 50px; height: 33px; }

.help { border-bottom: 1px dotted white; cursor: help; }

.game-ui-tooltip > .hover-content { position: absolute; display: none; z-index: 999;

max-width: 200px; padding: 5px; border: 1px solid #243C41; border-top-color: #438592; background: black; text-align: center; font-family: 'Titillium Web', sans-serif; font-weight: 600; white-space: normal; text-transform: none; }

.game-ui-tooltip:hover > .hover-content { position: fixed; overflow: hidden; display: block; box-shadow: 2px 2px #000000; }

/* Template:Item Icon */ div.overlap-64 { display: block; position: relative; width: 64px; height: 64px; border: 0; line-height: 1; text-align: left; vertical-align: bottom; }

div.overlap-64 img { height: 100%; width: 100%; }

div.overlap-64 .mask { position: absolute; width: 64px; height: 64px; z-index: 999; }

div.overlap-64 .background { position: absolute; width: 64px; height: 64px; z-index: 1; }

div.overlap-64 .item { position: absolute; left: 6px; bottom: 6px; width: 40px; height: 40px; z-index: 2; }

div.overlap-64 .itemtype { position: absolute; left: 2px; bottom: 4px; width: 16px; height: 16px; z-index: 3; }

div.overlap-64 .itemlevel { position: absolute; right: 13px; top: 14px; font-family: 'Titillium Web', sans-serif; font-weight: 600; font-size: 12px; text-align: right; text-shadow: -1px -1px 1px #000000, 1px -1px 1px #000000, -1px 1px 1px #000000, 1px 1px 1px #000000; z-index: 3; }

div.overlap-96 { display: block; position: relative; width: 96px; height: 96px; border: 0; line-height: 1; text-align: left; vertical-align: bottom; }

div.overlap-96 img { height: 100%; width: 100%; }

div.overlap-96 .mask { position: absolute; width: 96px; height: 96px; z-index: 999; }

div.overlap-96 .background { position: absolute; width: 96px; height: 96px; z-index: 1; }

div.overlap-96 .item { position: absolute; left: 9px; bottom: 9px; width: 60px; height: 60px; z-index: 2; }

div.overlap-96 .itemtype { position: absolute; left: 3px; bottom: 6px; width: 24px; height: 24px; z-index: 3; }

div.overlap-96 .itemlevel { position: absolute; right: 19px; top: 21px; font-family: 'Titillium Web', sans-serif; font-weight: 600; font-size: 18px; text-align: right; text-shadow: -1px -1px 1px #000000, 1px -1px 1px #000000, -1px 1px 1px #000000, 1px 1px 1px #000000; z-index: 3; }