MediaWiki:Common.css

/* Alternate Colouring for Tables */ table.sortable { border: 1px solid #fff; }

.sortable th, .unsortable th { color: #ffffff; }

.sortable tr:nth-child(2n+1), .pyjama tr:nth-child(2n+1) { background: none repeat scroll 0 0 #ECEFF6; }

.sortable tr:nth-child(2n), .pyjama tr:nth-child(2n) { background: none repeat scroll 0 0 #D5D8DF; }

/* this CSS governs the responsive 2 column main page layout */

.fpcontent { width: 100%; overflow: hidden; z-index: 1; }

.fpmaybecols { overflow: hidden; margin: -5px 0 -5px 0; }

.fpmaybecols + .fpmaybecols { margin: 0 0 -5px 0; }

.fpbox { background: rgba(0,0,0,.75); color: #fff; /* change for hydra (light) wikis */ margin: 18px 18px 20px 18px; padding: 18px 18px 18px 18px; border: 2px solid #ed9eff; border-image: url(https://dx2shinmegamitensei.gamepedia.com/media/dx2shinmegamitensei.gamepedia.com/4/40/Skin-Element-Border.png) 26 26 26 26 / auto / 13px 13px 13px 13px; }

.fpbox2 { background: rgba(0,0,0,.75); color: #fff; /* change for hydra (light) wikis */ margin: 5px 5px 5px 5px; padding: 5px 5px 5px 5px; border: 2px solid #DFC668; }

.fpboxcell { border: 2px solid #000; }

.fpplainbox { padding: 5px 8px 10px 8px; margin: 0 5px 10px 5px; vertical-align: top; }

.fpbox .welcome { border-bottom: 2px solid #000; color: #fff; /* change for hydra (light) wikis */ font-size: 150%; margin: 0 0 10px 0; padding: 0 0 5px 0; text-transform: uppercase; }

.fpbox .heading { border-bottom: 1px solid #505050; color: #fff; /* change for hydra (light) wikis */ font-size: 132%; font-variant: small-caps; margin: 0 0 10px 0; padding: 0 0 5px 0; }

.fpbox .heading .smalllink { color: #fff; /* change for hydra (light) wikis */ font-size: 75%; font-weight: bold; }

.fpbox hr { border: none; border-bottom: 2px solid #000; }

div#content hr { background-color: #ce19f5; color: #1B1823; }

.fplinks { margin: -5px; }

.fplinks .linkslabel { background: rgba(255,255,255,.75); border-bottom: 2px solid #1B1823; font-weight: bold; margin: 15px 5px 5px 5px; padding: 0 0 5px 0; }

.fplink { display: inline-block; vertical-align: middle; width: 100%; }

/* 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: rgba(255,255,255,.75); color: #000; /* change for hydra (light) wikis */ display: table-cell; font-weight: bold; position: relative; vertical-align: middle; }

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

height: 114px; width: 114px; }
 * 1) fptopsection .fplink.image,
 * 2) fpflexsection .fplink.image,
 * 3) fpbottomsection .fplink.image

.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: 520px; width: auto; }

#fptopsection { float: left; width: 100%; padding-bottom: 23px; }

#fpflexsection { float: right; width: 520px; margin-right: -520px }

#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; } }

@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: 50%; }

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

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

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

#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; font-size: 75%; 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: rgba(255,255,255,.75); border-top: 2px solid #505050; }

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

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

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

/* Infoboxes */

.infoboxtable { float: right; background: #ECEFF6; width: 350px; }

.infoboxname { background:#d9b9ea; color: #000; font-size: 115%; }

.infoboxlabel { width: 50%; background:#1B1823; color: #000 ; border: 1px solid #1B1823; border-radius:5px; padding: 0.5px 7px; text-align: right;

}

.infoboxdetails { padding-right: 5px; }

/* Newer Navbox template style */ table.navbox { border: 1px solid #67676; clear: both; font-size: 88%; margin: auto; padding: 1px; text-align: center; width: 100%; }

/* Border between adjacent navboxes */ table.navbox + table.navbox { margin-top: -1px; }

.navbox-title, .navbox-abovebelow, table.navbox th { padding-left: 1em; padding-right: 1em; text-align: center; }

.navbox-group { font-weight: bold; padding-left: 1em; padding-right: 1em; white-space: nowrap; }

/* Base background */ .navbox, .navbox-subgroup { background: black; }

.navbox-list { border-color: black;  /* Must match background color */ }

/* Level 1 color */ .navbox-title, table.navbox th { background: #000; border: 1px solid #6C98BC; color: #fff; }

/* Level 2 styling */ .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { background: #000; border: 1px solid #6C98BC; color: #fff; }

/* Level 3 styling */ .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background: #000; border: 1px solid #6C98BC; color: #fff; }

/* Even row striping */ .navbox-even { background: #202020; color: #fff; }

/* Odd row striping */ .navbox-odd { background: transparent; } .collapseButton { font-weight: normal; width: auto; }

.navbox .collapseButton { width: 6em; } .navbar { font-size: 88%; font-weight: normal; }

.navbox .navbar { font-size: 100%; } table.collapsed tr.collapsible { display: none; } /* End of new Navbox styling */

/******************** /* Main page styles * /********************/ /* Until the new main page is ready to go */ .fpbox { }

.fpcontent { width: 100%; overflow: hidden; z-index: 1; }

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

@media (min-width: 1520px) { .fpcontent { padding-right: 520px; width: auto; }

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

#fpflexsection { float: right; width: 520px; margin-right: -520px; }

#fpbottomsection { float: left; width: 100%; margin-top: -18px; min-height: 18px; } }

.fplinkgroups hr { border: none; background: #d4bf70 url(https://static.wikia.nocookie.net/dx2shinmegamitensei_gamepedia_en/images/6/67/Main_page_group_divider.png/revision/latest) no-repeat left top; height: 6px; max-width: 872px; margin: 0 auto; padding: 0; }

.fpgroup { font-size: 14px; margin: 0 auto; padding: 36px 10px 10px 152px; height: 72px; max-width: 708px; }

.fpgroup ul { display: flex; flex-flow: row wrap; margin: 0; padding: 0; max-height: 72px; overflow: auto; }

.fpgroup ul li { display: inline-block; background: transparent url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAPCAYAAAA/I0V3AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4QgRDCkCakseHwAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAABpElEQVQoz42RTUiUYRSFn28cnRkhm0Q0ybAiTYTQkFzMIujHmHSRQiAlKGILyY1JWBAGCqGYkDUZyfTH7ETBFESlUlrUoo0gRG0EQSJoMzkyhn1f73EzA5HN5LO89x7uOffCTlzBc8feAMWkwPWPmqewqOLss+GGVaBotyI5jpfGllJGh1rWgIOko7kpAODZn79XsS8RbUT7FB5uVzqrAIQfdtYAHW432vo6beLr/Xox0ing0I7h2vOB8oXZR5JmzNzEPbndGdcBY0cX9XNjSC8f39SfGbNnX4U+SR/k2CH9tu/LsZ8Y6aNKSornAfNr/a0cZ0zzMyMC8gCeAroULNXzu5XqadujyEClDh/wCYg3nCn/trV5VaGuAtWdKhTwObntCBDP9mWZB7218ud4Bbxurq/6Lt3S+MBR03r5pAEEZP0d7UKiUX/7WjAmdetduMx0tZ9OCnypDui50lgX3Yy3amXquO50X0wKctI917Itv98svWdy+YT6BqcsYB8QSyfCm2mYXA5woydiJa71g//gC1SXKWEpl91gWZYLGAf8qWa2ASXZrAPdBjf8AAAAAElFTkSuQmCC") left 5px no-repeat; font-weight: bold; text-shadow: -1px -1px 0 #000000, -1px 1px 0 #000000, 1px -1px 0 #000000, 1px 1px 0 #000000; margin: 0; padding: 0 10px 5px 16px; box-sizing: border-box; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }

.fpgroup ul li a, .fpgroup ul li a:link { color: #ffffff; }

div#content .fpgroup ul li a:visited, .fpgroup ul li a:visited { color: #eeeeee; }

background: #072439 url("https://static.wikia.nocookie.net/dragonproject_gamepedia_en/images/2/22/Main_page_gameplay_background.png/revision/latest") no-repeat left top; }
 * 1) fpgameplay {

width: 354px; max-width: 100%; }
 * 1) fpgameplay ul {

width: 50%; }
 * 1) fpgameplay ul li {

background: #072439 url("https://static.wikia.nocookie.net/dragonproject_gamepedia_en/images/7/7f/Main_page_monsters_background.png/revision/latest") no-repeat left top; }
 * 1) fpmonsters {

width: 531px; max-width: 100%; }
 * 1) fpmonsters ul {

width: 33.333333%; }
 * 1) fpmonsters ul li {

background: #072439 url("https://static.wikia.nocookie.net/dragonproject_gamepedia_en/images/6/69/Main_page_weapons_background.png/revision/latest") no-repeat left top; }
 * 1) fpweapons {

width: 531px; max-width: 100%; }
 * 1) fpweapons ul {

width: 33.333333%; }
 * 1) fpweapons ul li {

background: #072439 url("https://static.wikia.nocookie.net/dragonproject_gamepedia_en/images/e/e0/Main_page_armor_background.png/revision/latest") no-repeat left top; }
 * 1) fparmor {

width: 354px; max-width: 100%; }
 * 1) fparmor ul {

width: 50%; }
 * 1) fparmor ul li {

background: #072439 url("https://static.wikia.nocookie.net/dragonproject_gamepedia_en/images/1/1e/Main_page_materials_background.png/revision/latest") no-repeat left top; }
 * 1) fpmaterials {

width: 708px; max-width: 100%; }
 * 1) fpmaterials ul {

width: 25%; }
 * 1) fpmaterials ul li {

background: #072439 url("https://static.wikia.nocookie.net/dragonproject_gamepedia_en/images/a/a0/Main_page_magi_background.png/revision/latest") no-repeat left top; }
 * 1) fpmagi {

width: 354px; max-width: 100%; }
 * 1) fpmagi ul {

width: 50%; }
 * 1) fpmagi ul li {

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

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

.mobileheading { display: none; }