Template:Game Ref Box/styles.css

From JoJo's Bizarre Encyclopedia - JoJo Wiki
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;
	display:table-cell;
	border: 2px solid black;
	border-right: 0;
	vertical-align: middle;
	width: 15%;
}

.gref-trans {
	width:auto;
	height:350px;
}

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

@media only screen and (max-width: 1300px) {
  .gref-image .gallerybox.gBoxVideo video {
    max-width: 300px !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;
}