(Ported mobile styles) Â |
(Reduce the gap at the top of the page) Tags: Source edit Mobile edit Mobile web edit |
||
Line 58: | Line 58: | ||
padding-left: 1.5em; |
padding-left: 1.5em; |
||
text-indent: -1.5em; |
text-indent: -1.5em; |
||
+ | } |
||
+ | |||
+ | /* Reduce gap at the top of the page */ |
||
+ | .wiki-page-header__title-wrapper.has-edit-link, |
||
+ | .wiki-page-header__title-wrapper { |
||
+ | margin-bottom:0; |
||
+ | } |
||
+ | |||
+ | table.fandommobile-infobox { |
||
+ | margin-top:1rem; |
||
} |
} |
Revision as of 21:03, 27 June 2021
/* Import Universal.css */
@import "/index.php?title=MediaWiki:Universal.css&action=raw&ctype=text/css";
/* Main page */
/* Everything here is !important because many of the rules are declared on the elements themselves. */
div.flex {
display: block !important;
margin-top: 0 !important;
}
div.flex > div {
display: flex !important;
flex-direction: column;
width: auto !important;
margin-left: 0px !important;
margin-right: 0px !important;
}
div.flex .mpChunk {
display: block !important;
padding: 0.5em !important;
}
.mpChunk h3 {
font-family: "Helvetica Neue","Helvetica","Nimbus Sans L","Arial","Liberation Sans",sans-serif;
}
div.flex div div.mpChunk ul, div.flex div div.mpChunk ul li {
padding: 0 0.4em;
list-style: circle inside !important;
}
div.flex div div.mpChunk ul li:nth-child(1n+6) {
display: none !important;
}
/* Deck- and D-tag display on mobile */
.ext-scryfall-deck {
overflow: hidden;
border: 1px solid #000;
border-radius: 0.8em;
width:100%;
}
.ext-scryfall-decktitlecontainer {
padding: 0 1em;
background: #444;
color: #fff;
line-height: 1.8em;
font-size: 1.6em;
}
.ext-scryfall-decktitle {
font-weight: bold;
}
.ext-scryfall-deckexport {
display: none !important;
}
.ext-scryfall-decksection {
overflow: hidden;
padding-left: 1em;
}
.ext-scryfall-deckentry {
padding-left: 1.5em;
text-indent: -1.5em;
}
/* Reduce gap at the top of the page */
.wiki-page-header__title-wrapper.has-edit-link,
.wiki-page-header__title-wrapper {
margin-bottom:0;
}
table.fandommobile-infobox {
margin-top:1rem;
}