| r1961 vs r1964 | ||
|---|---|---|
| ... | ... | |
| 473 | 473 | }}}{{{#!if true |
| 474 | 474 | #tk : thickness (px) ; wd : width (px) |
| 475 | 475 | {{{#!if tk=1+0.0, color="#666", wd=10+0.0 |
| 476 | }}}}}}{{{#!if tk=(+tk)/2, tk=tk.toString(), dis="display: inline-table; background: | |
| 476 | }}}}}}{{{#!if tk=(+tk)/2, tk=tk.toString(), dis="display: inline-table; background: linear-gradient", rb="to right bottom", rt="to right top", tp="transparent", c1="calc(50% - "+tk+"px)", c2="calc(50% + "+tk+"px)", c3=tp+" "+c1+", "+color+" "+c1+" "+c2+", "+tp+" "+c2, hg="height: ", wd=wd.toString(), wdx="width: "+wd+"px", vag="vertical-align: calc" | |
| 477 | 477 | }}} |
| 478 | 478 | {{{#!wiki style="@dis@(@rb@, @c3@); @hg@@y1@px; @wdx@; @vag@(@v1@px + @tk@px)" |
| 479 | 479 | }}}{{{#!wiki style="@dis@(@rb@, @c3@); @hg@@y2@px; @wdx@; @vag@(@v2@px + @tk@px);" |
| ... | ... |