Template:TOS/styles.css

From JoJo's Bizarre Encyclopedia - JoJo Wiki
Jump to navigation Jump to search
.tos-box {
	margin-bottom: 5px;
	text-align: center;
	font-size: 90%;
	border-radius: 7px;
	display: table;
	width: 100%;
}

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

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

.tos-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;
}

.tos-type {
	float: left;
}

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

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

.tos-h2 {
	width: 20%;
}

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

.tos-sub {
	color: white;
	width: 10%;
	display: table-cell;
	text-shadow: 1px 1px 1px #333333;
}

.tos-sub2 {
    color: white;
    text-shadow: 1px 1px 1px #333333;
}

.tos-scrollbox {
	text-align:left;
	margin-top:5px;
	width:auto;
	height:200px;
	overflow:auto;
	margin-bottom:3px;
	border:1px solid #AAAAAA;
	border-top-left-radius:0.5em;
}

.tos-scrollbox ul {
    list-style-image: unset !important;
    list-style-type: none;
}

.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) {
	.tos-image {
	  display: table-header-group !important;
	}
	
	.tos-type {
	  margin-top: -40px;
	  position: relative;
	}
	    
}