Template:Main Page/styles.css

From JoJo's Bizarre Encyclopedia - JoJo Wiki
Revision as of 03:44, 4 January 2023 by Morganstedmanms (talk | contribs)
Jump to navigation Jump to search
.mp-topbanner {
	margin-bottom: 5px;
	font-size: 90%;
	border-radius: 10px;
	display: table;
	width: 100%;
}

.mp-topcontent {
	width:280px;
	display:table-cell;
	border-right: 0;
	vertical-align: middle;
}

.mstrike-c2 {
	display:table-cell;
	vertical-align: top;
}

.mp-topstats {
	vertical-align: middle;
	display: table-cell;
	width: 20%;
}

.mp-toprow {
	display: table;
	width: 100%;
}

.icon img:hover {
	 animation: shake 0.5s;
  animation-iteration-count: 1;
}

@keyframes shake {
	0% { transform: rotate(0deg); }
	10% { transform: rotate(-3deg); }
	20% { transform: rotate(0deg); }
	30% { transform: rotate(3deg); }
}

@media only screen and (max-width: 600px) {
	.mstrike-image {
	  display: table-header-group !important;
	}
}