MediaWiki:Common.css

/* CSS placed here will be applied to all skins */ /* This governs the sections on the 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 */ /* If modifying these styles, be sure to update the mobile skin! */ .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; }

/* Classes permitting setting of alignment on desktop only or differently on desktop and mobile */ /* (See .mobileleft, .mobilecenter, .mobileright in MediaWiki:Mobile.css for the mobile equivalents */ .desktopleft {   text-align: left; }

.desktopcenter { text-align: center; }

.desktopright { text-align: right; }

/************************* /* Flex layout main page * /*************************/ .panel-title { padding: 6px; font-size: 18px; }

.panel-body { padding: 15px; border-style: solid; border-color: transparent; border-width: 0px 1px 1px 1px; }

.panel-flex-row { display: flex; flex-flow: row wrap; justify-content: center; align-items: center; }

.mainmenu-portal-item { width: 160px; display: inline-block; } .mpflex { display: flex; flex-flow: row wrap; margin: 10px -5px -10px -5px; }

margin: 0; align-items: self-start; justify-content: space-around; text-align: center; font-weight: bold; max-width: 100%; }
 * 1) mpflex1 {

flex: 0 1 auto; }
 * 1) mpflex1 div {

.mpflex .panel, .mpflex .panel.boxshadow { display: flex; flex-flow: column nowrap; width: auto; margin: 0; flex: 1 0 auto; }

.mpflex .panel .panel-heading { flex: 0 0 auto; }

.mpflex .panel .panel-body { flex: 1 0 auto; }

display: flex; flex-flow: column nowrap; box-sizing: border-box; padding: 2px; }
 * 1) mpherogrid, #mpbox {

display: flex; flex-flow: column nowrap; box-sizing: border-box; width: 100%; }
 * 1) mpinnerflex2 {

display: flex; flex-flow: column nowrap; width: 100%; box-sizing: border-box; padding: 2px; }
 * 1) mpnews, #mpbonus, #mpfocus, #mpevents, #mpwiki, #mplinks, #mpinfo, #mptrailer {

.boxshadow { background-color: transparent; box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.1); border: 0px solid transparent; width:100%; }

/* Hero grid */ .hero-grid-icon:hover { opacity: .6; }

.hero-grid-icon-image { max-width: 100%; }

.hero-grid-icon-image a img { width: 100%; min-width: 50px; max-width: 180px; height: auto; }

@media (max-width: 620px) { .hero-grid-icon-image a img { max-width: 140px; } }

@media (min-width: 900px) { #mpflex1 { flex-flow: row nowrap; } }

@media (min-width: 820px) { #mpherogrid, #mpbox { flex-basis: 100%; max-width: 100%; }

#mpinnerflex2 { flex-flow: row wrap; flex-basis: 100%; max-width: 100%; }

#mpnews { order: 1; flex: 0 1 50%; max-width: 50%; }

#mpbonus { order: 0; flex: 0 1 100%; max-width: 100%; }

#mpfocus { order: 2; /*flex: 0 1 50%; max-width: 50%;*/ }

#mpevents, #mplinks { flex-basis: 100%; max-width: 100%; }

#mpwiki { flex-basis: 100%; max-width: 100%; } }

@media (min-width: 1140px) { #mpherogrid, #mpbox { flex-basis: 50%; max-width: 50%; }

#mpinnerflex2 { flex-flow: column nowrap; flex-basis: 33.333%; max-width: 33.333%; }

#mpnews { order: 0; flex: 1 0 auto; width: 100%; max-width: 100%; }

#mpbonus { order: 1; flex: 1 0 auto; width: 100%; max-width: 100%; }

#mpfocus { order: 2; flex: 1 0 auto; width: 100%; max-width: 100%; }

#mpevents, #mplinks { flex-basis: 66.667%; max-width: 66.667%; }

#mpwiki { flex-basis: 33.333%; max-width: 33.333%; } #mpinfo, #mptrailer { flex: 1 50%; } }

/* Make welcome banner responsive */ img[alt="Wiki welcome.png"] { width: 100%; height: auto; } /***************************** /* End flex layout main page * /*****************************/

.hero-infobox { max-width: 360px; }

@media (max-width: 768px) { .mw-body { padding: 0.5em; }   .hero-infobox { margin: auto; } }

@media (min-width: 768px) { .panel-eventbox { margin: 5px 35px; display: inline-block; } }

@media (min-width: 1080px) { .hero-infobox { float: right; margin-left: 25px; } }

/* Front page structure */ .fpmain { width: 100%; overflow: hidden; }

.fpbox { margin: 5px; padding: 5px; overflow: auto; }

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

.fpbox .heading, .fpbox .mainheading, .fpbox .welcome { margin: 0 0 10px; padding: 0 0 5px; overflow: auto; }

.fpbox .mainheading, .fpbox .welcome { font-size: 150%; font-weight: bold; }

.fpbox .heading { text-align: center; font-size: 132%; }

.linkslabel { margin: 15px 5px 5px; padding: 0 0 5px; }

/* Template:FP links styles */ .fplinks { display: flex; flex-wrap: wrap; justify-content: space-evenly; align-items: stretch; text-align: center; }

.fplink-outer { padding: 5px; flex-basis: calc(25% - 10px); width: calc(25% - 15px); min-width: 115px; display: inline-block; vertical-align: middle; }

.fplink-wide { flex-basis: calc(33% - 10px); width: calc(33% - 15px); }

.fplink-fullwidth { flex-basis: 100%; width: calc(100% - 15px); font-weight: bold; }

.fplink { padding: 0.5em; box-sizing: border-box; width: 100%; height: 100%; display: table; }

.fplink-plain { background: transparent; border-radius: 0; border: 0; box-shadow: none; }

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

.fplink a { display: table-cell; vertical-align: middle; }

.fplink img { max-width: 150px; width: 100%; height: auto; } /* Auto-resize front page video to fit smaller columns */ .fpbox .embedvideowrap { width: 100%!important; max-width: 480px; margin: 0 auto; }

.fpbox .embedvideowrap iframe { width: 100%!important; }

/**** Heores css ****/ .div_heroes{height: 60px} .ssr_heroes{ background-image: url("https://d1u5p3l4wpay3k.cloudfront.net/langrisser_gamepedia_en/2/2d/Icon_Rarity_1.png"); background-size: 100px; width: 180px; opacity: 0.65; filter: grayscale(1); }

.sr_heroes{ background-image: url("https://d1u5p3l4wpay3k.cloudfront.net/langrisser_gamepedia_en/d/d2/Icon_Rarity_2.png"); background-size: 70px 42px; width: 130px; opacity: 0.65; filter: grayscale(1); }

.r_heroes{ background-image: url("https://d1u5p3l4wpay3k.cloudfront.net/langrisser_gamepedia_en/b/b4/Icon_Rarity_3.png"); background-size: 47px 42px; width: 90px; opacity: 0.65; filter: grayscale(1); }

.n_heroes{ background-image: url("https://d1u5p3l4wpay3k.cloudfront.net/langrisser_gamepedia_en/7/7d/Icon_Rarity_4.png"); background-size: 47px 42px; width: 90px; opacity: 0.65; filter: grayscale(1); }

.all_heroes{ background-image: url("https://d1u5p3l4wpay3k.cloudfront.net/langrisser_gamepedia_en/4/4f/All.png?version=f6bd132b85176cb32cf6fcf54638fabe"); background-size: 115px; width: 180px; }

.heroes_of_time{ background-image: url("https://gamepedia.cursecdn.com/langrisser_gamepedia_en/8/8c/Icon_Rarity_19.png?version=c5206d0c78d9721e092cd266e9a66fc9"); background-size: 47px 42px; width: 90px; opacity: 0.65; filter: grayscale(1); }

.darkness{ background-image: url("https://d1u5p3l4wpay3k.cloudfront.net/langrisser_gamepedia_en/b/be/Icon_Rarity_10.png"); background-size: 47px 42px; width: 90px; opacity: 0.65; filter: grayscale(1); }

.origin_of_light{ background-image: url("https://d1u5p3l4wpay3k.cloudfront.net/langrisser_gamepedia_en/9/9a/Icon_Rarity_15.png"); background-size: 47px 42px; width: 90px; opacity: 0.65; filter: grayscale(1); }

.legion_of_glory{ background-image: url("https://d1u5p3l4wpay3k.cloudfront.net/langrisser_gamepedia_en/2/27/Icon_Rarity_13.png"); background-size: 47px 42px; width: 90px; opacity: 0.65; filter: grayscale(1); }

.strategic_master{ background-image: url("https://d1u5p3l4wpay3k.cloudfront.net/langrisser_gamepedia_en/3/3d/Icon_Rarity_17.png"); background-size: 47px 42px; width: 90px; opacity: 0.65; filter: grayscale(1); }

.empires_honor{ background-image: url("https://d1u5p3l4wpay3k.cloudfront.net/langrisser_gamepedia_en/b/b3/Icon_Rarity_11.png"); background-size: 47px 42px; width: 90px; opacity: 0.65; filter: grayscale(1); }

.princess_alliance{ background-image: url("https://d1u5p3l4wpay3k.cloudfront.net/langrisser_gamepedia_en/4/4b/Icon_Rarity_16.png"); background-size: 47px 42px; width: 90px; opacity: 0.65; filter: grayscale(1); }

.protagonists{ background-image: url("https://d1u5p3l4wpay3k.cloudfront.net/langrisser_gamepedia_en/c/cc/Icon_Rarity_12.png"); background-size: 47px 42px; width: 90px; opacity: 0.65; filter: grayscale(1); }

.yeless_legend{ background-image: url("https://d1u5p3l4wpay3k.cloudfront.net/langrisser_gamepedia_en/1/10/Legend.png"); background-size: 47px 42px; width: 90px; opacity: 0.65; filter: grayscale(1); }

.meteor{ background-image: url("https://d1u5p3l4wpay3k.cloudfront.net/langrisser_gamepedia_en/f/f8/Icon_Rarity_14.png"); background-size: 47px 42px; width: 90px; opacity: 0.65; filter: grayscale(1); }

.langrisser_reincarnation{ background-image: url("https://gamepedia.cursecdn.com/langrisser_gamepedia_en/thumb/9/93/Langrisser_reincarnation.png"); background-size: 47px 42px; width: 90px; opacity: 0.65; filter: grayscale(1); }

.mythical_realm{ background-image: url("https://d1u5p3l4wpay3k.cloudfront.net/langrisser_gamepedia_en/2/21/Mythical_realm.png"); background-size: 47px 42px; width: 90px; opacity: 0.65; filter: grayscale(1); }

.all_heroes, .ssr_heroes, .sr_heroes, .r_heroes, .n_heroes, .protagonists, .legion_of_glory, .empires_honor, .origin_of_light, .darkness, .strategic_master, .princess_alliance, .meteor, .yeless_legend, .heroes_of_time, .langrisser_reincarnation, .mythical_realm {background-repeat: no-repeat; height: 78px; display: inline-block; padding: 10px; cursor: pointer} .ssr_heroes_list, .sr_heroes_list, .r_heroes_list, .n_heroes_list, .legion_of_glory_list, .empires_honor_list, .protagonists_list, .origin_of_light_list, .darkness_list, .strategic_master_list, .princess_alliance_list, .meteor_list, .yeless_legend_list, .heroes_of_time_list, .langrisser_reincarnation_list, .mythical_realm_list{display: none} }

/*Troops page css*/ .troops_heroes_tab>div{ background-image: url("https://d1u5p3l4wpay3k.cloudfront.net/langrisser_gamepedia_en/9/94/Troops_heroes_tab.png"); width: 56px; opacity: 1; filter: grayscale(0); }

.troops_weaponry_tab>div{ background-image: url("https://d1u5p3l4wpay3k.cloudfront.net/langrisser_gamepedia_en/6/62/Troops_equips_tab.png"); width: 56px; opacity: 1; filter: grayscale(0); } .troops_helmets_tab>div{ background-image: url("https://d1u5p3l4wpay3k.cloudfront.net/langrisser_gamepedia_en/6/62/Troops_equips_tab.png"); width: 56px; opacity: 0.65; filter: grayscale(1); } .troops_bodyarmor_tab>div{ background-image: url("https://d1u5p3l4wpay3k.cloudfront.net/langrisser_gamepedia_en/6/62/Troops_equips_tab.png"); width: 56px; opacity: 0.65; filter: grayscale(1); } .troops_accessories_tab>div{ background-image: url("https://d1u5p3l4wpay3k.cloudfront.net/langrisser_gamepedia_en/6/62/Troops_equips_tab.png"); width: 56px; opacity: 0.65; filter: grayscale(1); } .troops_heroes_tab>div, .troops_weaponry_tab>div, .troops_helmets_tab>div, .troops_bodyarmor_tab>div, .troops_accessories_tab>div{ background-repeat: no-repeat; height: 40px; display: inline-block; cursor: pointer} .troop_weaponry_list{display: none}

.div_troops P{margin: 0px; cursor: pointer; opacity: 0.65; color: black;} .div_troops>div{display: inline-block; margin-right: 30px;} .troops_weaponry_tab>P{opacity: 1; color: #1342cc;}

/*Start of troops - arms*/ .arms_tabs{ display: inline-block; width: 140px; background-color: #408dbf; height: 35px; padding-top: 10px; cursor: pointer; font-weight: bold; border: 1px solid #2b6286; color: white; }

/*end of troops - arms*/

/*Start of mini-equipment css*/ .equipment_tabs{ display: inline-block; width: 100px; background-color: #408dbf; height: 35px; padding-top: 10px; cursor: pointer; font-weight: bold; border: 1px solid #2b6286; color: white; }

.pagenation_tabs{ display: inline-block; width: 30px;  cursor: pointer; font-weight: bold; border: 1px solid #2b6286; color: #408dbf; margin-right: -4px; }

/*end of mini-equipment css*/

/* hero tooltip effect*/ ul.mw-gallery-packed-hover li.gallerybox:hover div.gallerytextwrapper, ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper, ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused div.gallerytextwrapper {   position: absolute; background: #fff !important; padding: 2px 13px 10%; bottom: 100% !important; height: auto; max-height: 40%; overflow: unset; font-weight: bold; margin: 2px; width: 200% !important; border: 1px solid #bbb; left: -63% !important; z-index: 100 !important; opacity:1; transition: opacity 200ms ease; transition-delay:0s; border-radius:8px ; }

.thumb:hover{ opacity:0.3 !important; }

ul.mw-gallery-packed-hover li.gallerybox:hover div.gallerytextwrapper:before, ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper:before, ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused div.gallerytextwrapper: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;

}

ul.mw-gallery-packed-hover li.gallerybox:hover div.gallerytextwrapper:before, ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper:before, ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused div.gallerytextwrapper:before ,

ul.mw-gallery-packed-hover li.gallerybox:hover div.gallerytextwrapper:after, ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper:after, ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused div.gallerytextwrapper:after {   content: ''; position: absolute; left: 50%; border-style: solid;

}

ul.mw-gallery-packed-hover li.gallerybox:hover div.gallerytextwrapper:after, ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper:after, ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused div.gallerytextwrapper: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;

} {  width:103%; height:auto; } .starimage { background-image: url("https://gamepedia.cursecdn.com/langrisser_gamepedia_en/8/81/Icon_StarGold.png"); background-repeat: no-repeat; width: 60px; height: 50px; margin-top: 2%; } .startext { padding-top: 50px; margin-left: -30%; font-family:Monospace; font-weight:bold; font-size: 17px; color:red; }
 * 1) wrongimage .image>img

/*chronology css*/ table.diagram td.d-b { border-width: 2px; border-style: solid; border-color: black; text-align: center; padding: .25em; }

table.diagram td.d-bbs { border-bottom: 1px solid black; }

table.diagram td.d-sv div { width: 0; height: 1em; } table.diagram td.d-sh div { width: 1em; height: 0; }

table.diagram td.d-brs { border-right: 1px solid black; }

border-top: 1px solid transparent; border-left: 1px solid transparent; }
 * + table.diagram td.d-brs {

table.diagram { border-collapse: separate; border-spacing: 0; border: 0; } border-collapse: collapse; border-spacing: 0; border: 0; }
 * + html table.diagram {

/*Current Event Divs CSS*/ .event_left_parent_div {display: inline-block; width: 65%} .event_right_parent_div{display: inline-block; width: 30%} .event_children_div{text-align: center; font-weight: bold; height: 160px} /*<<-- end */

/*>> drop downlist css*/ .dropdownlist_div ul>li { padding: 5px 10px; z-index: 2; font-weight: bold;} .dropdownlist_div ul>li:not(.init) { float: left; width: 130px; display: none; background: #ddd; margin: 0px; border-bottom: 1px solid #7d78787d;} .dropdownlist_div ul>li:not(.init):hover, .dropdownlist_div ul>li.selected:not(.init) { background: #09f; } .dropdownlist_div ul>li.init { cursor: pointer; }

/* << end */

/* Hero Info CSS */ .flex-container { max-width:850px; margin:auto; border:1px solid black; padding:1em; }

.flex-panel { display:flex; flex-wrap:wrap; flex-direction:row; text-align:center; }

.hero-header { display:flex; padding:0 1em 1em 1em; text-align:center; }

.hero-name { font-size:1.5em; }

.hero-affinity, .hero-rarity { flex:auto; align-self:center; }

.panel-image { flex:1 0 50%; text-align:center; }

.hero-info { flex:1 0 45%; padding:1em; }

.hero-info .wikitable { margin:auto; width:100%; margin-bottom:1em; }

.hero-addl-info { text-align:center; margin-top:1em; }

.class-upgrade-tree { background:url("https://gamepedia.cursecdn.com/langrisser_gamepedia_en/5/5b/Paper_01.png?version=6616ed93ee220fe15dcec2fda3722255") no-repeat center center; background-size: cover; }

/*Mobile view*/ width: 100%!important; height: auto!important; } /* << end of mobile view*/
 * 1) mmpheader>img{

/* Skills table */ @media(max-width: 989px) { table.skills-table { width: 100%; } } @media(min-width: 990px) { table.skills-table { width: 730px; min-width: 730px; } }

table.skills-table > * > tr > th { white-space: nowrap; padding: .4em; }

table.skills-table > * > tr > td { height: 30px; }

/* Tier list */ .Tierlist-Responsive, .Tierlist2-Responsive { width: 320px; height: 50px; } @media(min-width: 500px) { .Tierlist-Responsive, .Tierlist2-Responsive { width: 468px; height: 60px; } } @media(min-width: 768px) { .Tierlist-Responsive, .Tierlist2-Responsive { width: 728px; height: 90px; } }

/* Hero page */ .Heropage-Responsive { width: 320px; height: 100px; } @media(min-width: 500px) { .Heropage-Responsive { width: 300px; height: 250px; } }

/* Navbox Horizontal List */ .navbox-list.hlist li { white-space: nowrap; }

/* Horizontal Lists */ .hlist dl, .hlist ol, .hlist ul { margin: 0; padding: 0; } /* Display list items inline */ .hlist dd, .hlist dt, .hlist li { margin: 0; display: inline; } /* Display nested lists 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; }

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

/* Generate interpuncts */ .hlist dt:after { content: ": "; }

.hlist dd:after, .hlist li:after { content: " · "; font-weight: bold; }

.hlist dd:last-child:after, .hlist dt:last-child:after, .hlist li:last-child:after { content: none; }

/* 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"; } /* Front page appearance styles */ .fpbox .heading, .fpbox .mainheading {   border: 0;    border-bottom: 1px solid #505050; }

.fpbox { background: rgba(0, 0, 0, 0.05); border: 1px solid #505050; box-shadow: 0 2px 5px #505050; }

.fplink { background: rgba(0,0,0,0.3); border: 1px solid #505050; }

.fplink-fullwidth .fplink { background: rgba(0,0,0,0.4); }

.linkslabel { border-bottom: 2px solid #505050; }