MediaWiki:Common.less/equipment.less

De RuneScape Wiki
Ir para: navegação, pesquisa
// <pre>
/* ==============================
       [[Template:Equipment]]
   ============================== */

.equipmenttable {
    background-image: url('filepath://Equipamento_Usado_interface.png');
    background-repeat: no-repeat;
    background-position: top left;
    width: 225px;
    height: 320px;
    text-align: center;
    display: inline-block;
    
    &.equipmenttable-float-right {
    	float: right;
    }
    &.equipmenttable-float-left {
    	float: left;
    }
    &.equipmenttable-float-center {
    	display:block;
    	margin: 0 auto;
    }
    
    .equipmentrow {
    	position: relative;
    	
    	
    	&.equipmentrow1 {
    		top:65px;
    	}
    	&.equipmentrow2 {
    		top:73px;
    	}
    	&.equipmentrow3 {
    		top:81px;
    	}
    	&.equipmentrow4 {
    		top:88px;
    	}
    	&.equipmentrow5 {
    		top:98px;
    	}
    	
    	.equipmentslot {
    		display: table-cell;
    		position: relative;
    		height: 32px;
    		width: 32px;
    		vertical-align: middle;
    		
    		img {
    			max-height: 32px;
    			max-width: 32px;
    		}
    		
			&.emptyslot img {
				opacity: 0.5;
			}
    		
    		&.auraslot {
    			left:57px;
    		}
    		&.headslot {
    			left:65px;
			}
			&.pocketslot {
			    left:73px;
			}
			&.capeslot {
			    left:57px;
			}
			&.neckslot {
			    left:65px;
			}
			&.ammoslot {
			    left:73px;
			}
			&.weaponslot {
			    left:37px;
			}
			&.torsoslot {
			    left:65px;
			}
			&.shieldslot {
			    left:93px;
			}
			&.legsslot {
			    left:97px;
			}
			&.glovesslot {
			    left:37px;
			}
			&.bootsslot {
			    left:65px;
			}
			&.ringslot {
			    left:93px;
			}
    	}
    }
}