MediaWiki:Common.css

From Rebel Inc. Wiki
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Asap:ital,wght@0,100..900;1,100..900&family=Piazzolla:ital,opsz,wght@0,8..30,100..900;1,8..30,100..900&display=swap');

:root {
    --wiki-sidebar-heading-font-family: 'Piazzolla','Linux Libertine','Georgia','Times',serif;
    --wiki-heading-font-family: 'Piazzolla','Linux Libertine','Georgia','Times',serif;
    --wiki-body-font-family: 'Asap', sans-serif;
}

/* colors */
:root,
.view-light {
    --wiki-body-background-color: hsl(45deg, 85%, 96%);
    --wiki-body-background-color--rgb: 253, 249, 236;
    --wiki-body-background-image: none; /* please find the file path by viewing the image directly (not at the File: page) */
    --wiki-body-background-position: top center;
    --wiki-body-background-size:cover;
    --wiki-body-background-repeat: no-repeat;
    --wiki-body-background-attachment: fixed;
    --wiki-body-dynamic-color: #000000;
    --wiki-body-dynamic-color--rgb: 0,0,0;
    --wiki-body-dynamic-color--inverted: #ffffff;
    --wiki-body-dynamic-color--inverted--rgb: 255,255,255;
    --wiki-body-dynamic-color--secondary: #333333;
    --wiki-body-dynamic-color--secondary--rgb: 51,51,51;
    --wiki-body-dynamic-color--secondary--inverted: #dddddd;
    --wiki-body-dynamic-color--secondary--inverted--rgb: 221,221,221;
    
    --wiki-content-background-color: hsl(45deg, 85%, 92%);
    --wiki-content-background-color--rgb: 252, 243, 217;
    --wiki-content-background-opacity: 1.0;
    --wiki-content-background-color--secondary: hsl(45deg, 85%, 96%);
    --wiki-content-background-color--secondary--rgb: 253, 249, 236;
    
    --wiki-content-border-color: hsl(114deg, 28%, 65%);
    --wiki-content-border-color--rgb: 146, 191, 141;
    --wiki-content-border-color--secondary: #CCCCCC;
    --wiki-content-border-color--secondary--rgb: 204, 204, 204;
    --wiki-content-border-color--accent: hsl(114deg, 28%, 65%);
    --wiki-content-border-color--accent--rgb: 146, 191, 141;
    
    --wiki-content-text-color: #111111;
    --wiki-content-text-color--rgb: 17, 17, 17;
    --wiki-content-link-color: hsl(133deg 90 17%);
    --wiki-content-link-color--rgb: 4, 82, 21;
    --wiki-content-link-label-color: #ffffff;
    --wiki-content-link-label-color--rgb: 255,255,255;
    --wiki-content-link-color--visited: var(--wiki-content-link-color);
    --wiki-content-link-color--visited--rgb: var(--wiki-content-link-color--rgb);
    --wiki-content-link-color--hover: var(--wiki-content-link-color);
    --wiki-content-link-color--hover--rgb: var(--wiki-content-link-color--rgb);
    --wiki-content-redlink-color: #ba0000;
    --wiki-content-redlink-color--rgb: 186,0,0;
    --wiki-content-text-mix-color: #8a8b8b;
    --wiki-content-text-mix-color--rgb: 138,139,139;
    --wiki-content-text-mix-color-95: #eef0f0;
    --wiki-content-text-mix-color-95--rgb: 238,240,240;
    --wiki-content-dynamic-color: #000000;
    --wiki-content-dynamic-color--rgb: 0,0,0;
    --wiki-content-dynamic-color--inverted: #ffffff;
    --wiki-content-dynamic-color--inverted--rgb: 255,255,255;
    --wiki-content-dynamic-color--secondary: #333333;
    --wiki-content-dynamic-color--secondary--rgb: 51,51,51;
    --wiki-content-dynamic-color--secondary--inverted: #dddddd;
    --wiki-content-dynamic-color--secondary--inverted--rgb: 221,221,221;

    --wiki-heading-color: var(--wiki-content-text-color);
    --wiki-heading-color--rgb: var(--wiki-content-text-color--rgb);

    --wiki-accent-color: hsl(134deg, 57%, 34%);
    --wiki-accent-color--rgb: 37, 136, 60;
    --wiki-accent-color--hover: hsl(114deg, 28%, 65%);
    --wiki-accent-color--hover--rgb: 146, 191, 141;
    --wiki-accent-label-color: #ffffff;
    --wiki-accent-label-color--rgb: 255,255,255;
    --wiki-accent-link-color: hsl(133, 100%, 90%);
    --wiki-accent-link-color--rgb: 204, 255, 215;

    --wiki-sidebar-background-color: var(--wiki-content-background-color);
    --wiki-sidebar-background-color--rgb: var(--wiki-content-background-color--rgb);
    --wiki-sidebar-background-opacity: 1.0;
    --wiki-sidebar-border-color: var(--wiki-body-background-color);
    --wiki-sidebar-border-color--rgb: var(--wiki-body-background-color--rgb);
    --wiki-sidebar-link-color: var(--wiki-content-link-color);
    --wiki-sidebar-link-color--rgb: var(--wiki-content-link-color--rgb);
    --wiki-sidebar-link-color--hover: var(--wiki-content-link-color--hover);
    --wiki-sidebar-link-color--hover--rgb: var(--wiki-content-link-color--hover--rgb);
    --wiki-sidebar-heading-color: var(--wiki-heading-color);
    --wiki-sidebar-heading-color--rgb: var(--wiki-heading-color--rgb);

    --wiki-navigation-background-color: var(--wiki-content-background-color--secondary);
    --wiki-navigation-background-color--rgb: 232,242,248;
    --wiki-navigation-background-color--secondary: var(--wiki-content-background-color);
    --wiki-navigation-background-color--secondary--rgb: var(--wiki-content-background-color--rgb);
    --wiki-navigation-border-color: var(--wiki-content-border-color);
    --wiki-navigation-border-color--rgb: var(--wiki-content-border-color--rgb);
    --wiki-navigation-text-color: var(--wiki-content-link-color);
    --wiki-navigation-text-color--rgb: var(--wiki-content-link-color--rgb);
    --wiki-navigation-text-color--hover: var(--wiki-content-link-color--hover);
    --wiki-navigation-text-color--hover--rgb: var(--wiki-content-link-color--hover--rgb);
    --wiki-navigation-selected-background-color: var(--wiki-content-background-color);
    --wiki-navigation-selected-background-color--rgb: var(--wiki-content-background-color--rgb);
    --wiki-navigation-selected-border-color: var(--wiki-navigation-border-color);
    --wiki-navigation-selected-border-color--rgb: var(--wiki-navigation-border-color--rgb);
    --wiki-navigation-selected-text-color: var(--wiki-content-text-color);
    --wiki-navigation-selected-text-color--rgb: var(--wiki-content-text-color--rgb);

    --wiki-neutral-color: var(--wiki-content-text-mix-color);
    --wiki-neutral-color--rgb: var(--wiki-content-text-mix-color--rgb);
    --wiki-alert-color: #bf0017;
    --wiki-alert-color--rgb: 191,0,23;
    --wiki-alert-label-color: #ffffff;
    --wiki-alert-label-color--rgb: 255, 255, 255;
    --wiki-warning-color: #cf721c;
    --wiki-warning-color--rgb: 207,114,28;
    --wiki-warning-label-color: #000000;
    --wiki-warning-label-color--rgb: 0, 0, 0;
    --wiki-success-color: #0c742f;
    --wiki-success-color--rgb: 12,116,47;
    --wiki-success-label-color: #ffffff;
    --wiki-success-label-color--rgb: 255, 255, 255;
    
    --wiki-icon-general-filter: ;
    --wiki-icon-to-link-filter: invert(20%) sepia(93%) saturate(2141%) hue-rotate(80deg) brightness(100%) contrast(103%);
    --card-border: hsl(42deg,100%,80%);
    --card-border--rgb: 255,224,153;
    --card-background: linear-gradient(180deg,hsl(42deg,100%,95%) 0%,hsl(42deg,100%,80%) 100%);
    --card-background--nested: linear-gradient(180deg,hsl(39deg 77% 83%) 0%,hsl(39 55% 87%) 100%)
}

.view-dark {
    --wiki-body-background-color: #0e1e0e;
    --wiki-body-background-color--rgb: 10, 20, 10;
    --wiki-body-dynamic-color: #ffffff;
    --wiki-body-dynamic-color--rgb: 255,255,255;
    --wiki-body-dynamic-color--inverted: #000000;
    --wiki-body-dynamic-color--inverted--rgb: 0,0,0;
    --wiki-body-dynamic-color--secondary: #dddddd;
    --wiki-body-dynamic-color--secondary--rgb: 221,221,221;
    --wiki-body-dynamic-color--secondary--inverted: #333333;
    --wiki-body-dynamic-color--secondary--inverted--rgb: 51,51,51;
    
    --wiki-content-background-color: #0A140A;
    --wiki-content-background-color--rgb: 10, 20, 10;
    --wiki-content-background-opacity: 1.0;
    --wiki-content-background-color--secondary: #021801;
    --wiki-content-background-color--secondary--rgb: 2, 24, 1;
    
    --wiki-content-border-color: #0B3F30;
    --wiki-content-border-color--rgb: 11, 63, 48;
   
    --wiki-content-border-color--secondary: #555555;
    --wiki-content-border-color--secondary--rgb: 85, 85, 85;
    --wiki-content-border-color--accent: #D82073;
    --wiki-content-border-color--accent--rgb: 216,32,115;
    
    --wiki-content-text-color: #ededed;
    --wiki-content-text-color--rgb: 237,237,237;
    --wiki-content-link-color: #01B733;
    --wiki-content-link-color--rgb:1, 183, 51;
    --wiki-content-link-label-color: #000;
    --wiki-content-link-label-color--rgb: 0,0,0;
    --wiki-content-link-color--visited: var(--wiki-content-link-color);
    --wiki-content-link-color--visited--rgb: var(--wiki-content-link-color--rgb);
    --wiki-content-link-color--hover: var(--wiki-content-link-color);
    --wiki-content-link-color--hover--rgb: var(--wiki-content-link-color--rgb);

    --wiki-content-redlink-color: #FC3B2C;
    --wiki-content-redlink-color--rgb: 252,59,44;
    --wiki-content-text-mix-color: #868686;
    --wiki-content-text-mix-color--rgb: 134,134,134;
    --wiki-content-text-mix-color-95: #2a2a2a;
    --wiki-content-text-mix-color-95--rgb: 42,42,42;
    --wiki-content-dynamic-color: #ffffff;
    --wiki-content-dynamic-color--rgb: 255, 255, 255;
    --wiki-content-dynamic-color--inverted: #000000;
    --wiki-content-dynamic-color--inverted--rgb: 0, 0, 0;
    --wiki-content-dynamic-color--secondary: #dddddd;
    --wiki-content-dynamic-color--secondary--rgb: 221, 221, 221;
    --wiki-content-dynamic-color--secondary--inverted: #333333;
    --wiki-content-dynamic-color--secondary--inverted--rgb: 51, 51, 51;

    --wiki-heading-color:  var(--wiki-content-text-color);
    --wiki-heading-color--rgb: var(--wiki-content-text-color--rgb);

    --wiki-accent-color: hsl(134deg, 57%, 34%);
    --wiki-accent-color--rgb: 37, 136, 60;
    --wiki-accent-color--hover: hsl(114deg, 28%, 65%);
    --wiki-accent-color--hover--rgb: 146, 191, 141;
    --wiki-accent-label-color: #ffffff;
    --wiki-accent-label-color--rgb: 255,255,255;
    --wiki-accent-link-color: #ffffff;
    --wiki-accent-link-color--rgb: 255, 255, 255;

    --wiki-sidebar-background-color: var(--wiki-content-background-color);
    --wiki-sidebar-background-color--rgb: var(--wiki-content-background-color--rgb);
    --wiki-sidebar-background-opacity: var(--wiki-content-background-opacity);
    --wiki-sidebar-border-color: var(--wiki-content-border-color);
    --wiki-sidebar-border-color--rgb: var(--wiki-content-border-color--rgb);
    --wiki-sidebar-link-color: var(--wiki-content-link-color);
    --wiki-sidebar-link-color--rgb: var(--wiki-content-link-color--rgb);
    --wiki-sidebar-link-color--hover: var(--wiki-content-link-color--hover);
    --wiki-sidebar-link-color--hover--rgb: var(--wiki-content-link-color--hover--rgb);
    --wiki-sidebar-heading-color: var(--wiki-heading-color);
    --wiki-sidebar-heading-color--rgb: var(--wiki-heading-color--rgb);

    --wiki-navigation-background-color: var(--wiki-content-background-color--secondary);
    --wiki-navigation-background-color--rgb: var(--wiki-content-background-color--secondary--rgb);
    --wiki-navigation-background-color--secondary: var(--wiki-content-background-color);
    --wiki-navigation-background-color--secondary--rgb: var(--wiki-content-background-color--rgb);
    --wiki-navigation-border-color: var(--wiki-content-border-color);
    --wiki-navigation-border-color--rgb: var(--wiki-content-border-color--rgb);
    --wiki-navigation-text-color: var(--wiki-content-link-color);
    --wiki-navigation-text-color--rgb: var(--wiki-content-link-color--rgb);
    --wiki-navigation-text-color--hover: var(--wiki-content-link-color--hover);
    --wiki-navigation-text-color--hover--rgb: var(--wiki-content-link-color--hover--rgb);
    --wiki-navigation-selected-background-color: var(--wiki-content-background-color);
    --wiki-navigation-selected-background-color--rgb: var(--wiki-content-background-color--rgb);
    --wiki-navigation-selected-border-color: var(--wiki-navigation-border-color);
    --wiki-navigation-selected-border-color--rgb: var(--wiki-navigation-border-color--rgb);
    --wiki-navigation-selected-text-color: var(--wiki-content-text-color);
    --wiki-navigation-selected-text-color--rgb: var(--wiki-content-text-color--rgb);

    --wiki-neutral-color: var(--wiki-content-text-mix-color);
    --wiki-neutral-color--rgb: var(--wiki-content-text-mix-color--rgb);
    --wiki-alert-color: #ce0018;
    --wiki-alert-color--rgb: 206,0,24;
    --wiki-alert-label-color: #000000;
    --wiki-alert-label-color--rgb: 0,0,0;
    --wiki-warning-color:#cf721c;
    --wiki-warning-color--rgb: 207,114,28;
    --wiki-warning-label-color: #000000;
    --wiki-warning-label-color--rgb: 0, 0, 0;
    --wiki-success-color: #0c742f;
    --wiki-success-color--rgb: 12,116,47;
    --wiki-success-label-color: #000000;
    --wiki-success-label-color--rgb: 0,0,0;
    
    --wiki-icon-general-filter: invert(100%);
    --wiki-icon-to-link-filter: invert(20%) sepia(150%) saturate(3715%) hue-rotate(80deg) brightness(140%) contrast(103%);
    --card-border: hsl(42deg,100%,80%);
    --card-border--rgb: 255,224,153;
    --card-background: linear-gradient(180deg,var(--wiki-content-background-color) 0%,var(--wiki-content-background-color--secondary) 100%);
    --card-background--nested: linear-gradient(180deg,rgba(var(--wiki-content-dynamic-color--rgb),0.05) 0%,rgba(var(--wiki-content-dynamic-color--rgb),0.05) 100%)
}

/*****************************
*     PortableInfoboxes      *
******************************/
:root {
	--pi-background: var(--wiki-content-background-color);
	--pi-secondary-background: var(--wiki-accent-color);
	--pi-secondary-background--rgb: var(--wiki-accent-color--rgb);
	--pi-secondary-background-label: var(--wiki-accent-label-color);
	--pi-border-color: rgba(var(--pi-secondary-background--rgb),0.5);
}

.portable-infobox .pi-title,
.portable-infobox .pi-header {
	text-align:center;
	font-size:1.5em;
	background:rgba(var(--pi-secondary-background--rgb), 0.75);
	color:var(--pi-secondary-background-label);
}

.portable-infobox .pi-data {
	background:rgba(var(--pi-secondary-background--rgb), 0.18);
}

.portable-infobox .pi-image {
	padding: 8px;
}

.pi-image-thumbnail {
	max-width:100%;
}

.pi-section-navigation .pi-section-tab.pi-section-active,
.pi-section-navigation .pi-section-tab.current,
.pi-media-collection .pi-tab-link.current {
	background: var(--pi-secondary-background);
	color: var(--pi-secondary-background-label);
}

/* overqualify these to overwrite normal content heading styles */
.mw-body .portable-infobox h2,
.mw-body .portable-infobox h3 {
	border-bottom: 0;
	font-family: inherit;
	font-weight: 700;
	margin: 0;
}
/*****************************
*   End PortableInfoboxes    *
******************************/

/*********************************************************************************************************************
* Semantically-correct horizontal lists (for Module:Navbox, and they're more machine-readable than {{*}}-formatting) *
**********************************************************************************************************************/
.hlist dl,
.hlist ol,
.hlist ul {
	margin: 0;
	padding: 0;
}

/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
	/*
	 * don't trust the note that says margin doesn't work with inline
	 * removing margin: 0 makes dds have margins again
	 * We also want to reset margin-right in Minerva
	 */
	margin: 0; 
	display: inline;
}

/* Display requested top-level lists inline */
.hlist.inline,
.hlist.inline dl,
.hlist.inline ol,
.hlist.inline ul,
/* Display nested lists inline */
.hlist dl dl,
.hlist dl ol,
.hlist dl ul,
.hlist ol dl,
.hlist ol ol,
.hlist ol ul,
.hlist ul dl,
.hlist ul ol,
.hlist ul ul {
	display: inline;
}

/* Hide empty list items */
.hlist .mw-empty-li {
	display: none;
}

/* TODO: :not() can maybe be used here to remove the later rule. naive test
 * seems to work. more testing needed. like so: */
.hlist dt:not(:last-child)::after {
	content: ": ";
}
.hlist dd:not(:last-child)::after,
.hlist li:not(:last-child)::after {
	/* "space, Middle Dot, space" 
	We use unicode numbers instead of the raw characters due to a Firefox encoding bug on unicode characters.
	The space is also encoded because raw spaces combined with a unicode number strips the spaces under some conditions such as single-line lists */
	content: "\20\00B7\20";
	font-weight: bold;
}

/* Add parentheses around nested lists */
.hlist dd dd:first-child::before,
.hlist dd dt:first-child::before,
.hlist dd li:first-child::before,
.hlist dt dd:first-child::before,
.hlist dt dt:first-child::before,
.hlist dt li:first-child::before,
.hlist li dd:first-child::before,
.hlist li dt:first-child::before,
.hlist li li:first-child::before {
	content: " (";
	font-weight: normal;
}

.hlist dd dd:last-child::after,
.hlist dd dt:last-child::after,
.hlist dd li:last-child::after,
.hlist dt dd:last-child::after,
.hlist dt dt:last-child::after,
.hlist dt li:last-child::after,
.hlist li dd:last-child::after,
.hlist li dt:last-child::after,
.hlist li li:last-child::after {
	content: ")";
	font-weight: normal;
}

/* Put ordinals in front of ordered list items */
.hlist ol {
	counter-reset: listitem;
}

.hlist ol > li {
	counter-increment: listitem;
}

.hlist ol > li::before {
	content: " " counter(listitem) "\a0";
}

.hlist dd ol > li:first-child::before,
.hlist dt ol > li:first-child::before,
.hlist li ol > li:first-child::before {
	content: " (" counter(listitem) "\a0";
}
/********************************************
* End semantically-correct horizontal lists *
*********************************************/

/*** Miscellaneous ***/
.responsive-image {
	max-width:100%;
	height:auto;
}

.view-dark .invert-on-dark,
.view-light .invert-on-light {
    filter:invert(100%);
}

.pixelated {
  image-rendering:pixelated;
}

@media screen and (min-width:720px) {
	.mobileonly {
		display:none;
	}
}
@media screen and (max-width:720px) {
	.nomobile {
		display:none;
	}
}

/*** Utility classes for standard MW galleries ***/
/* it's important that spaced comes before centered in the sheet */
.gallery.gallery.gallery.spaced { /* this selector looks ridiculous but is actually part of stock Vector and therefore a necessary override */
    display:flex;
    flex-flow:row wrap;
    justify-content:space-evenly;
    margin-left:unset;
}

.gallery.centered {
    text-align:center;
}

/********* [[Template:Hatnote]] *********/
.hatnote {
    padding: 1px 0 1px 1.6em;
    margin-bottom: 0.5em;
    font-style: italic;
    border-top: 1px solid var(--wiki-content-border-color--secondary);
    border-bottom: 1px solid var(--wiki-content-border-color--secondary);
}

.hatnote.icon {
	padding-left: 0;	
}

/**********************
* Main page layout    *
* [[Rebel Inc. Wiki]] *
***********************/
#mp-hero-box {
  grid-area: hero;
}
#mp-about-box {
  grid-area: about;
}
#mp-links-box {
  grid-area: links;
}
#mp-gameplay-box {
  grid-area: gameplay;
}
#mp-mechanics-box {
  grid-area: mechanics;
}
#mp-wiki-box {
  grid-area: wiki;
}
#mp-game-links-box {
  grid-area: gamelinks;
}
#mp-ndemic-links-box {
  grid-area: ndemiclinks;
}

#mp-container-v2 {
  box-sizing: border-box;
  display: grid;
  grid-template-areas:
    "hero"
    "about"
    "links"
    "gameplay"
    "mechanics"
    "wiki"
    "gamelinks"
    "ndemiclinks";
  grid-template-columns: 100%;
  gap: 10px;
}

@media screen and (min-width: 990px) {
  #mp-container-v2 {
    grid-template-areas:
      "hero hero about"
      "links links links"
      "gameplay gameplay mechanics"
      "wiki gamelinks ndemiclinks";
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media screen and (min-width: 1350px) {
  #mp-container-v2 {
    grid-template-areas:
      "hero hero about"
      "links links links"
      "gameplay gameplay mechanics"
      "wiki gamelinks ndemiclinks";
    grid-template-columns: 5fr 2fr 3fr;
  }
}

/* Boxes */
.mp-box {
  display: flex;
  flex-flow: column nowrap;
  width: calc(100% - 2px);
  box-sizing: border-box;
  background: rgba(var(--wiki-content-background-color--secondary--rgb), 0.25);
  border: 1px solid var(--wiki-content-border-color);
  padding: 0px;
}

.mp-body {
  height: 100%;
  display: flex;
  padding: 0.5em;
  flex-flow: column nowrap;
}

.mp-box.centered-content .mp-body {
  justify-content: space-evenly;
}

.mp-box.has-floating-image {
  display: block;
}

.mp-box.has-floating-image .mp-body {
  height: unset;
  display: block;
}

#mp-hero-box {
  padding: 0.5em;
  text-align: center;
}

.mp-heading,
.mp-box .welcome-message {
  text-align: center;
  font-weight: bold;
  font-family: var(--wiki-heading-font-family);
  color: var(--wiki-heading-color);
}

.mp-heading {
  background-color: var(--wiki-accent-color);
  color: var(--wiki-accent-label-color);
  border-bottom: 1px solid var(--wiki-content-border-color);
  font-size: 150%;
  margin: 0 0 10px 0;
  padding: 0 0 5px 0;
}

.mp-box#mp-welcome-box {
  text-align: center;
}

.mp-box .welcome-message {
  font-size: 200%;
  margin: 0 0 10px;
  padding: 0 0 5px;
}

/* Content with several links */
.mp-links {
  --gap: 10px;
}

.mp-links > ul {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
  margin: 2px;
  gap: var(--gap);
}

.mp-links > ul > li {
  display: flex;
  flex-flow: column nowrap;
  align-items: stretch;
  text-align: center;
  box-sizing: border-box;
  flex: max(calc(50% - var(--gap)), 5em) 1 1;
  outline: 1px solid var(--wiki-content-link-color);
  transition: 0.1s ease-in;
}

.mp-links > ul > li:hover {
  background-color: rgba(var(--wiki-content-link-color--rgb), 0.2);
}

.mp-links.columns-1 > ul > li {
  flex: max(calc(100% - var(--gap)), 5em) 1 1;
}
.mp-links.columns-2 > ul > li {
  flex: max(calc(50% - var(--gap)), 5em) 1 1;
}
.mp-links.columns-3 > ul > li {
  flex: max(calc((100% / 3) - var(--gap)), 5em) 1 1;
}
.mp-links.columns-4 > ul > li {
  flex: max(calc(25% - var(--gap)), 5em) 1 1;
}
.mp-links.columns-5 > ul > li {
  flex: max(calc(20% - var(--gap)), 5em) 1 1;
}
.mp-links.columns-6 > ul > li {
  flex: max(calc((100% / 6) - var(--gap)), 5em) 1 1;
}
.mp-links.columns-7 > ul > li {
  flex: max(calc((100% / 7) - var(--gap)), 5em) 1 1;
}

.mp-links > ul > li:hover a {
  text-decoration: underline;
}

.mp-links > ul > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  flex: 1 1 auto;
  box-sizing: border-box;
  padding: 5px;
}

.mp-links > ul > li > a:first-child {
  height: 100%;
}

.mp-links > ul > li > a:last-child:not(:first-child) {
  height: unset;
}

.mp-links.stretch,
.mp-links.stretch > ul {
  height: 100%;
}

.mp-links.side-image li {
  flex-flow: row nowrap;
}

/* Quick links box */
#mp-links-box {
  align-items: center;
  padding: 10px;
  justify-content: space-between;
}

#mp-links-box .mp-heading {
  background: 0;
  border: 0;
  margin: 0;
  padding: 0;
  color: var(--wiki-content-text-color);
}

#mp-links-box .mp-body {
  padding: 0;
}

#mp-links-box ul {
  display: flex;
  height: 100%;
  gap: 20px;
  list-style-type: none;
  margin: 0;
  align-items: center;
}

@media screen and (min-width: 720px) {
  #mp-links-box {
    flex-flow: row;
  }
}

/* Gameplay box */

#mp-gameplay-box {
  justify-content: space-around;
}

#mp-gameplay-box #mp-govs-maps {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

#mp-gameplay-box #mp-govs-maps .mp-inner-box {
  width: 100%;
}

#mp-gameplay-box #mp-govs-maps ul {
  display: block;
}

@media screen and (min-width: 520px) {
  #mp-gameplay-box #mp-govs-maps ul {
    columns: 2;
  }
  #mp-gameplay-box #mp-govs-maps .mp-inner-box {
    width: fit-content;
  }
}

#mp-gameplay-box #mp-gameplay-links {
  display: flex;
  flex-direction: row;
  margin: auto;
  gap: 20px;
  background: var(--wiki-content-background-color--secondary);
  border: 1px solid var(--wiki-content-border-color);
  margin-bottom: 20px;
}

.mp-inner-box {
  display: flex;
  flex-flow: column nowrap;
  max-width: 100%;
  min-width: fit-content;
  padding: 10px;
  height: fit-content;
}

.mp-inner-box .mp-inner-box-heading {
  font-size: 24px;
  font-family: var(--wiki-heading-font-family);
  text-align: center;
}

.mp-inner-box ul {
  background: var(--wiki-content-background-color--secondary);
  margin: 0;
  list-style-type: none;
  display: flex;
  flex-flow: column;
  gap: 10px;
  border: 1px solid var(--wiki-content-border-color);
  padding: 10px;
}

.mp-inner-box ul li {
  display: flex;
  align-items: stretch;

  padding: 5px;

  transition: 0.1s ease-in;
}

.mp-inner-box ul > li > a:first-child {
  width: fit-content;
  padding-right: 10px;
}

.mp-inner-box ul > li > a:last-child {
  width: 100%;
  display: flex;
  align-items: center;
}

.mp-inner-box ul li:hover {
  background: rgba(var(--wiki-accent-color--rgb), 0.2);
}

/***********************
* End main page layout *
************************/


/***********************
* [[Template:License]] *
************************/
.license {
  display:flex;
  flex-flow:row nowrap;
  background-color:var(--wiki-content-background-color--secondary);
  border:1px solid var(--wiki-content-border-color);
  padding:0.1em;
  margin:0.5em 0 0.5em 0;
  align-items:center;
  gap:5px;
}

.copyright-logo {
  filter:var(--wiki-icon-general-filter);
}
/***********************
* End Template:License *
************************/

/************
* Infoboxes *
*************/

/* portable infoboxes */
:root {
	--pi-background: var(--wiki-content-background-color);
	--pi-secondary-background: var(--wiki-accent-color);
	--pi-secondary-background--rgb: var(--wiki-accent-color--rgb);
	--pi-secondary-background-label: var(--wiki-accent-label-color);
	--pi-border-color: rgba(var(--pi-secondary-background--rgb),0.5);
}

.portable-infobox {
	border:4px solid var(--pi-border-color);
}

.portable-infobox .pi-title,
.portable-infobox .pi-header {
	text-align:center;
	font-size:1.5em;
	background:rgba(var(--pi-secondary-background--rgb), 0.75);
	color:var(--pi-secondary-background-label);
}

.portable-infobox .pi-data {
	background:rgba(var(--pi-secondary-background--rgb), 0.18);
}

.portable-infobox .pi-image {
	padding: 8px;
}

.pi-image-thumbnail {
	max-width:100%;
}

.pi-section-navigation .pi-section-tab.pi-section-active,
.pi-section-navigation .pi-section-tab.current,
.pi-media-collection .pi-tab-link.current {
	background: var(--pi-secondary-background);
	color: var(--pi-secondary-background-label);
}

.pi-theme-baby .pi-image-thumbnail {
	width:100px;
}

/* overqualify these to overwrite normal content heading styles */
.mw-body .portable-infobox h2,
.mw-body .portable-infobox h3 {
	border-bottom: 0;
	font-family: inherit;
	font-weight: 700;
	margin: 0;
}
/**/

/****************
* End infoboxes *
*****************/

/********************************************
* Utility classes for standard MW galleries *
*********************************************/
/* it's important that spaced comes before centered in the sheet */
.gallery.spaced {
  display:flex;
  flex-flow:row wrap;
  justify-content:space-evenly;
  margin-left:unset;
}

.gallery.centered {
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}

/**********************
* End gallery classes *
***********************/

.hlist dl,
.hlist ol,
.hlist ul {
  margin:0;
  padding:0
}
.hlist dd,
.hlist dt,
.hlist li {
  margin:0;
  display:inline
}
.hlist.inline,
.hlist.inline dl,
.hlist.inline ol,
.hlist.inline ul,
.hlist dl dl,
.hlist dl ol,
.hlist dl ul,
.hlist ol dl,
.hlist ol ol,
.hlist ol ul,
.hlist ul dl,
.hlist ul ol,
.hlist ul ul {
  display:inline
}
.hlist dt:after {
  content:":"
}
.hlist dd:after,
.hlist li:after {
  content:" · ";
  font-weight:700
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
  content:none
}
.hlist dd.hlist-last-child:after,
.hlist dt.hlist-last-child:after,
.hlist li.hlist-last-child:after {
  content:none
}
.hlist dd dd:first-child:before,
.hlist dd dt:first-child:before,
.hlist dd li:first-child:before,
.hlist dt dd:first-child:before,
.hlist dt dt:first-child:before,
.hlist dt li:first-child:before,
.hlist li dd:first-child:before,
.hlist li dt:first-child:before,
.hlist li li:first-child:before {
  content:" (";
  font-weight:400
}
.hlist dd dd:last-child:after,
.hlist dd dt:last-child:after,
.hlist dd li:last-child:after,
.hlist dt dd:last-child:after,
.hlist dt dt:last-child:after,
.hlist dt li:last-child:after,
.hlist li dd:last-child:after,
.hlist li dt:last-child:after,
.hlist li li:last-child:after {
  content:") ";
  font-weight:400
}
.hlist dd dd.hlist-last-child:after,
.hlist dd dt.hlist-last-child:after,
.hlist dd li.hlist-last-child:after,
.hlist dt dd.hlist-last-child:after,
.hlist dt dt.hlist-last-child:after,
.hlist dt li.hlist-last-child:after,
.hlist li dd.hlist-last-child:after,
.hlist li dt.hlist-last-child:after,
.hlist li li.hlist-last-child:after {
  content:") ";
  font-weight:400
}
.hlist ol {
  counter-reset:listitem
}
.hlist ol>li {
  counter-increment:listitem
}
.hlist ol>li:before {
  content:" " counter(listitem) " ";
  white-space:nowrap
}
.hlist dd ol>li:first-child:before,
.hlist dt ol>li:first-child:before,
.hlist li ol>li:first-child:before {
  content:" (" counter(listitem) " "
}

/**
related wikis
*/
.related-wikis {
    background-color: #111113;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAAM1BMVEUZGRoeHh8cHB0aGhsbGxwfHyAfHyIbGx0ZGRscHB8eHiAcHB4YGBodHR8fHyEaGhwXFxrrhtroAAALcElEQVR42t2d2UIcOQxF1Zs3bef/v3Ye7IYkk4UQGsqdR6gUZVnr1bUsBXDBcNC4QeNCJJkNTo41aIULhNV2bZADgHBgYFogrSe0BBLopACEDAZKAGaQxSBSATrrX0MURZ0ESqYqvQCQtPVkAuAMgKFkT0peqR7g0EK6Z2LoIE+ewAihMhr0cl7v43r/syOqYiQkrhCQ56CR0GlQAaIplQoYQHYMbp2ol1O/i6JWErCaDEinnyAbp0oHI67pPhLAEht4AoULQCUpsRYIVIGReBs5lx1J9A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vd/l+OyxddcvTh3kSeYmi8Llxr0/Gl31GzZLtGyC+YnLLFTUJvkLHsX4nMtcvGwfw7c5PDN9Df6OXlwCcp/qoPI08wNPPu5vbmxN8NWzadZvi/Wkx4EuKvbHAf3ZuYO/IMh/IB5PB3aL7RHuXYgz3fXkbLQ68y+kS2qew1Mu/XOKIc+W6qv9lQ2faS0B+csuxDCfj9CB55gjGmE2HiKa6Z1y5bt3K/ieWy8UDZ74xOdr0Q+MciRTanoLwA9rLTfKDfuWnZl1f6fW4hmw7d+B9CJvuf0p2uSbY/k7Rgi/3GbfyiBJYnGTCA7H2b7mvF8jw0p0OBU/+QDMtOt1D+TmTyxbNUP+x2MTkwnvBXAJE8yQ1pyPEOdL+P4yL7nGv7PY/7P9rJKdt0myJ/AAAAAElFTkSuQmCC");
    color: #fff;
    padding: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.related-wikis a {
    color: #eee;

}

.related-wikis b {
    filter: saturate(150%);
}


.related-wikis *:hover {
    filter: brightness(110%)
}

.related-wikis :nth-child(1) {
    margin-right: auto;
}

.related-wikis .ri {
    background-image: url("https://rebelinc.wiki.gg/images/thumb/5/53/Rebel_Inc_Wiki.png/320px-Rebel_Inc_Wiki.png");
    color: transparent;
    width: 120px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat
}

.related-wikis .pi {
    background-image: url("https://plagueinc.wiki.gg/images/e/e6/Site-logo.png?b9f50");
    color: transparent;
    width: 200px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat
}

@media screen and (max-width: 420px) {
    .related-wikis {
        flex-direction: column;
        justify-content: center
    }
}