make captchas more readable
This commit is contained in:
parent
b06287428c
commit
18292d096a
|
@ -41,6 +41,6 @@ mixin captcha(text)
|
||||||
var left_margin = 0;
|
var left_margin = 0;
|
||||||
|
|
||||||
|
|
||||||
p(class='c_s' style=`transform:translate(${((index - current_index) * (rint(80,82) / 10))}px, ${rint(-3,3)}px);${blowfish()};font-weight:${rint(0,2) == 1 ? 'bold' : 'normal'};color:#220000;display:inline-block`)= captcha[index]
|
p(class='c_s' style=`transform:translate(${((index - current_index) * 9)}px, ${rint(-2, 2)}px);${blowfish()};font-weight:${rint(0,2) == 1 ? 'bold' : 'normal'};color:#220000;display:inline-block`)= captcha[index]
|
||||||
each i in pyRange(0, rint(4,10), 1)
|
each i in pyRange(0, rint(4,10), 1)
|
||||||
p(class='c_s' style=`transform:translate(${((index - current_index) * (rint(80,82) / 10))}px, ${rint(-3,3)}px);${blowfish()};font-weight:bold;color:#220000;display:none`)= a
|
p(class='c_s' style=`transform:translate(${((index - current_index) * 9)}px, ${rint(-2, 2)}px);${blowfish()};font-weight:bold;color:#220000;display:none`)= a
|
||||||
|
|
Loading…
Reference in New Issue