MediaWiki:Common.css

@import url(http://fonts.googleapis.com/css?family=Press+Start+2P);

.itemPortrait { background: black; border: 3px solid #646673; /* overflow: hidden; */ width: 93px; height: 93px; text-align: center; } .itemPortrait > span { display: block; margin-left: calc(-1 *((100% - 93px)/2)); -webkit-transform:translateY(-3px) translateX(-3px); /* Saf3.1+, Chrome */ -moz-transform:translateY(-3px) translateX(-3px); /* FF3.5+ */ -ms-transform:translateY(-3px) translateX(-3px); /* IE 9 */ -o-transform:translateY(-3px) translateX(-3px); /* Opera 10.5+ */ transform:translateY(-3px) translateX(-3px);

} .itemPortrait > span > a > img { display: inline-block; vertical-align:middle; }

.DroneHover { width:100px; position:relative; /* Safari and Chrome: */ -webkit-animation:DroneHoverAnimation .525s ease-in-out infinite alternate; /* Saf3.1+, Chrome */ -moz-animation:DroneHoverAnimation .525s ease-in-out infinite alternate; /* FF3.5+ */ -ms-animation:DroneHoverAnimation .525s ease-in-out infinite alternate; /* IE 9 */ -o-animation:DroneHoverAnimation .525s ease-in-out infinite alternate; /* Opera 10.5+ */ animation:DroneHoverAnimation .525s ease-in-out infinite alternate; }

@keyframes DroneHoverAnimation { 0%  {top:-7px;} 100% {top:7px;} }

@-webkit-keyframes DroneHoverAnimation /* Safari and Chrome */ { 0%  {top:-7px;} 100% {top:7px;} }