Commit 357cb2bc authored by Aurel's avatar Aurel

move captcha style to a css class so that it is easily customisable

parent 33bb8117
...@@ -1290,6 +1290,11 @@ button.formbt > span{\n ...@@ -1290,6 +1290,11 @@ button.formbt > span{\n
.blog-next-article:after {\n .blog-next-article:after {\n
content:">"\n content:">"\n
}\n }\n
\n
.captchas_dot_net {\n
border: none; \n
vertical-align: bottom\n
}\n
</tal:block> </tal:block>
]]></unicode> </value> ]]></unicode> </value>
......
1884 1885
\ No newline at end of file \ No newline at end of file
...@@ -1432,6 +1432,11 @@ div.pdf-preview-navigation img.last{\n ...@@ -1432,6 +1432,11 @@ div.pdf-preview-navigation img.last{\n
.horizontal_align_form_box > div.input > fieldset > div.field > label {\n .horizontal_align_form_box > div.input > fieldset > div.field > label {\n
width: auto;\n width: auto;\n
padding-top: 2px;\n padding-top: 2px;\n
}\n
\n
.captchas_dot_net {\n
border: none; \n
vertical-align: bottom\n
} }
]]></string> </value> ]]></string> </value>
......
1115 1116
\ No newline at end of file \ No newline at end of file
...@@ -86,7 +86,7 @@ class CaptchasDotNet: ...@@ -86,7 +86,7 @@ class CaptchasDotNet:
def image (self, random, id = 'captchas.net'): def image (self, random, id = 'captchas.net'):
return ''' return '''
<a href="http://captchas.net"><img <a href="http://captchas.net"><img
style="border: none; vertical-align: bottom" class="captchas_dot_net"
id="%(id)s" src="%(source)s" width="%(width)d" height="%(height)d" id="%(id)s" src="%(source)s" width="%(width)d" height="%(height)d"
alt="The CAPTCHA image" /></a> alt="The CAPTCHA image" /></a>
<script type="text/javascript"> <script type="text/javascript">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment