r2873 vs r2874
11
[[분류:냥]]
2
{{{#!style
3
/* scoped styles are not supported */
4
table.colored > tbody > tr > td:first-of-type {
5
font-weight: bold;
6
}
7
table.colored > tbody > tr:nth-of-type(3n) > td:first-of-type {
8
color: red;
9
}
10
table.colored > tbody > tr:nth-of-type(3n + 1) > td:first-of-type {
11
color: lime;
12
}
13
table.colored > tbody > tr:nth-of-type(3n + 2) > td:first-of-type {
14
color: blue;
15
}
16
/* media query is not supported */
17
@theseed-dark-mode {
18
table.colored > tbody > tr:nth-of-type(3n) > td:first-of-type {
19
color: maroon;
20
}
21
table.colored > tbody > tr:nth-of-type(3n + 1) > td:first-of-type {
22
color: green;
23
}
24
table.colored > tbody > tr:nth-of-type(3n + 2) > td:first-of-type {
25
color: navy;
26
}
27
}
28
}}}
29
== styled table test ==
30
||<tableclass=colored><table width=100%><table bgcolor=#ffffff,#2d2f34><table color=#212529,#e0e0e0><colbgcolor=#ffffff,#000000> 1 ||1 ||
31
|| 2 ||2 ||
32
|| 3 ||3 ||
33
|| 4 ||4 ||
34
|| 5 ||5 ||
35
|| 6 ||6 ||
36
|| 7 ||7 ||
37
|| 8 ||8 ||
38
|| 9 ||9 ||
39
|| 10 ||10 ||
40
41
242
{{{#!if x = true; y=false
343
}}}{{{#!if x &&= y
444
}}}@x@
......