Welcome to the Umamusume Wiki! If you want to contribute, please read the guidelines.

Template:Boilerplate Game Story Transcript/styles.css

From Umamusume Wiki
Jump to navigation Jump to search
.wikitable {
	border: 3px solid var(--color_main);
	border-radius: 15px;
	border-collapse: separate;
	border-spacing: 0px;
	color: #8F5225;
	width: 50%;
	margin-left: auto;
    margin-right: auto;
    column-count: 2;
}

.wikitable th {
	background: inherit;
	color: #8F5225;
	border-width: 0px;
}

.wikitable td {
	border-width: 0px;
	width: 80%;
	padding: 10px;
}

tr:nth-child(odd) > th, tr:nth-child(odd) > td {
	background: #FCFAFA;
}

tr:nth-child(even) > th, tr:nth-child(even) > td {
	background: #EFECEC;
}

tr:first-child > :first-child {
	border-radius: 10px 0px 0px 0px;
}

tr:first-child > :last-child {
	border-radius: 0px 10px 0px 0px;
}

tr:last-child > :first-child {
	border-radius: 0px 0px 0px 10px;
}

tr:last-child > :last-child {
	border-radius: 0px 0px 10px 0px;
}

/* Below: Futureproofing in the event of a table with only one row, or a row with only one column.
Unlikely to happen, but doesn't hurt to have code for */

tr:first-child > :only-child {
	border-radius: 10px 10px 0px 0px;
}

tr:last-child > :only-child {
	border-radius: 0px 0px 10px 10px;
}

tr:only-child > :first-child {
	border-radius: 10px 0px 0px 10px;
}

tr:only-child > :last-child {
	border-radius: 0px 10px 10px 0px;
}

tr:only-child > :only-child {
	border-radius: 10px 10px 10px 10px;
}

img {
	max-height: 800px;
	width: auto;
}