Template:Decklist/styles.css

From Yugipedia
< Template:Decklist
Revision as of 02:24, 15 March 2023 by SoulChargeBot (talk | contribs) (Restoring revision 4608487 by User:Deltaneos on 2020-12-28 04:18:43. "adjust fix for table display")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
.decklist {
    clear: both;
}

.decklist + .decklist,
.decklist + link + .decklist {
    margin-top: .667em;
}

.decklist-header {
    background-color: #337C97;
    border: 1px solid #ccc;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    padding: .25em;
    text-align: center;
}

@media screen and (max-width: 1023px) {
    .decklist .mw-collapsible {
        /* This is to undo the `.content table` mobile styling.  */
        display: table;
    }
}

@media screen and (min-width: 1024px) {
    .decklist-columns {
        display: flex;
    }

    .decklist-column {
        width: 100%;
    }
}