Vorlage:Deckliste/style.css

Aus PokéWiki
Zur Navigation springen Zur Suche springen
.deckliste {
	border-radius: 0.5em;
	background: #888888;
	color: black;
	text-align: center;
	border: 3px solid #eeeeee;
	margin-bottom: 1em;
	width: 60%;
}

.deckliste a:not(.new), .deckliste a:not(.new):visited {
  color: #000000;
}

.itemkarte a {
	color: #44C !important;
}

.stadionkarte a, .stadionkarte {
	color: #6A2 !important;
}

.unterstuetzerkarte a, .unterstuetzerkarte {
	color: #F40 !important;
}

.ausruestungskarte a {
	color: #6E499C !important;
}

.deckliste th {
	background:#cccccc
}

.deckliste th:nth-child(1), .deckliste th:nth-child(3), .deckliste th:nth-child(5) {
	width: 10%
}

.deckliste th:last-child {
	width: 15%
}

.deckliste td {
	text-align: center;
}

.deckliste td:nth-child(5) {
	white-space: nowrap;
	font-weight: bold;
}

.deckliste th:first-child {
	border-top-left-radius: 0.5em;
}

.deckliste th:last-child {
	border-top-right-radius: 0.5em;
}

.deckliste tr:last-child td:first-child {
	border-bottom-left-radius: 0.5em;
}

.deckliste tr:last-child td:last-child {
	border-bottom-right-radius: 0.5em;
}

/* @media only screen and (min-width: 1141px) {
	.deckliste {
		width: 60%;
	}
}

@media only screen and (min-width: 671px) and (max-width: 1140px) {
	.deckliste {
		width: 50%;
	}
	
	.deckliste th:last-child, td:nth-child(2), .deckliste td:nth-child(4) {
	hyphens: auto;
	}
}

@media only screen and (max-width: 670px) {
	.deckliste {
		width: 100%;
	}
	
	.deckliste th:last-child, td:nth-child(2), .deckliste td:nth-child(4) {
	hyphens: auto;
	}
} */

/* [[Kategorie:Vorlage:Non-Wikitext]] */