MediaWiki:Common.less/perk-link.less

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to: navigation, search
// <pre>
/* -------------------------------
       [[Template:Perk link]]
   ------------------------------- */

.perk-link {
    background: #09222F;
    border-radius: 111px;
    width: 35px;
    height: 35px;
    line-height: 30px;
    display: inline-table;
    margin-right: 5px; //for the text link following the perk image
    text-align: center;
    
	&.perk-link-nobg {
	  background: transparent;
	}
	
	> a {
	  vertical-align: middle;
	}
	
    .perk-link-rank {
	  position:relative;
	  top:-26px;
	  left: 5px;
	  margin-bottom: -28px;
	  line-height: 0;
	  float:left;
	}
}

.perk-background {
    background: #09222F;
}

.navbox .perk-link img {
	max-height: initial;
}