MediaWiki:Minerva.less/storage.less

From Old School Near-Reality Wiki
Jump to navigation Jump to search

//

/* Overrides specific to mobile */

@media screen and (max-width: 720px) {
    .inventorytable, .lootingbagtable, .runepouchtable {
        &.storage-left {
            margin-right: auto;
            clear: none;
            float: none;
        }

        &.storage-right {
            margin-left: auto;
            clear: none;
            float: none;
        }
    }

    .runepouchtable {
        &.storage-center {
            margin-left: 23px;
        }

        &.storage-right {
            margin-left: 23px;
        }
    }
    
    // For Template:Equipment
    .equipment-div, .equipment-div-buttons {
        &.equipment-left {
            margin-right: auto;
            clear: none;
            float: none;
            width: 100%;
        }
        &.equipment-center {
            width: 100%;
        }
        &.equipment-right {
            margin-left: auto;
            clear: none;
            float: none;
            width: 100%;
        }
    }
}