mNo edit summary |
m (hide header on main page) |
||
Line 882: | Line 882: | ||
/*Background header re-positioning */ |
/*Background header re-positioning */ |
||
.fandom-community-header__background.cover { background-position: 50% 0%; } |
.fandom-community-header__background.cover { background-position: 50% 0%; } |
||
+ | |||
+ | /* Hiding header on Main & Content Portal pages */ |
||
+ | .page-Everspace_Wiki .page-header__title-wrapper { |
||
+ | display:none; |
||
+ | } |
||
+ | .page-Everspace_Wiki .page-header { |
||
+ | margin-bottom: -10px; |
||
+ | } |
Revision as of 15:09, 5 June 2021
/**** FONTS ****/
/* Custom fonts used in-game ES2 */
/*Lato - used for continuous text */
/* latin-ext */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 400;
src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v16/S6uyw4BMUTPHjxAwXjeu.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;
}
/* latin */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 400;
src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v16/S6uyw4BMUTPHjx4wXg.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;
}
/*Joesfin Sans - used for bold headlines, regular for subheaders */
/* vietnamese */
@font-face {
font-family: 'Josefin Sans';
font-style: normal;
font-weight: 400;
src: local('Josefin Sans Regular'), local('JosefinSans-Regular'), url(https://fonts.gstatic.com/s/josefinsans/v14/Qw3aZQNVED7rKGKxtqIqX5EUAnx4RHw.woff2) format('woff2');
unicode-range: U+0102-0103, U+0110-0111, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
font-family: 'Josefin Sans';
font-style: normal;
font-weight: 400;
src: local('Josefin Sans Regular'), local('JosefinSans-Regular'), url(https://fonts.gstatic.com/s/josefinsans/v14/Qw3aZQNVED7rKGKxtqIqX5EUA3x4RHw.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;
}
/* latin */
@font-face {
font-family: 'Josefin Sans';
font-style: normal;
font-weight: 400;
src: local('Josefin Sans Regular'), local('JosefinSans-Regular'), url(https://fonts.gstatic.com/s/josefinsans/v14/Qw3aZQNVED7rKGKxtqIqX5EUDXx4.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;
}
/* header font */
#mw-panel h3 {
font-family: 'Josefin Sans', Arial, sans-serif;
font-size: 80% !important;
}
#firstHeading {
font-family: 'Josefin Sans', Arial, sans-serif;
}
.mw-headline {
font-family: 'Josefin Sans', Arial, sans-serif;
color: #f9f9f9;
}
/* Front page image links */
.imglnk {
display: inline-block;
text-align: center;
margin: 5px;
}
.imglnk * {
text-align: center;
}
.imglnk .imglnk-image {
margin-bottom: -30px;
}
.imglnk .imglnk-text {
position: relative;
font-family: 'Metrophobic', Arial, sans-serif;
font-weight: bold;
font-size: 120%;
color: #ffffff;
text-align: center;
text-shadow: 1px 1px 1px #404040;
z-index: 1;
}
.imglnk .imglnk-text > a {
color: #ffffff !important;
}
/* Hover brighten effect used on main page & portals */
img.brighthover:hover {
filter: saturate(2);
}
/* Main page / portal page boxes */
.fpbox {
border-style: solid;
border-color: gray;
border-width: 1px;
margin: 5px;
padding: 5px;
}
.fpbox .heading {
border-bottom: 1px solid #505050;
font-size: 132%;
font-variant: small-caps;
margin: 0 0 10px 0;
padding: 0 0 5px 0;
}
.fpcontent {
width: 100%;
overflow: hidden;
z-index: 1;
display: inline;
}
#fpwiki * {
text-align: left;
}
.fpwiki-centered {
text-align: center !important;
}
.fpwiki-centered * {
text-align: center !important;
}
.fp-image * {
max-width: 500px !important;
max-height: 350px !important;
height: auto;
margin: auto;
display: flex;
}
@media (max-width: 1299px) {
#fptopsection {
display: flex;
flex-direction: column;
}
#fpflexsection {
display: flex;
flex-direction: column;
}
#fpbottomsection {
display: flex;
flex-direction: column;
}
}
@media (min-width: 1300px) {
#fptopsection {
float: left;
width: 50%;
display: flex;
flex-direction: column;
}
#fpflexsection {
width: 50%;
float: right;
display: flex;
flex-direction: column;
}
#fpbottomsection {
width: 50%;
float: left;
display: flex;
flex-direction: column;
}}
/*Some basic styling */
.big {
font-size: 16px;
}
.caps {
text-transform: uppercase;
}
.upper {
text-transform: capitalize;
}
.red {
color: #fb5b4e;
}
.sand {
color: #FFE3A4 !important;
}
.green {
color: #7DD573;
}
.blue {
color: #8CB4C2;
}
.break {
font-size: 7px;
}
/* Custom text colors */
.text-com {color: rgb(188,188,188);}
.text-unc {color: rgb(80,234,188);}
.text-rare {color: rgb(0,203,255);}
.text-sup {color: rgb(255,20,92);}
.text-gray {color: rgb(180,180,180);}
/*** tables ***/
table.wikitable {
text-align: center;
}
.table-center {
margin: auto;
}
.theme-fandomdesktop-dark .wikitable th {
background-color: #012437;
border: 1px solid #5a7180;
color: #FFFFFF;
}
.theme-fandomdesktop-dark .wikitable td {
border: 1px solid #5a7180;
color: #c0c0c0;
}
table.mw_metadata th {
background-color: #012437;
border: 1px solid #5a7180;
color: #FFFFFF;
}
table.mw_metadata td {
background-color: transparent;
border: 1px solid #5a7180;
color: #c0c0c0;
}
.theme-fandomdesktop-dark .mw-datatable th {
border: 1px solid #5a7180;
}
.theme-fandomdesktop-dark .mw-datatable,
.mw-datatable td {
border: 1px solid #5a7180;
}
.theme-fandomdesktop-dark .TablePager {
background-color: rgba(0, 0, 0, 0);
border:1px solid #5a7180;
color: #c0c0c0;
padding:0 0.15em;
}
.theme-fandomdesktop-dark .TablePager th {
background-color: #012437;
color: #ffffff;
border:1px solid #5a7180;
padding:0 0.15em;
}
.TablePager tr:hover td {
background-color: rgba(0, 0, 0, 0.2) !important;
color: #FFFFFF;
}
.TablePager th a {
background-color: #012437;
color: #FFFFFF !important;
}
.TablePager td {
background-color: rgba(0, 0, 0, 0);
border: 1px solid #5a7180;
color: #c0c0c0;
}
/******************
/* Ambox templates *
/******************/
.ambox {
border-collapse: collapse;
border: none;
background: #2f2f2f;
color: #E0E0E0;
font-size: 95%;
margin: 0 auto 5px auto;
width: 80%;
}
.ambox-gray {
border-left: 10px solid #383838;
}
.ambox.ambox-tiny {
font-size: 90%;
margin: 2px 0;
width: auto;
}
.ambox + .ambox {
margin-top: -10px;
}
.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 #0855a0;
}
.ambox-red {
border-left: 10px solid #b22222;
}
.ambox-orange {
border-left: 10px solid #c67615;
}
.ambox-yellow {
border-left: 10px solid #bf940f;
}
.ambox-purple {
border-left: 10px solid #892cb7;
}
.ambox-green {
border-left: 10px solid #1b721b;
}
/* 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: rgba(0, 0, 0, 0);
border: 1px solid #505050;
color: #ffffff;
float: 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;
color: #FFE3A4;
font-size: 110%;
font-weight: bold;
padding: 0.5em;
}
.infoboxdetails {
color: #FFE3A4;
padding: 0em;
}
/* custom infoboxes */
.info-flex {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
.info-empty {
display: none;
}
.info-noalign {
float: none;
}
.info-rightalign {
float: right;
}
.info-padding {
padding: 5px;
}
.info-container {
background-color: #000000;
border: 2px solid #1C3942;
margin: 5px;
margin-top: 1px;
border-collapse: separate;
border-spacing: 6px;
width: 500px;
font-family: 'Josefin Sans', Arial, sans-serif;
}
.info-row-top {
text-align: center;
}
.info-row {
width: 100%;
}
.info-desc{
width: 100%;
font-family: 'Lato', Arial, sans-serif;
}
.info-name {
color: #FFE3A4;
font-size: 120%;
}
.info-type {
font-size: 110%;
}
.info-inner {
color: #8CB4C2;
border: 2px solid #1C3942;
padding: 1px 0 1px 5px;
margin: 0;
font-size: 15px;
}
.info-left {
float: left;
}
.info-right {
float: right;
padding-right: 5px;
}
.entry {
padding: 1px 0;
}
/* glyph infobox specific */
.info-image-glyph {
width: 82px;
}
.info-head-glyph {
text-align: center;
width: 350px;
}
.info-name-glyph {
font-size: 120%;
margin-bottom: 10px;
color: #8CB4C2;
}
.info-type-glyph {
font-size: 105%;
color: #8CB4C2;
}
.info-posneg {
display: flex;
margin-top: 2px;
}
.info-posneg.info-empty {
display: none;
}
.info-posneg-image {
padding: 5px 0;
}
.info-posneg-text {
font-family: 'Lato', Arial, sans-serif;
font-size: 15px;
padding: 6px 0 0 5px;
}
/* resource infobox specific */
.info-image-resource {
width: 65px;
padding-bottom: 5px;
vertical-align: top;
}
.info-desc-resource {
font-family: 'Lato', Arial, sans-serif;
vertical-align: top;
}
/* crafting/repair infobox specific */
.info-craft-container {
width: 350px;
}
.info-craft-text {
font-size: 15px;
padding: 6px 5px;
}
/* link box specific */
.info-link-container {
width: 170px;
height: 150px;
}
.info-link-top {
vertical-align: top;
}
.info-link-bottom {
vertical-align: bottom;
}
/* codex */
.codex-expand {
border: 1px solid #a9d5f0;
box-shadow: none;
margin-top: 20px;
margin-bottom: 20px;
}
.codex-header > .mw-collapsible-toggle * {
color: #ffffff;
font-size: small;
font-weight: normal;
}
.mw-content-ltr .mw-collapsible-toggle,
.mw-content-rtl .mw-content-ltr .mw-collapsible-toggle {
padding-left: 3px;
}
.codex-inner {
border-top: 1px solid #a9d5f0;
padding-top: 3px !important;
padding: 0 5px;
color: #ffffff;
font-size: 110%;
}
.codex-header {
text-align: left;
font-family: 'Josefin Sans', Arial, sans-serif;
font-size: 110%;
color: #a9d5f0;
padding: 0 5px;
}
/* codex-image */
@media (min-width: 1350px) {
.codex-image {
float: right;
padding: 0 10px;
}
}
@media (max-width: 1349px) {
.codex-image {
text-align: center;
padding: 10px 0;
}
}
@media (max-width: 899px) {
.codex-image > a > img {
max-width: 400px;
height: auto;
}
}
@media (min-width: 900px) {
.codex-image > a > img {
max-width: 600px;
height: auto;
}
}
.InvisibleAlignmentBox{
/* Used for tabber */
float:right;
background-color: #00000000;
border: none;
padding: 0; width:505px;
margin-left: 5px;
}
/*Tabber styling */
.tabber .wds-tab__content {
padding: 0;
position: relative;
top: -29px;
}
.tabber > .wds-tabs__content.wds-is-current {
/* tabber visible content */
border-radius: 3px;
border: none;
background: rgba(0,0,0,0.5);
color: #d5d5d5;
}
/* override extension's default stylesheet */
.tabber ul.wds-tabs {
margin: 0;
border-bottom: none;
padding: 3px 0;
font: bold 12px Verdana,sans-serif;
}
.wds-tabs__wrapper.with-bottom-border {
border: 0;
z-index: 1;
margin-left:10px;
}
.wds-tabs__tab.wds-is-current {
box-shadow: none;
}
.wds-tabs__tab-label {
height: 26px;
margin: 0 2px;
}
ul.wds-tabs li a {
padding: 3px 1em 2px;
}
ul.wds-tabs li a:link {
/* tabber tabs override extension's default stylesheet */
color: #d5d5d5;
border: 2px solid #1C3942;
/* Inactive Tabs */
background-color: #1C3942;
}
.tabber > .wds-tabs > li > a:hover {
/* tabber tabs when being hovered */
color: #000;
background: #FFF;
}
.tabber > .wds-tabs > li.wds-is-current > a {
/* selected tabber tab */
border-bottom: 2px solid #1C3942;
background-color: #000;
color: #FFF;
}
.tabber > .wds-tabs > li.wds-is-current > a:hover {
/* selected tabber tab when being hovered */
background-color: #000;
color: #FFF;
}
ul.wds-tabs li a:hover {
background: none repeat scroll 0 0 #000000;
border-color: #1C3942;
color: #FFFFFF;
}
ul.wds-tabs li.wds-is-current a {
background-color: #000000;
color: #FFFFFF;
}
ul.wds-tabs li.wds-is-current a,
ul.wds-tabs li.wds-is-current a:hover,
ul.wds-tabs li.wds-is-current a:link {
background-color: #000000;
border-bottom: 1px none;
padding: 3px 1em 5px;
}
/* Elite icon template for enemy pages/tables */
.elite {
width: 32px;
margin: 3px;
border: 5px solid #0A2236;
box-shadow: 0 0 0.6em #0A2236;
}
/********************
/* Navbox templates *
/********************/
table.navbox {
border: 1px solid #666666;
background: rgba(0, 0, 0, 0.25);
color: #d5d5d5;
clear: both;
font-size: 88%;
margin: auto;
padding: 1px;
text-align: center;
width: 100%;
}
/* 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: transparent;
}
.navbox-list {
background: transparent; /* Must match background color */
}
/* Level 1 color */
.navbox-title,
table.navbox th {
background: rgba(0, 0, 0, 0.75);
color: #d5d5d5;
}
/* Level 2 styling */
.navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title {
background: rgba(0, 0, 0, 0.60);
color: #d5d5d5;
}
/* Level 3 styling */
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
background: rgba(0, 0, 0, 0.40);
color: #d5d5d5;
}
/* Even row striping */
.navbox-even {
background: rgba(0, 0, 0, 0.35);
color: #d5d5d5;
}
/* Odd row striping */
.navbox-odd {
background: rgba(0, 0, 0, 0.15);
}
.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;
}
/** Misc UI styling ** /
/*Edit diffs */
.diff-context,
.diff-addedline,
.diff-deletedline {
border: none;
color: #E0E0E0;
}
.diff-context {
background-color: transparent;
}
.diff-addedline {
background-color: #004400;
}
.diff-addedline .diffchange {
background: none;
color: #bfd959;
}
.diff-deletedline {
background-color: #440000;
}
.diff-deletedline .diffchange {
background: none;
color: #e62444;
}
table.diff {
border-collapse: separate;
border-spacing: 0 0.5em;
}
/* Edit history */
#pagehistory li.selected {
background-color: #000000;
background-image: none;
border: 1px dashed #5a7180;
padding: 3px;
color: #e0e0e0;
}
#pagehistory li {
border: none;
}
/* Fix for imglink text not being bolded correctly (FD default is set to font-weight:500 which can't be overridden elsewhere) */
.page-content .mw-parser-output a {
font-weight: inherit;
}
/* misc table fixes */
/* fix for FD setting some table borders to none for whatever reason */
.wikitable tr td {
border: 1px solid #5a7180 !important;
}
.wikitable th {
background-color: #012437;
}
/* 12px padding from FD default seemed like too much */
.wikitable tr td,
.wikitable tr th {
padding: 4px;
}
/* Making search button bigger */
a.wds-button.wds-is-secondary.wiki-tools__search {
padding-left: 35px;
padding-right: 35px;
}
/*Background header re-positioning */
.fandom-community-header__background.cover { background-position: 50% 0%; }
/* Hiding header on Main & Content Portal pages */
.page-Everspace_Wiki .page-header__title-wrapper {
display:none;
}
.page-Everspace_Wiki .page-header {
margin-bottom: -10px;
}