Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:EnemyInfobox/styles.css

Template page
Revision as of 00:33, 3 July 2024 by Pexy (talk | contribs) (massively optimized to utilize nesting, and some less notable improvements)
/*Hi! I'm making a new infobox for enemies so I don't have to rely
on a modified character infobox.*/

td { /*wow td corrucord*/
	padding: 0 10px;
}

infobox {
	overflow: hidden;
	display: flex;
	justify-content: center;
	padding: 0.75rem 0.5rem;
	margin: 0.5rem;
	border: 1px solid;
	border-color: inherit;
	color: #ffff00; /* Default to sys/examing messages */
	background-color: #000000;
	line-height: 1.25em;
	font-size: 0.75rem;
	float: right;

	#Obesk, #image-Obesk img {
		color: #ff00ff;
	}

	#Human, #image-Human img {
		color: #ffffff;
	}

	#Moth, #image-Moth img {
		color: #00ffff;
	}

	#Mindspike, #image-Mindspike img {
		color: #ffff00;
	}

	#Bstrd, #image-Bstrd img {
		color: #ff0066;
	}

	#title, #title-bstrd {
		font-family: 'Libre Barcode 128 Text', cursive;
		font-size: 2.5em;
		line-height: 1.25em;
		text-transform: uppercase;
		letter-spacing: normal;
	}

	#title-Bstrd {
		font-family: 'Newspaper Cutout White Regular';
	}

	& > tbody > tr {
		
		&:hover img {
			/* Stop the default hover from expanding the image */
			transform: unset !important;
		}
		
		img {
			background: #ffffff;
			border: 1px solid;
			color: #ffff00;
		} 
	}
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.