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

Z PokeLife Pokedex
Przejdź do nawigacji Przejdź do wyszukiwania
Linia 12: Linia 12:
  
 
table.Tabela1 > th {
 
table.Tabela1 > th {
 +
font-size: </html>{{{Th_Tabela1_Font | 1.2em }}}<html>;
 +
background-color: </html>{{{Th_Tabela1_BgColor | #FFD700 }}}<html>;
 +
border: </html>{{{Th_Tabela1_Border | solid 1px #083800; }}}<html>;
 +
margin: </html>{{{Th_Tabela1_Margin | 5%; }}}<html>;
 +
}
 +
 +
th.Table1 {
 
font-size: </html>{{{Th_Tabela1_Font | 1.2em }}}<html>;
 
font-size: </html>{{{Th_Tabela1_Font | 1.2em }}}<html>;
 
background-color: </html>{{{Th_Tabela1_BgColor | #FFD700 }}}<html>;
 
background-color: </html>{{{Th_Tabela1_BgColor | #FFD700 }}}<html>;
Linia 21: Linia 28:
 
border: </html>{{{Tr_Tabela1_Border | solid 1px #083800; }}}<html>;
 
border: </html>{{{Tr_Tabela1_Border | solid 1px #083800; }}}<html>;
 
margin: </html>{{{Tr_Tabela1_Margin | 5%; }}}<html>;
 
margin: </html>{{{Tr_Tabela1_Margin | 5%; }}}<html>;
 +
}
 +
 +
table.Tabela1 > tr:nth-child(2n) {
 +
background-color: </html>{{{Tr_Tabela1_Kolor1 | #DDDDDD }}}<html>;
 +
}
 +
 +
table.Tabela1 > tr:nth-child(2n+1) {
 +
background-color: </html>{{{Tr_Tabela1_Kolor2 | #FFFFFF }}}<html>;
 
}
 
}
  

Wersja z 22:46, 9 sty 2018