Szablon:TabelaNaprzemienneKolory: Różnice pomiędzy wersjami
Przejdź do nawigacji
Przejdź do wyszukiwania
Linia 2: | Linia 2: | ||
<head> | <head> | ||
<style> | <style> | ||
+ | |||
+ | <!-- Tabela 1 --> | ||
table.</html>{{{TbNazwa|Tabela1}}}<html> { | table.</html>{{{TbNazwa|Tabela1}}}<html> { | ||
class: center; | class: center; | ||
Linia 35: | Linia 37: | ||
} | } | ||
+ | |||
+ | |||
+ | <!-- Tabela 2 --> | ||
+ | table.</html>{{{TbNazwa2|Tabela2}}}<html> { | ||
+ | class: center; | ||
+ | text-align: </html>{{{Tb_Tabela2_AlignT | }}}<html>; | ||
+ | width: </html>{{{Tb_Tabela2_Width | }}}<html>; | ||
+ | margin: </html>{{{Tb_Tabela2_Margin | }}}<html>; | ||
+ | margin-left: </html>{{{Tb_Tabela2_LMargin | }}}<html>; | ||
+ | border-spacing: </html>{{{Tb_Tabela2_BSpacing | }}}<html>; | ||
+ | border: </html>{{{Tb_Tabela2_Border | }}}<html>; | ||
+ | } | ||
+ | |||
+ | table.</html>{{{TbNazwa2|Tabela2}}}<html> th { | ||
+ | font-size: </html>{{{Th_Tabela2_Font | }}}<html>; | ||
+ | padding: </html>{{{Th_Tabela2_Padding | }}}<html>; | ||
+ | border: </html>{{{Th_Tabela2_Border | }}}<html>; | ||
+ | background-color: </html>{{{Th_Tabela2_BgColor | }}}<html>; | ||
+ | } | ||
+ | |||
+ | table.</html>{{{TbNazwa2|Tabela2}}}<html> tr { | ||
+ | } | ||
+ | |||
+ | table.</html>{{{TbNazwa2|Tabela2}}}<html> tr:nth-child(2n) { | ||
+ | background-color: </html>{{{Tr_Tabela2_Kolor1 | #DDDDDD }}}<html>; | ||
+ | } | ||
+ | |||
+ | table.</html>{{{TbNazwa2|Tabela2}}}<html> tr:nth-child(2n+1) { | ||
+ | background-color: </html>{{{Tr_Tabela2_Kolor2 | #FFFFFF }}}<html>; | ||
+ | } | ||
+ | |||
+ | table.</html>{{{TbNazwa2|Tabela2}}}<html> td { | ||
+ | padding: </html>{{{Td_Tabela2_Padding | }}}<html>; | ||
+ | border: </html>{{{Td_Tabela2_Border | }}}<html>; | ||
+ | } | ||
</style> | </style> | ||
</head> | </head> | ||
</html> | </html> |
Wersja z 22:02, 18 sty 2018