.profile-photo img:hover{opacity:.5}.profile-photo:hover a{opacity:1;top:0;z-index:500}.profile-photo:hover a span{top:50%;position:absolute;left:0;right:0;transform:translateY(-50%)}.profile-photo a{display:block;position:absolute;top:-100%;opacity:0;left:0;bottom:0;right:0;text-align:center;color:inherit}