MediaWiki:Common.css

/***********/ /* Layout */ /***********/

body { background-color: #f6f6f6; background-image: url(''); background-repeat: no-repeat; }

body.page-Last_Idea_Wiki.action-view #firstHeading { display: none; }

box-shadow: rgba(0,0,0,0.15) 0 0.05em 0.25em; }
 * 1) content {

.mw-body { border: 1px solid #71a971; }

.mw-body-content { z-index: 1; }

a.new:link { color: #BA0000; }

a:link { color: #3F56AD; }

a:visited, a.external:visited { color: #3F56AD; }

.mw-wiki-logo { background-image: url(https://gamepedia.cursecdn.com/lastidea_gamepedia_en/c/c9/Logo.png?version=1f7886c12f91f08c414ca2fe17cb53db); }

background: transparent; }
 * 1) mw-page-base {

background: transparent; }
 * 1) mw-head-base {

/* Tabs */ margin-left: 11em; }
 * 1) left-navigation {

margin-right: 0em; }
 * 1) right-navigation {

div.vectorTabs, div.vectorTabs span, div.vectorTabs li.selected, div.vectorTabs ul, div.vectorTabs ul li, div.vectorTabs li a { background-color: rgba(0, 0, 0, 0); background-image: none; }

div.vectorTabs ul li { margin-right: 5px; }

div.vectorTabs li span { background: #DBE8F5; display: inline-block; border: 1px solid #4456A7; border-radius: 4px; padding: 2px 10px; margin-top: 0.5em; height: 19px; text-align: center; }

div.vectorTabs li a { background-image: none; margin-top: -16px; }

div#mw-head a, div#mw-head div.vectorTabs a, div#mw-head div.vectorMenu a, .vectorTabs li a span, div.vectorMenu h3 span { color: #000; font-weight: bold; }

div#mw-head li.new a, div#mw-head li.new a:visited { color: #000 !important; text-shadow: none; }

div.vectorTabs ul li:first-child { border-image: none; border-left: medium none; }

div#mw-head li.selected a, div#mw-head li.selected a span, div#mw-head div.vectorTabs li.selected a, div#mw-head div.vectorTabs li.selected a:visited { color: #000 !important; font-weight: bold; }

div#p-sharing .menu { background-color: #DBE8F5; box-shadow: 0 0.1em 0.75em #DBE8F5; margin-left: 45px; min-width: 0px; width: 48px; }

width: 100%; }
 * 1) p-sharing #socialIconImages img {

width: 40px; }
 * 1) p-sharing #socialIconImages a {

div.vectorMenu h3 span { font-weight: bold; padding-top: 0; }

div.vectorMenu h3 span::after { top: 0; }

div.vectorMenu h3:hover span, div.vectorMenu h3:focus span { color: #000; }

div#mw-head div.vectorMenu h4, div#p-variants.vectorMenu #mw-vector-current-variant { color: #000; font-weight: bold; padding-top: 0.2em; text-shadow: none; }

.vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a { padding: 16px 0 0; }

div#mw-head div.vectorMenu h3 { background: #DBE8F5; display: inline-block; border: 1px solid #4456A7; border-radius: 4px; padding: 2px 10px; margin-top: 0.5em; margin-bottom: 0.5em; height: 19px; text-align: center; }

div.vectorMenu h3 a, div.vectorMenu h3 a:active { background-color: rgba(0, 0, 0, 0); background-image: url("https://static.wikia.nocookie.net/commons_hydra/images/8/80/Vector_menu_downarrow_white.png"); background-position: 50% 50%; border: medium none; }

div.vectorMenu div.menu { border: none; left: auto; margin-left: 5px; right: 0; top: 40px; }

div#mw-head div.vectorMenu ul { background-color: #DBE8F5; background-image: none; border-right: 5px none; box-shadow: 0 0.1em 0.75em #d5d4d4; }

div#mw-head div.vectorMenu li a { color: #000; }

div#mw-head div.vectorMenu li a:hover { color: #000; }

/* Side Nav */

background-position: left top; background-repeat: no-repeat; direction: ltr; margin: 0 0.6em 0 0.7em; padding: 0.25em 0; }
 * 1) mw-panel .portal {

div#mw-panel div.portal h3, color: #4d4d4d; }
 * 1) mw-panel.collapsible-nav .portal h3 a,
 * 2) mw-panel.collapsible-nav .portal.collapsed h3 a {

div#mw-panel.collapsible-nav div.portal#p-socialProfiles { margin: 0 0.6em 0 0.7em; }

padding: 4px 0 3px 20px; }
 * 1) mw-panel.collapsible-nav .portal h3 {

div#mw-panel div.portal div.body { background-image: none; }

display: none; }
 * 1) p-claimWiki {

background-image: none !important; }
 * 1) p-navigation {

.socialSidebar { width: 100%; }

/* Main page */

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

.mp-portal-row { display: flex; flex-flow: row nowrap; margin: 0; align-items: self-start; justify-content: space-around; text-align: center; font-weight: bold; max-width: 100%; }

.mp-portal-row div { flex: 0 1 auto; margin: 4px; }

.mp-portal-icon a img { width: 100%; min-width: 50px; max-width: 150px; height: auto; }

.mp p img { max-width: 100%; height: auto; }

.mp-menu-item { text-align: left; width: 165px; display: inline-block; margin: 5px 15px; vertical-align: top; }

.mp-menu-item-header { border-bottom: 1px solid #505050; font-size: 120%; font-variant: small-caps; color: black; }

.mp-menu-item-body { column-count: 1; margin-top: 5px; }

.mp-menu-item-body>ul { margin-top: 0; }

.mp-news-container { width: 100%; max-height:249px; overflow:hidden; text-overflow: ellipsis; content: ""; position:relative; }

.mp-news-container:before { content:''; width:100%; height:100%; position:absolute; left:0; top:0; background:linear-gradient(transparent 200px, white); pointer-events: none; }

.mp-container-small img, .mp-container-mid img, .mp-container-large img { max-width: 100%; height: auto; }

.mp-container-large, .mp-container-mid { width: 100%; }

.mp-container-small { width: 50%; }

.mp-new-content-row { display:flex; justify-content:center; font-size:0.9em; }

order: 2; width: 100%; }
 * 1) mp-navigation {

@media (min-width: 1200px) { .mp-container-large { flex-basis: 66.667%; max-width: 66.667%; }	.mp-container-mid { flex-basis: 50%; max-width: 50%; }	.mp-container-small { flex-basis: 33.333%; max-width: 33.333%; }	#mp-navigation { order: 0; width: initial; } }

/************/ /* Elements */ /************/

/* wikitable */

table.wikitable> :first-child>tr:first-child, table.wikitable>tbody>tr.heading, table.wikitable> :first-child>tr:first-child>th, table.wikitable>tbody>tr.heading>* { background-color: #4d905e; border-color: #336642; }

/*table.wikitable> :first-child>tr:first-child a,*/ table.wikitable>tbody>tr.heading a { color: #a7f9be }

table.wikitable>tbody>tr>th, table.wikitable>tfoot>tr>th, table.wikitable>thead>tr>th, table.wikitable>tbody>tr>th { background-color: #4d905e; border-color: #336642; }

table.wikitable>tbody>tr:nth-child(odd), table.wikitable>tbody>tr:nth-child(odd) { background-color: #e3f2ea; }

table.wikitable { border: 0 solid; border-collapse: collapse; border-spacing: 0; font-size: .9230769231em; text-align: left; clear: none; position: relative; vertical-align: top; margin: 10px 0; padding: 0; max-width: 100%; }

table.wikitable>caption { font-weight: bold }

table.wikitable>thead, table.wikitable>tbody { border: 0 solid #aaa\0/ }

table.wikitable tr { border: 1px solid #aaa\0/; text-align: left; border-color: #AAA; }

border-top-width: 0; border-bottom-width: 0; }

table.wikitable>*>tr> :first-child { border-left: 1px solid #AAA; }

table.wikitable>*>tr> :last-child { border-right: 1px solid #AAA; }

table.wikitable>tbody>tr:last-child, table.wikitable>tbody>tr:last-child>*, table.wikitable>tfoot>tr:last-child>*, table.wikitable>caption { border-bottom: 1px solid #AAA; }

table.wikitable>tbody:first-child>tr:first-child>th, table.wikitable>tbody>tr.heading>*, table.wikitable>thead>tr:first-child>* { padding: .5em; color: #fff; text-shadow: rgba(0, 0, 0, 0.75) 0 0 0.25em; }

table.wikitable>tbody>tr>th, table.wikitable>tbody>tr>td, table.wikitable>tfoot>tr>th { line-height: 1.667em; padding: .25em .5em; }

table.wikitable tr>th, table.wikitable[class*=center] tr { text-align: center; }

table.wikitable[class*=left] tr { text-align: left; }

table.wikitable[class*=right] tr { text-align: right; }

table.wikitable[class*=middle] tr { vertical-align: middle; }

table.wikitable[class*=top] tr { vertical-align: top; }

table.wikitable[class*=bottom] tr { vertical-align: bottom; }

table.wikitable> :first-child>tr:first-child, table.wikitable>tbody>tr.heading { background-color: #F3F3F3; /* 	border: 1px solid #aaa; */ }

table.wikitable>tbody>tr>th, table.wikitable>tfoot>tr>th { background-color: #E7E7E7; border-color: #AAA; }

table.wikitable>tbody>tr:nth-child(odd) { background-color: #F3F3F3; border-color: #AAA; }

table.wikitable>tbody, table.wikitable>tbody>tr.heading, table.wikitable>tbody>tr>[rowspan], table.wikitable>tbody>tr>[colspan] { border: 1px solid #AAA; }

table.wikitable> :first-child>tr:first-child+tr [rowspan], table.wikitable> :first-child>tr:first-child+tr [colspan] { border-top-width: 0; }

table.wikitable .line, table.wikitable .line-bottom { border-bottom-width: 1px!important; border-bottom-style: solid; }

table.wikitable .line-top { border-top-width: 1px!important; border-top-style: solid; border-top-color: #AAA; }

table.wikitable .line-left { border-left-width: 1px!important; border-left-style: solid; border-left-color: #AAA; }

table.wikitable .line-right { border-right-width: 1px!important; border-right-style: solid; border-right-color: #AAA; }

table.wikitable table { background-color: transparent; padding: 0; margin: 0; }

table.borderless>*>tr>td { border: none; }

table.borderless>tbody>tr>[colspan] { border: none; }

table.fullwidth { width: 100%; }

.wikitable>*>tr>th a:visited, .wikitable>*>tr>th a:link { color: #FFFFFF !important; }

.wikitable th a { color: #c7ffff; }

/* cargoTable */

table.cargoTable> :first-child>tr:first-child, table.cargoTable>tbody>tr.heading, table.cargoTable> :first-child>tr:first-child>*, table.cargoTable>tbody>tr.heading>* { background-color: #4d905e; border-color: #336642; }

table.cargoTable> :first-child>tr:first-child a, table.cargoTable>tbody>tr.heading a { color: #a7f9be }

table.cargoTable>tbody>tr>th, table.cargoTable>tfoot>tr>th, table.cargoTable>thead>tr>th, table.cargoTable>tbody>tr>th { background-color: #4d905e; border-color: #336642; }

table.cargoTable>tbody>tr:nth-child(odd), table.cargoTable>tbody>tr:nth-child(odd) { background-color: #e3f2ea; }

table.cargoTable { border: 0 solid; border-collapse: collapse; border-spacing: 0; font-size: .9230769231em; text-align: left; clear: none; position: relative; vertical-align: top; margin: 10px 0; padding: 0; max-width: 100%; width: 100%; }

table.cargoTable>caption { font-weight: bold }

table.cargoTable>thead, table.cargoTable>tbody { border: 0 solid #aaa\0/ }

table.cargoTable tr { border: 1px solid #aaa\0/; text-align: left; border-color: #AAA; text-align: center; }

border-top-width: 0; border-bottom-width: 0; }

table.cargoTable>*>tr> :first-child { border-left: 1px solid #AAA; }

table.cargoTable>*>tr> :last-child { border-right: 1px solid #AAA; }

table.cargoTable>tbody>tr:last-child, table.cargoTable>tbody>tr:last-child>*, table.cargoTable>tfoot>tr:last-child>*, table.cargoTable>caption { border-bottom: 1px solid #AAA; }

table.cargoTable>tbody:first-child>tr:first-child>*, table.cargoTable>tbody>tr.heading>*, table.cargoTable>thead>tr:first-child>* { padding: .5em; color: #fff; text-shadow: rgba(0, 0, 0, 0.75) 0 0 0.25em; }

table.cargoTable>tbody>tr>th, table.cargoTable>tbody>tr>td, table.cargoTable>tfoot>tr>th { line-height: 1.667em; padding: .25em .5em; }

table.cargoTable tr>th, table.cargoTable[class*=center] tr { text-align: center; }

table.cargoTable[class*=left] tr { text-align: left; }

table.cargoTable[class*=right] tr { text-align: right; }

table.cargoTable[class*=middle] tr { vertical-align: middle; }

table.cargoTable[class*=top] tr { vertical-align: top; }

table.cargoTable[class*=bottom] tr { vertical-align: bottom; }

table.cargoTable> :first-child>tr:first-child, table.cargoTable>tbody>tr.heading { background-color: #EEE; border: 1px solid #aaa; }

table.cargoTable>tbody>tr>th, table.cargoTable>tfoot>tr>th { background-color: #E7E7E7; border-color: #AAA; }

table.cargoTable>tbody>tr:nth-child(odd) { background-color: #F3F3F3; border-color: #AAA; }

table.cargoTable>tbody, table.cargoTable>tbody>tr.heading, table.cargoTable>tbody>tr>[rowspan], table.cargoTable>tbody>tr>[colspan] { border: 1px solid #AAA; vertical-align: middle; }

table.cargoTable> :first-child>tr:first-child+tr [rowspan], table.cargoTable> :first-child>tr:first-child+tr [colspan] { border-top-width: 0; }

table.cargoTable .line, table.cargoTable .line-bottom { border-bottom-width: 1px!important; border-bottom-style: solid; }

table.cargoTable .line-top { border-top-width: 1px!important; border-top-style: solid; border-top-color: #AAA; }

table.cargoTable .line-left { border-left-width: 1px!important; border-left-style: solid; border-left-color: #AAA; }

table.cargoTable .line-right { border-right-width: 1px!important; border-right-style: solid; border-right-color: #AAA; }

table.cargoTable table { background-color: transparent; padding: 0; margin: 0; }

table.borderless>*>tr>td { border: none; }

table.borderless>tbody>tr>[colspan] { border: none; }

table.fullwidth { width: 100%; }

.cargoTable>*>tr>th a:visited, .cargoTable>*>tr>th a:link { color: #FFFFFF !important; }

.cargoTable th a { color: #c7ffff; }

/*********/ /* Panel */ /*********/

.panel { border: 1px solid #5a5a5a; margin: 2px; }

.panel-heading { position: relative; text-align: center; font-weight: bold; color: #1f4c1f; margin: 5px; font-size: 1.5em; font-variant-caps: small-caps; }

.panel-body { position: relative; padding: 5px 15px;; }

/* TermDescription */ .dt-term { display: inline-block; width: 120px; text-align: right; padding: 3px 8px 3px 0; margin: 0 -6px 0 0; border-right: 3px #528e52 solid; font-weight: bold; vertical-align: top; }

.dd-description { display: inline-block; width: 150px; text-align: left; padding: 3px 0 3px 6px; border-left: 1px #528e52 solid; vertical-align: top; }

/* Ambox */ .ambox { background-color: #f8f9fa; border-bottom-color: #383838; border-right-color: #383838; border-top-color: #383838; border-collapse: collapse; margin: 0 auto 6px auto; width: 80%; }

.ambox tr { border: 1px solid #a2a9b1; }

.ambox-gray { border-left-color: #383838; }

.ambox.ambox-tiny { font-size: 90%; margin: 2px 0; width: auto; }

.ambox+.ambox { margin-top: -2px; }

.ambox-text-title { font-weight: 700; }

.ambox-text { padding: 0.25em 1em; }

.ambox-image { padding: 0; text-align: center; width: 80px; }

.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-top: 0.5em; }

/* Blockquote */

blockquote { font-size: 14pt; width: 60%; margin: auto; font-family: Catamaran; font-style: italic; color: #555555; padding: 1.2em 30px 1.2em 75px; border-left: 8px solid #336699; line-height: 1.3; position: relative; background: #EDEDED; }

blockquote::before { font-family: Arial; content: "\201C"; color: #336699; font-size: 4em; position: absolute; left: 10px; top: -10px; }

blockquote::after { content: ''; }

blockquote span { display: block; color: #333333; font-style: normal; font-weight: bold; margin-top: 1em; }

/* Image tile */ .image-tile { position: relative; height: 44px; width: 120px; margin: 5px; display: inline-block; overflow: hidden; }

.image-tile.selectable { opacity: 0.4; }

.image-tile.selectable:hover { opacity: 0.85; }

.image-tile-text { position: absolute; width: 100%; text-align: center; top: 46%; -ms-transform: translateY(-50%); -webkit-transform: translateY(-50%); transform: translateY(-50%); pointer-events: none; color: #000; text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff; }

/* mw ui button tweaks */

.mw-ui-button-group { display: inline-flex; } .mw-ui-button-group > * { min-width: 38px; float: none; }

.mw-ui-button-group > *:last-child { border-top-right-radius: 0; border-bottom-right-radius: 0; }

.mw-ui-button { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }

/***********/ /* Tooltip */ /***********/

.tooltip { position: relative; display: inline-block; border-bottom: 1px dotted #aaa; line-height: 1.3; }

.tooltiptext { visibility: hidden; min-width: 150px; margin-left: -90px; padding: 12px 14px; text-align: center; position: absolute; left: 50%; bottom: calc(20px + 100%); z-index: 99999; background: #fff; box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.15); border: 1px solid #a2a9b1; border-radius: 2px; font-weight: normal; color: black; text-shadow: none; }

.tooltiptext:after, .tooltiptext:before { content: ''; position: absolute; left: 50%; border-style: solid; }

.tooltiptext:after { top: 100%; bottom: auto; width: 20px; height: 20px; background: #fff; 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 { bottom: auto; top: 195%; }

.tooltip .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 { top: auto; bottom: 100%; border-width: 16px; margin-left: -16px; border-color: transparent transparent #888 transparent; }

.tooltiptext hr { margin: 10px 0 12px; position: relative; background: none; }

.tooltiptext hr:after { content: ''; display: block; width: 100%; height: 1px !important; position: absolute; left: -14px; background: #a2a9b1; padding: 0 14px; }

.tooltip:hover>.tooltiptext { visibility: visible; }

.tooltiptext { opacity: 0; transition: opacity 200ms ease, visibility 0s ease 200ms, transform 200ms ease; transform: translateY(8px); }

.tooltip .tooltip .tooltiptext { transform: translateY(-8px); }

.tooltip:hover>.tooltiptext { opacity: 1; transition-delay: 0s; transform: translateY(0); }

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