MediaWiki:Common.css

/* CSS placed here will be applied to all skins */ /* This governs the sections on the Community portal for better handling on mobile devices */ .cpbox { display: flex; flex-direction: row-reverse; flex-wrap: wrap; }

cpbox > * { flex: 2 350px; }

/* crafting grids */ .crafting-grid { position: relative; } .crafting-grid-table { position: absolute; border-collapse: collapse; } .crafting-grid-table td { padding: 1%; text-align: center; vertical-align: middle; } .crafting-grid-table.testing td { border: 1px dashed #0cf; } .crafting-grid-table td a, .crafting-grid-table td img { width: 100%; height: auto; max-height: 100%; display: inline-block; } .crafting-grid-table, .crafting-grid-image, .crafting-grid-image img { width: 100%; height: 100%; }

/* --- Template:FP links --- */ .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 { background: rgba(0,0,0,0.1); border: 1px solid rgba(0,0,0,0.5); padding: 0.5em; box-sizing: border-box; width: 100%; height: 100%; display: table; }

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

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

.article-table th, .article-table td { border-bottom: 1px #b0b0b0 solid; padding: 6px 12px; }

.map-table { background-image: url(https://static.wikia.nocookie.net/clis_gamepedia_en/images/b/b3/Blank_globalmap.png/revision/latest); color: #fff; text-shadow: 1px 1px 1px #000; }

.sbls-description { height: unset; background: #fff; color: #000; }