Vorlage:CD Infobox/style.css: Unterschied zwischen den Versionen

Aus PokéWiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „.cd-infobox { border-radius: 0.5em; float: right; width: 250px; text-align: left; background: #B1CDEC; border: 3px solid #5C82AE; margin: 0 0 1em 1em; }…“)
 
KKeine Bearbeitungszusammenfassung
 
Zeile 7: Zeile 7:
border: 3px solid #5C82AE;
border: 3px solid #5C82AE;
margin: 0 0 1em 1em;
margin: 0 0 1em 1em;
}
.cd-infobox tr:last-child :first-child {
border-bottom-left-radius: 0.5em;
}
.cd-infobox tr:last-child :last-child {
border-bottom-right-radius: 0.5em;
}
}


Zeile 26: Zeile 34:
.cd-infobox th:not([colspan="2"]) {
.cd-infobox th:not([colspan="2"]) {
width: 50%;
width: 50%;
background: #5C82AE !important;
background: #5C82AE;
border: 2px solid #5C82AE;
border: 2px solid #5C82AE;
}
}

Aktuelle Version vom 24. Oktober 2021, 22:23 Uhr

.cd-infobox {
	border-radius: 0.5em;
	float: right;
	width: 250px;
	text-align: left;
	background: #B1CDEC;
	border: 3px solid #5C82AE;
	margin: 0 0 1em 1em;
}

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

.cd-infobox tr:last-child :last-child {
	border-bottom-right-radius: 0.5em;
}

.cd-infobox th[colspan="2"] {
	border-top-left-radius: 0.5em;
	border-top-right-radius: 0.5em;
	background: #5C82AE;
	text-align: center;
	font-size: 1.5em;
	font-weight: bold;
}

.cd-infobox tr:nth-child(2) td {
	text-align: center;
	padding: 2px;
	background: #FFFFFF;
}

.cd-infobox th:not([colspan="2"]) {
	width: 50%;
	background: #5C82AE;
	border: 2px solid #5C82AE;
}

.cd-infobox td:not([colspan="2"]) {
	width: 50%;
	background: #FFFFFF;
	border: 2px solid #5C82AE;
}

.cd-infobox td[colspan="2"] {
	background: #FFFFFF;
	padding: 3px;
}

/*@media only screen and (max-width: 480px) {
	.cd-infobox {
		width: 100%;
	}
}*/

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