The Escapists Wiki
m (add colors)
Eckserah (talk | contribs)
mNo edit summary
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
 
.theme-fandomdesktop-dark {
 
--theme-page-background-color--quinary: #4e5156;
 
}
  +
 
.theme-fandomdesktop-light {
 
--theme-page-background-color--quinary: #4e5156;
 
}
  +
 
.mobileonly {
 
.mobileonly {
 
display: none;
 
display: none;
Line 381: Line 389:
 
line-height: inherit;
 
line-height: inherit;
 
margin: 0;
 
margin: 0;
}
 
 
.theme-fandomdesktop-dark {
 
--theme-page-background-color--quinary: #4e5156;
 
}
 
 
.theme-fandomdesktop-light {
 
--theme-page-background-color--quinary: #4e5156;
 
 
}
 
}

Revision as of 05:10, 19 March 2022

/* CSS placed here will be applied to all skins */
.theme-fandomdesktop-dark {
	--theme-page-background-color--quinary: #4e5156;
}

.theme-fandomdesktop-light {
	--theme-page-background-color--quinary: #4e5156;
}

.mobileonly {
    display: none;
}

body.page-The_Escapists_Wiki h1.firstHeading {
    display:none;
}

.row {
   padding: 0.7em;
}

.videos {
    margin: 0px 5px;
    display: inline-block;
}

#mw-navigation.sticky {
    height: 60px;
}

.alt-header-template {
    padding-left: 12px;
}

.header-template {
    font-weight: bold;
    text-align: center; 
    color: #000000; 
    font-size: 145%; 
    padding-top: 4px;
    padding-bottom: 4px; 
    background-color: rgba(236, 226, 180, 0.9);
}

.wiki-content { 
    valign: top; 
    padding-top: 10px; 
    padding: 1em;
}

.wiki-media {
    float: left;
}

.images {
    width:50%;
}

.masthead {
    width: 80%;
    height: 100%;
    margin-top: 3em;
    border: none;
    text-align: center;
    margin-top: 2em;
    background: none repeat scroll 0% 0%;
    color: #FFF;
    padding: 1em;
}

.header {
    font-size: 1.5em;
    font-weight: bold;
}
.welcomelogo {
	padding-left: 166px;
}
.welcomelogo > div:first-child {
	float: left;
	margin-left: -145px;
}

*********************
/* Front page styles *
/*********************/
.fpmain {
  width: 100%;
  overflow: hidden;
  z-index: 1;
}

.fpbanner {
  border: 1px solid #f79a37;
  box-shadow: 0 2px 5px #f79a37;
  background: rgba(0, 0, 0, 0.25);
  color: #9ccad2;
  margin: 0 5px 5px 5px;
  padding: 5px;
  min-height: 80px;
}

.fpbannertable {
  display: table;
  border: none;
  background: transparent;
  width: 100%; 
  min-height: 75px;
  margin: 0;
  padding: 5px;
}

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

.fpbannerblock {
  border: none;
  color: #ffffff;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.75);
  font-size: 132%;
  width: 100%;
  margin: 0 0 10px 0;
  padding: 0 0 5px 0;

}

.fpmidsections {
  float: left;
  width: 100%;
  overflow: hidden;
}

.fpbox {
  border: 1px solid #295652;
  margin: 5px 5px 5px 5px;
  padding: 5px 5px 5px 5px;
  overflow: auto;
}

.fpbox .mainheading {
  border: none;
  font-size: 105%;
  margin: 0 0 10px 0;
  padding: 0 0 5px 0;
  overflow: auto;
}

.fpbox .heading {
  border: none;
  font-size: 110%;
  margin: 0 0 10px 0;
  padding: 0 0 5px 0;
  overflow: auto;
}

.fpmain .columns .leftcol {
  width: 100%;
  margin: 0;
  padding: 0;
}

.fpmain .columns .rightcol {
  width: 100%;
  margin: 0;
  padding: 0;
}

.fpsection1, .fpsection2, .fpsection3, .fpsection4 {
  float: left;
  clear: both; 
  width: 100%;
}

div.fp2columnonly, div.fp3columnonly {
  display: none; 
}

@media (min-width: 790px) {
  .fpsection1 {
    float: left;
    clear: none;
    width: 50%;
  }

  .fpmidsections {
    clear: none;
    float: right;
    width: 50%;
  }

  .fpsection4 {
    float: left;
    clear: none;
    width: 50%;
  }

  div.fp2columnonly {
    display: block; 
  }
}

@media (min-width: 990px) {
  .fpmain .columns .leftcol {
    float: left;
    width: 50%;
    margin: 0;
    padding: 0;
  }

  .fpmain .columns .rightcol {
    float: right;
    width: 50%;
    margin: 0;
    padding: 0;
  }
}

@media (min-width: 1390px) {
  .fpmidsections {
    clear: none;
    float: right;
    width: 66.667%;
  }

  .fpsection1 {
    clear: none;
    width: 33.333%;
  }

  .fpsection2 {
    clear: none;
    width: 50%;
  }

  .fpsection3 {
    clear: none;
    width: 50%;
  }
 
  .fpsection4 {
    clear: left;
    width: 33.333%;
  }

  div.fp2columnonly {
    display: none; 
  }

  div.fp3columnonly {
    display: block; 
  }
}

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

.fpimagelist ul {
  list-style-type: none;
  list-style-image: none;
}

.fpvideos {
  margin: 0 auto;
  overflow: hidden;
  text-align: center;
}

.fpvideo {
  display: inline-block;
  margin: 0 5px;
}

/* ############################################ */
/* ### TABLES                               ### */
/* ############################################ */

.va-table {
    background: var(--theme-page-background-color--secondary);
    border-collapse: collapse;
    empty-cells: show;
    font-size: 11px;
    line-height: 16px;
    margin-bottom: 5px;
}

.va-table td,
.va-table th {
    border: 1px solid var(--theme-border-color);
    padding: 1px 2px;
	background: transparent;
}

.va-table tr {
    background: var(--theme-page-background-color--secondary);
}

.va-table th {
    background: var(--theme-page-background-color--quinary);
    color: var(--theme-page-text-color);
    font-weight: bold;
}

.va-table-collapse .collapseButton {
    margin-left: 10px !important;
    position: absolute;
    color: var(--theme-accent-dynamic-color-3);
}

.va-table > tr.va-table-highlight,
.va-table > * > tr.va-table-highlight {
    background: var(--theme-page-background-color--tertiary);
}

.va-table ul + p,
.va-table ul + ol,
.va-table ul + ul,
.va-table ol + p,
.va-table ol + ol,
.va-table ol + ul,
.va-table p + p,
.va-table p + ol,
.va-table p + ul {
    margin-top: 5px;
}

/* Tables with specific vertical alignment for cells */
.va-table-top td {
    vertical-align: top;
}

.va-table-middle td {
    vertical-align: middle;
}

.va-table-bottom td {
    vertical-align: bottom;
}

/* Tables with specific horizontal alignment for cells */
.va-table-center td {
    text-align: center;
}

.va-table-left td {
    text-align: left;
}

.va-table-right td {
    text-align: right;
}

/* Tables which are full width in Oasis */
.va-table-full {
    width: 100%;
}

/* Tables in which the first column starts with an icon */
.va-table-icon tr td:first-child {
    padding-left: 18px;
    text-indent: -18px;
}

.va-table-full-ib,
.va-table-full-infobox {
    width: 380px;
}

.va-table-shaded tr:nth-child(even) {
    background-color: var(--theme-page-background-color--tertiary);
}

/* Adapting lists & paragraphs to altered line-height */
.va-table ul,
.va-table ol {
    margin: 0 0 0 20px;
}

.va-table li {
    line-height: inherit;
}

.va-table p {
    line-height: inherit;
    margin: 0;
}