Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
Content added Content deleted
m (fix template creation not being messed up)
No edit summary
Line 1,372: Line 1,372:
/* Movelist Toggles */
/* Movelist Toggles */
.movelist-toggles {
.movelist-toggles {
display: flex;
display: flex;
justify-content: center;
box-shadow: var(--card-shadow-dlw);
background-color: var(--color-surface-1);
border-radius: var(--border-radius--small);
}
}


.movelist-toggle-button {
.movelist-toggle-button {
display: inline-flex;
user-select: none;
align-items: center;
flex-flow: row wrap;
padding: 2px 10px;
padding: 18px;
font-weight: bold;
margin: 0 3px;
scroll-snap-align: start;
border-radius: 3px;
text-decoration: none;
border: 1px solid black;
white-space: nowrap;
cursor: pointer;
color: var(--color-base--subtle);
}
}
.movelist-toggle-button:hover {

background-color: var(--color-surface-3);
.movelist-toggle-off {
color: var(--color-base--emphasized);
background-color: #4c4c4c;
}
}


.movelist-toggle-on {
.movelist-toggle-on {
background-color: #a7a4a4;
background-color: var(--color-surface-2);
}
}



Revision as of 20:10, 6 June 2023

.mw-wiki-logo {
	background-size: contain;
}

.sticky {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 10%;
  z-index: 10;
}



/* -----------------------------------------------------------------------------
                            Global Rules From Dustloop
----------------------------------------------------------------------------- */

/* Odd rows for any table with "stripe" class */
table.stripe tr:nth-child(even) {
  background-color: var(--color-surface-2);
}

/* Even rows for any table with "stripe" class */
table.stripe tr:nth-child(odd) {
  background-color: var(--color-surface-1);
}

/* -----------------------------------------------------------------------------
                            Table of Contents Rules
----------------------------------------------------------------------------- */

body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }

/* Allow limiting of which header levels are shown in a TOC;
	 <div class="toclimit-3">, for instance, will limit to
	 showing ==headings== and ===headings=== but no further
	 (as long as there are no =headings= on the page, which
	 there shouldn't be according to the MoS).
 */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
	display: none;
}

/* Invisible header for MoveData editing */
.invisible-header {
	visibility: hidden;
	float: right;
}

.flex-image {
	height: auto;
	width: 100%;
}

.overview_toc .toctitle {
  width: 103%;
  margin-left: -1.5%;
  border-bottom: 1px solid rgba(160, 160, 160, .4);
  font-weight: 600;
  font-size: 20px;
}

.overview_toc .toctogglespan {
  font-weight: 300 !important;
  font-size: 14px !important;
}

.overview_toc .toc ul {
  column-count: 2;
  -moz-column-count: 2;
  -webkit-column-count: 2;
  line-height: 1.6;
  padding: 10px 0px 0px 35px;
}

.overview_toc .toc {
  display: block;
  border: unset;
  background-color: unset;
  padding: -4px;
}

/* -----------------------------------------------------------------------------
                               Flex Rules From Dustloop
----------------------------------------------------------------------------- */

.fp-button {
  border-radius: 4px;
  background: none;
  border: 2px solid #2e2d2d;
  cursor: pointer;
  padding: 0.5em 0.75em;
  font-weight: 700;
  font-size: 14px;
  color: white;
  display: inline-block;
  transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

.fp-button:hover {
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.12), 0 1px 5px rgba(0, 0, 0, 0.24);
}

.fpcontent {
  padding-right: 1px;
  display: grid;
  grid: auto-flow dense/repeat(auto-fit,minmax(9.375rem,1fr));
  grid-auto-rows: minmax(3rem,auto);
  overflow: visible !important;
  z-index: 1;
}

.fpbox {
  background-color: var(--color-surface-2);
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .12), 0 1px 5px 0 rgba(0, 0, 0, .2);
  margin: 0px 10px 20px 10px;
  padding: 2px;
  border-radius: 4px;
}

.fpbox .heading {
  border-bottom: 1px solid rgba(160, 160, 160, .4);
  margin: 0 0 10px 0;
  padding: 0 0 5px 0;
  font-weight: 600;
  text-align: center;
  font-size: 22px;
}

.fpbox .heading .smalllink {
  font-weight: 500;
}

.fpbox hr {
  border: none;
  border-bottom: 1px solid rgba(160, 160, 160, .4);
}

.fplinks {
  margin: -5px;
}

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

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

.fplinks .linkslabel {
  background: rgba(0, 0, 0, 0);
  border-bottom: 2px solid #454545;
  margin: 15px 5px 5px 5px;
  padding: 0 0 5px 0;
}

.fplink {
  display: inline-block;
  vertical-align: middle;
  width: 100%;
  font-size: 14px;
  font-weight: 500;
}

.fplink a {
  color: black;
}

.fplink a.external {
  color: black;
}

.fplink a.external:visited {
  color: black;
}

.fplink a:visited {
  color: black;
}

/* Yeah, using display: table makes for a lot of extra markup, but it makes proportionate sizing and vertical centering a lot easier, so going with it */
.fplink .box {
  border-collapse: separate;
  border-spacing: 5px;
  display: table;
  width: 100%;
}

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

.fplink .box .row .cell {
  background-color: white;
  border: 1px solid #1976d2;
  color: black;
  border-radius: 4px;
  display: table-cell;
  padding: 0 6px;
  position: relative;
  text-align: center;
  vertical-align: middle;
}

.fplink.wide .box .row .cell {
  padding: 0 5px;
}

#fptopsection .fplink.image, #fpflexsection .fplink.image, #fpbottomsection .fplink.image {
  height: 114px;
  width: 114px;
}

.fplink.image .box .row .cell {
  height: 100px;
  width: 100px;
  vertical-align: bottom;
}

.fplink.image .box .row .cell .image img {
  height: 100px;
  width: 100px;
}

@media (min-width: 470px) {
  .fplink {
    width: 50%;
  }

  .fplink.wide {
    width: 100%;
  }
}

@media (min-width: 580px) {
  .fplink {
    width: 33.333%;
  }

  .fplink.wide {
    width: 66.666%;
  }
}

@media (min-width: 690px) {
  .fplink {
    width: 25%;
  }

  .fplink.wide {
    width: 50%;
  }
}

@media (min-width: 800px) {
  .fplink {
    width: 20%;
  }

  .fplink.wide {
    width: 40%;
  }
}

@media (min-width: 910px) {
  .fplink {
    width: 16.666%;
  }

  .fplink.wide {
    width: 33.333%;
  }
}
@media (min-width: 990px) {
  .fpcontent {
    padding-right: 1px;
    /*width: calc(100% - 530px);*/
  }

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

  #fpflexsection {
/*    float: right;
    width: 520px;
    margin-right: -520px; */
    grid-row: span 2;
    grid-column: span 2;
    position: relative;

  }

  #fpbottomsection {
    float: left;
    width: 100%;
    margin-top: -5px;
  }

  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 50%;
  }

  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 100%;
  }

  #fpflexsection .fplink {
    width: 25%;
  }

  #fpflexsection .fplink.wide {
    width: 50%;
  }
}

@media (min-width: 1100px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 33.333%;
  }

  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 66.666%;
  }
}

@media (min-width: 1210px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 25%;
  }

  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 50%;
  }
}

@media (min-width: 1320px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 20%;
  }

  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 40%;
  }
}

@media (min-width: 1430px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 16.666%;
  }

  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 33.333%;
  }

  .fplink a {
    padding: 3px 5px;
    color: black;
  }

  .fplink a:visited {
    color: black;
  }

  .fplink a.external {
    color: black;
  }

  .fplink a.external:visited {
    color: black;
  }
}

@media (min-width: 1540px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 14.285%;
  }

  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 28.571%;
  }

  #fptopsection .fpmaybercol .fpbox, #fpbottomsection .fpmaybercol .fpbox {
    background-image: none;
  }

  .fpmaybelcol {
    float: left;
    width: 70.886%;
  }

  #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink {
    width: 20%;
  }

  #fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide {
    width: 40%;
  }

  .fpmaybercol {
    float: right;
    width: 29.113%;
  }

  #fptopsection .fpmaybercol .fplink, #fpbottomsection .fpmaybercol .fplink {
    width: 50%;
  }

  #fptopsection .fpmaybercol .fplink.wide, #fpbottomsection .fpmaybercol .fplink.wide {
    width: 100%;
  }
}

@media (min-width: 1650px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 12.5%;
  }

  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 25%;
  }
}

@media (min-width: 1697px) {
  #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink {
    width: 16.666%;
  }

  #fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide {
    width: 33.333%;
  }
}

@media (min-width: 1760px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 11.111%;
  }

  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 22.222%;
  }
}

@media (min-width: 1850px) {
  #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink {
    width: 14.285%;
  }

  #fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide {
    width: 28.571%;
  }
}

@media (min-width: 1870px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 10%;
  }

  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 20%;
  }

  #fptopsection .fplink.image, #fpbottomsection .fplink.image {
    width: 134px;
    height: 134px;
  }

  #fptopsection .fplink.image .box .row .cell, #fpbottomsection .fplink.image .box .row .cell {
    width: 120px;
    height: 120px;
  }

  #fptopsection .fplink.image .box .row .cell .image img, #fpbottomsection .fplink.image .box .row .cell .image img {
    width: 120px;
    height: 120px;
  }
}

@media (min-width: 1918px) {
  #fptopsection .fpmaybercol .fplink, #fpbottomsection .fpmaybercol .fplink {
    width: 33.333%;
  }

  #fptopsection .fpmaybercol .fplink.wide, #fpbottomsection .fpmaybercol .fplink.wide {
    width: 66.666%;
  }
}

@media (min-width: 1980px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 9.09%;
  }

  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 18.181%;
  }
}

@media (min-width: 2006px) {
  #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink {
    width: 12.5%;
  }

  #fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide {
    width: 25%;
  }
}

@media (min-width: 2090px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 8.33%;
  }

  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 16.666%;
  }
}

@media (min-width: 2161px) {
  #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink {
    width: 11.111%;
  }

  #fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide {
    width: 22.222%;
  }
}

@media (min-width: 2200px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 7.692%;
  }

  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 15.384%;
  }
}

@media (min-width: 2296px) {
  #fptopsection .fpmaybercol .fplink, #fpbottomsection .fpmaybercol .fplink {
    width: 25%;
  }

  #fptopsection .fpmaybercol .fplink.wide, #fpbottomsection .fpmaybercol .fplink.wide {
    width: 50%;
  }
}

@media (min-width: 2310px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 7.142%;
  }

  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 14.285%;
  }
}

@media (min-width: 2316px) {
  #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink {
    width: 10%;
  }

  #fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide {
    width: 20%;
  }
}

@media (min-width: 2420px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 6.666%;
  }

  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 13.333%;
  }

  .fplink a {
    padding: 5px 5px;
  }

  #fptopsection .fplink.image, #fpbottomsection .fplink.image {
    width: 164px;
    height: 164px;
  }

  #fptopsection .fplink.image .box .row .cell, #fpbottomsection .fplink.image .box .row .cell {
    width: 150px;
    height: 150px;
  }

  #fptopsection .fplink.image .box .row .cell .image img, #fpbottomsection .fplink.image .box .row .cell .image img {
    width: 150px;
    height: 150px;
  }
}

.fplink.image .image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.fplink.image a {
  z-index: 2;
}

.fplink a {
  display: block;
  position: relative;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1px 5px;
}

.fplink.image .image a {
  padding: 0;
}

.fplink.image .link a {
  background: #f5f5f5;
  border-top: 2px solid #454545;
}

.fplink.wide a {
  margin: 0 -5px;
}

/* Overview grid CSS from Dustloop */
.mw-parser-output #char-portraitimage img{
	width: auto;
    height: auto;
    max-height: 375px;
    max-width: calc(100% - 20px);
}

#fptopsection{
	grid-column: 1/span 4;
    grid-row: 1/span 2;
    position: relative;

}
#fpflexsection{
	grid-column: span 2;
    grid-row: span 2;
    position: relative;
}

/* This probably isn't going to work, but I hope it does.
   Used for home page.
*/
#mf-home{
	display: grid;
	grid: auto-flow dense/repeat(auto-fit,minmax(9.375rem,1fr));
	grid-auto-rows: minmax(3rem,auto);
	overflow:visible;
}

/* MoveDataCargo CSS */
.movedata-container {
	border: 1px solid #a2a9b1;
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
	align-content: stretch;
	background-color: white;
}

.movedata-flex-image-container {
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-content: flex-start;
	
	padding: 3px;
	text-align: center;
	line-height: 1.3em;
	background-color: #eaecf0;
	border: 1px solid #a2a9b1;
	
	flex-basis: 180px;
	flex-grow: 1;
	flex-shrink: 1;
}


.movedata-flex-images {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-content: flex-start;

	text-align: center;
	
	flex-grow: 1;
	flex-shrink: 1;
}

.movedata-flex-images > div > div{
	flex-basis: 175px;
	display: flex;
	flex-flow: column;
	justify-content: center;
}

.movedata-flex-information {
	display: flex;
	flex-flow: column nowrap;
	flex-shrink: 0;
	flex-grow: 1000;
	flex-basis: 300px;
	overflow-x: auto;
}

.movedata-flex-framedata {
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
	align-content: stretch;
}

.movedata-flex-framedata-name {
	border: 1px solid #a2a9b1;
	border-collapse: collapse;
	display: flex;
	flex-flow: row-reverse wrap;
	justify-content: flex-start;
	align-content: stretch;
	
	flex-shrink: 1;
	text-align: center;
	flex-basis: 130px;
	background-color: #eaecf0;
}

.movedata-flex-framedata-name-item {
	min-width: 130px;
	padding: 3px 5px;
	flex-grow: 1;
	display: flex;
}

.movedata-flex-framedata-name-item-topright {
	text-align: right;
}
.movedata-flex-framedata-name-item-middle {
	display: flex;
	align-items: center;
	justify-content: center;
}

.movedata-flex-framedata-table {
	margin: 0;
	flex-shrink: 0;
	flex-grow: 1000;
	flex-basis: 300px;
}
.movedata-flex-information > p {
	margin: 3px 5px;
}

/* MoveData Hitbox Toggle */
.hitbox-toggle-off,
.hitbox-toggle-on {
	border: 1px solid #000;
	width: 134px;
	height: 24px;
	cursor: pointer;
}

.hitbox-toggle-on {
	opacity: 1.0;
	display: none;
}

.hitbox-toggle-off {
	opacity: 0.5;
}

.move-image,
.move-caption {
	
}

.hitbox-image,
.hitbox-caption {
	display: none;
}

/* End MoveData Hitbox Toggle */

/* -----------------------------------------------------------------------------
                          Tooltip CSS from gbf.wiki
----------------------------------------------------------------------------- */

.tooltip {
  position: relative;
  display: inline;
  border-bottom: 0.5px dashed #f8f9fa;
}
.tooltiptext {
  visibility: hidden;
  min-width: 250px;
  padding: 12px 14px;
  position: absolute;
  left: 50%;
  bottom: calc(20px + 100%);
  z-index: 99999;
  background: black;
  box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.15);
  border: 1px solid #a2a9b1;
  border-radius: 2px;
  white-space: normal;
  font-weight: normal;
  font-style: initial;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
}
.tooltiptext:after, .tooltiptext:before {
  content: '';
  position: absolute;
  left: 50%;
  border-style: solid;
}
.tooltiptext:after {
  top: 100%;
  bottom: auto;
  width: 20px;
  height: 20px;
  background: black;
  margin-top: -10px;
  margin-left: -10px;
  box-shadow: 1px 1px 0px #a2a9b1;
  transform: rotate(45deg);
  border-width: 0;
}
.tooltiptext:before {
  top: 100%;
  bottom: auto;
  border-width: 18px;
  margin-left: -18px;
  border-color: rgba(0, 0, 0, 0.15) transparent transparent transparent;
  pointer-events: none;
}
.tooltip .tooltip .tooltiptext, .header-fixed-helper .tooltip .tooltiptext {
  bottom: auto;
  top: calc(20px + 100%);
}
.tooltip .tooltip .tooltiptext:after, .header-fixed-helper .tooltip .tooltiptext:after {
  top: auto;
  bottom: 100%;
  border-width: 15px;
  margin-left: -15px;
  border-color: transparent transparent white transparent;
  width: 0;
  height: 0;
  box-shadow: none;
  background: none;
  transform: none;
}
.tooltip .tooltip .tooltiptext:before, .header-fixed-helper .tooltip .tooltiptext:before {
  top: auto;
  bottom: 100%;
  border-width: 16px;
  margin-left: -16px;
  border-color: transparent transparent #888 transparent;
}
.tooltiptext span.hr {
  display: block;
  height: 1px;
  background-color: #a2a9b1;
}
.tooltiptext hr, .tooltiptext span.hr {
  margin: 10px 0 12px;
  position: relative;
  background: none;
}
.tooltiptext hr:after, .tooltiptext span.hr:after {
  content: '';
  display: block;
  width: 100%;
  height: 1px !important;
  position: absolute;
  left: -14px;
  background: #a2a9b1;
  padding: 0 14px;
}
.tooltip:hover>.tooltiptext, .tooltip.hover>.tooltiptext {
  visibility: visible;
}
.tooltiptext {
  opacity: 0;
  transition: opacity 200ms ease, visibility 0s ease 200ms, transform 200ms ease;
  transform: translate(-50%, 8px);
}
.tooltip .tooltip .tooltiptext, .header-fixed-helper .tooltip .tooltiptext {
  transform: translate(-50%, -8px);
}
.tooltip:hover>.tooltiptext, .tooltip.hover>.tooltiptext {
  opacity: 1;
  transition-delay: 0s;
  transform: translate(-50%, 0);
}
.tooltiptext a {
  color: #0645ad;
  border-bottom: 0;
}
.tooltiptext a:visited {
  color: #0b0080;
}
.tooltiptext a:active {
  color: #faa700;
}
.tooltiptext a:hover, a:focus {
  text-decoration: underline;
}
.tooltiptext {
  color: white;
}
.tooltiptext a.new {
  color: #ba0000;
}

/* Custom buttons, boxes and links */
.btn {
	background-color: #07a9f5;
	border: none;
	color: white;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	padding: 4px 8px 4px;
	border-radius: 4px;
	margin: 5px;
}

.contentbox {
	background-color:var(--color-surface-2);
	/*border: 1px solid #a7d7f9; */
	box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.12), 0 1px 5px 0 rgba(0,0,0,.2);
	border-radius: var(--border-radius--medium);
	margin:5px;
	padding: 5px 10px;
}

.contentheading {
	font-size: 1.75em;
	font-family: 'Verdana','Helvetica','Arial',serif;
}

.subcontentheading {
	font-size: 1.5em;
	font-family: 'Verdana','Helvetica','Arial',serif;
}

.contenthr {
	background-color:#e6e6e6;
	margin: 0px -10px 10px;
}

/* Navbox */
.nav-header {
	background-color: #ccf;
	font-weight: bold;
	font-style: italic;
	text-align: center;
}

.navbox {
	display: flex;
	flex-flow: column nowrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: stretch;
	border-style: solid;
	clear: both;
	width: 80%;
	margin: auto;
}

.navbox-header {
	width: 100%;
	text-align: center;
	background-color: #ccf;
	font-weight: bold;
	font-style: italic;
}

.navbox-row {
	display: flex;
	flex-flow: row nowrap;
	justify-content: flex-start;
	align-items: center;
	align-content: stretch;
}

.navbox-row-header {
	width: 10%;
	text-align: center;
}

.navbox-row-items {
	width: 90%;
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
	align-items: center;
	align-content: center;
}

.navbox-item {
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
	align-items: center;
	align-content: stretch;
}

.flex-image {
	height: auto;
	width: 100%;
}

.front-page-logo-container {
	width: 150px;
	height: 180px;
	text-align:center;
    display: inline-block;
    padding: 8px;
    font-size: 12px;
    margin: 5px;
    border: 1px solid #a7d7f9;
    border-radius: 2px;
}

.front-page-logo-image {
	width: 150px;
	height: 150px;
	line-height: 150px;
	margin: auto;
}

.front-page-logo-text {
	width: 150px;
	height: 40px;
	text-align: center;
	overflow: hidden;
}

.icongrid {
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
}

/* Amboxes */
.ambox {
    background-color: var(--color-surface-1);
    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-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;
}
/* -----------------------------------------------------------------------------
                        Character Link Button styling (from Dustloop Wiki)
----------------------------------------------------------------------------- */

.char-btn {
  background-color: #1D81AF;
  color: white;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  padding: 4px 8px 4px;
  margin: 5px;
  min-width: 90px;
}
/* Remove external link icon from external links and adjust their padding
 Replace this styling with a more localized solution in the future */

a .external .text {
  background-image: none;
  padding-right: 0px;
}
.addShadow {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

/* Theory Box CSS Grid */
.TheoryBoxTitle {
  grid-area: TheoryBoxTitle;
  border-bottom: solid 1px #a2a9b1; 
}
.TheoryBoxDifficulty {
  grid-area: TheoryBoxDifficulty;
  text-align: right;
  font-size: 1.1em;
  line-height: 0.9em;
  font-weight: bold; 
}
.TheoryBoxContent {
  grid-area: TheoryBoxContent; 
}
.TheoryBoxVidArea {
  grid-area: TheoryBoxVidArea; 
  text-align: center;
  padding-top: 10px;
}

@media screen and (min-width: 900px) {
  .TheoryBoxContainer {
    display: grid;
    grid-template-columns: 1fr 300px;
    grid-template-rows: auto auto;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
  
    grid-template-areas:
      "TheoryBoxTitle TheoryBoxDifficulty"
      "TheoryBoxContent TheoryBoxVidArea";
  
    padding: 10px 10px 5px 15px;
    max-width: 1500px;
  }
  .TheoryBoxContent {
    padding-right: 3em;
  }
}
@media screen and (max-width: 899px) {
.TheoryBoxContainer {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, auto);
  grid-column-gap: 0px;
  grid-row-gap: 0px;

  grid-template-areas:
    "TheoryBoxTitle TheoryBoxDifficulty"
    "TheoryBoxVidArea TheoryBoxVidArea"
    "TheoryBoxContent TheoryBoxContent";

  padding: 10px;
  max-width: 1500px;
}
}

.TheoryBoxVideo {
  overflow: hidden;
  border-radius: 10px;
  line-height: 0px;
  text-align: center;
}


.MockCodeBlock {
  border: 1px solid #eaecf0;
  border-radius: 2px;
  margin: 10px 6px;
  padding: 1px 4px;
  background-color: var(--color-surface-2);
  font-family: monospace,monospace;
  width: fit-content;
}

.CharaInfoLabel {
  text-align: right;
  width: 50%;
  vertical-align: text-top;
}


/* -----------------------------------------------------------------------------
                            Tier List Rules From Dustloop
----------------------------------------------------------------------------- */

.tierList {
	display: grid;
    grid-template-columns: minmax(58px, auto) 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .12), 0 1px 5px 0 rgba(0, 0, 0, .2);
    border-radius: 4px;
    font-size: 12px;
    background-color: unset;
}

@media (min-width: 900px) {
  .tierList {
    max-width: fit-content;
  }
}
@media (max-width: 899px) {
  .tierList {
    width: 100%;
  }
}
.tierHeader {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1em 0;
  font-size: 14px;
  font-weight: 600;
  border-right: 2px solid #b9b9b9;
  color: #202020 !important;
}
.tierGroup {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}
.tierUnderline {
  border-bottom: 2px solid #b9b9b9;
}
.generalUnderline {
  border-bottom: 1px solid rgba(160, 160, 160, .4);
}
.tierGroup>div {
  margin: 4px 10px;
}
.CharaInfoLabel {
  text-align: right;
  width: 50%;
  vertical-align: text-top;
}

.input-badge {
	border: 1px solid #2e2d2d;
	border-radius: 4px;
	padding: 0.25em 0.35em;
	background-color: var(--color-surface-2);
}

.charaLabel {
  display: inline;
}

.charaLabel > img {
    color: transparent!important;
    font-size: 0!important;
    line-height: 0!important;
    vertical-align: middle!important;
    white-space: nowrap!important;
    --width: 0;
    --height: 16px;
    --small-scale: 0.75;
    --gap: 0;
    --base-gap: 2px;
}

.tabber__header, .tabber__section, .tabber__tabs {
  scroll-behavior: auto;
}

/* Collapsible elements. Toggle-link moved to left.
/* Margin around it adjusted. */
.mw-collapsible span.mw-collapsible-toggle {
    float:left;
    margin-left:0;
    margin-right:1em;
}


/* dragdown move classes and char select*/
.aerial-move {
    color: #8e9bff;
}
.special-move {
    color: #66C9B5;
}
.tilt-move {
    color: #CFBF7C;
}
.smash-move {
    color: #ff8f8f;
}
.grab-move {
    color: #79D779;
}
.grayscale {
    filter: opacity(0.3) contrast(1.3);
}

/* Movelist Toggles */
.movelist-toggles {
  display: flex;
  justify-content: center;
  box-shadow: var(--card-shadow-dlw);
  background-color: var(--color-surface-1);
  border-radius: var(--border-radius--small);
}

.movelist-toggle-button {
    display: inline-flex;
    align-items: center;
    padding: 18px;
    font-weight: bold;
    scroll-snap-align: start;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    color: var(--color-base--subtle);
}
.movelist-toggle-button:hover {
	background-color: var(--color-surface-3);
	color: var(--color-base--emphasized);
}

.movelist-toggle-on {
	background-color: var(--color-surface-2);
}

/* -----------------------------------------------------------------------------
                                  Tabber Rules
----------------------------------------------------------------------------- */

.tabber .tabbertab {
  border: none;
  padding: 0;
}
ul.tabbernav {
  margin: 0;
  padding: 3px 0;
  border: 0;
  font: bold 14px 'Roboto', sans-serif !important;
}
ul.tabbernav li a {
  border-top-left-radius: 4px !important;
  border-top-right-radius: 4px !important;
  padding: 3px .5em;
  margin-left: 3px;
  border: 1px solid #CCC;
  /* background: #F2F7FF; */
  text-decoration: none;
  line-height: 1;
}
ul.tabbernav li.tabberactive a {
  background-color: #FFF;
  border: 1px solid #7ec0ee !important;
}
ul.tabbernav li.tabberactive a:hover {
  color: #000;
  background: #FFF;
  border: 1px solid #7ec0ee !important;
}
/* Prevents tabber contents from showing up for a few frames before the script executes */

.tabber:not(.tabberlive)>.tabbertab:not(:first-child) {
  display: none;
}

/* -------------------------
Flex Attack Data styling
------------------------- */
/* Hide the sortable on tables contained within movecards */
.attack-container table.cargoTable thead th {
  padding-right: 0px;
  background-image: none;
  cursor: initial;
  pointer-events: none;
}

.attack-info > table td { vertical-align: middle; }
.attack-data table { line-height: 1.1em; }
@media (min-width: 990px) {
  .attack-container {
    width: auto;
    background-color: #202122;
  }
  .attack-gallery {
    float: left;
    width: 220px;
  }
  .attack-info {
    margin-left: 220px;
    margin-top: 0;
  }
}
.attack-container {
  width: 100%;
  display: inline-block;
  overflow: visible !important;
  z-index: 1;
  border-radius: 4px;
  border: none;
  background-color: white;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .12), 0 1px 5px 0 rgba(0, 0, 0, .2);
  border-collapse: collapse;
}
.attack-gallery ul.gallery {
  margin: 0;
}
.attack-gallery * .gallerytext p {
  margin: 0;
  text-align: center;
}
.attack-data { width: 100%; text-align: center; margin: 0; }
.attack-data table {
  border: none;
  background-color: white;
  border-collapse: collapse;
  overflow: auto;
}
.attack-info p, attack-info dl {
  padding: 0 1em 0 0.5em;
}
.attack-info h4 { padding: 0; margin: 0; }

/* Fixing WikiEditor's weird bug where the button background is white */
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default{
	background:none;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default{
	background-color:var(--color-surface-3);
}

/* Fixing Template Creation where the background is white */
.fieldBox{
	background:var(--color-surface-1);
}

.oo-ui-dropdownInputWidget select {
	background-color:var(--color-surface-1)
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.