Szablon:TabelaNaprzemienneKolory: Różnice pomiędzy wersjami

Z PokeLife Pokedex
Przejdź do nawigacji Przejdź do wyszukiwania
Linia 8: Linia 8:
 
border: </html>{{{BorderTabela1 | solid 3px #083800; }}}<html>;
 
border: </html>{{{BorderTabela1 | solid 3px #083800; }}}<html>;
 
margin: </html>{{{MarginTabela1 | 5%; }}}<html>;
 
margin: </html>{{{MarginTabela1 | 5%; }}}<html>;
background-color: </html>{{{BgColorTabela1 | #FFD700; }}}<html>;
+
background-color: </html>{{{BgColorTabela1 | #FFFFFF; }}}<html>;
 
}
 
}
  
tr.Tabela1 {
+
table.Tabela1 > th {
 +
font-size: </html>{{{FontthTabela1 | 1.2em }}}<html>;
 +
background-color: </html>{{{BgColorThTabela1 | #FFD700 }}}<html>;
 +
}
 +
 
 +
table.Tabela1 > tr {
 
}
 
}
  
tr.Tabela1:nth-child(2n) {
+
table.Tabela1 > tr:nth-child(2n) {
 
background-color: </html>{{{KOLOR_T_1 | #FFC0CB }}}<html>;
 
background-color: </html>{{{KOLOR_T_1 | #FFC0CB }}}<html>;
 
}
 
}
tr.Tabela1:nth-child(2n+1) {
+
table.Tabela1 > tr:nth-child(2n+1) {
 
background-color: </html>{{{KOLOR_T_2 | #F4B2C6 }}}<html>;
 
background-color: </html>{{{KOLOR_T_2 | #F4B2C6 }}}<html>;
  
td.Tabela1 {
+
table.Tabela1 > td {
 
}
 
}
  
th.Tabela1 {
 
font-size: </html>{{{FontthTabela1 | 1.2em }}}<html>;
 
background-color: </html>{{{BgColorThTabela1 | #FFD700 }}}<html>;
 
}
 
 
</style>
 
</style>
 
</head>
 
</head>
 
</html>
 
</html>

Wersja z 22:36, 9 sty 2018