Template:Game Ref Box/styles.css

From JoJo's Bizarre Encyclopedia - JoJo Wiki
< Template:Game Ref Box
Revision as of 05:25, 2 November 2022 by Vish (talk | contribs) (Created page with ".gref-box { margin-bottom: 5px; text-align: center; font-size: 90%; border-radius: 7px; display: table; width: 100%; } .gref-image { background:#dfdbdb; width: 15%;...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
.gref-box {
	margin-bottom: 5px;
	text-align: center;
	font-size: 90%;
	border-radius: 7px;
	display: table;
	width: 100%;
}

.gref-image {
	background:#dfdbdb;
	width: 15%;
	display:table-cell;
	border: 2px solid black;
	border-right: 0;
	vertical-align: middle;
}

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

.gref-c2 {
	display:table-cell;
	vertical-align: top;
	border: 2px solid black;
}

.gref-heading {
	font-family: Roboto Slab;
	padding: 5px;
	text-shadow: 1px 1px 1px #333333;
	vertical-align: middle;
	display: table-cell;
	border: 1.5px solid black;
	color: white;
}

.gref-name {
	width: 60%;
	border-left: none;
}

.gref-rarity {
	border-right: none;
}

.gref-h2 {
	width: 20%;
}

.gref-row {
	display: table;
	width: 100%;
	border: 1px solid black;
}

.gref-sub {
	color: white;
	width: 10%;
	display: table-cell;
}

.gref-sub2 {
	color: white;
}

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