MediaWiki:Mobile.less/storage.less

From Old School RuneScape Wiki
Jump to: navigation, search
// <pre>
@import 'MediaWiki:Common.less/storage.less';

/* 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%;
        }
    }
}