aboutsummaryrefslogtreecommitdiffstats
path: root/public/less/_form.less
diff options
context:
space:
mode:
authorFluf <36822577+flufmonster@users.noreply.github.com>2018-07-05 00:13:05 -0400
committertechknowlogick <techknowlogick@users.noreply.github.com>2018-07-05 00:13:05 -0400
commitf035dcd4f221a631cc499d90661237d6cf601843 (patch)
tree18f7cfd148dd36c85e4c82c8cd5fdef88c249606 /public/less/_form.less
parent54fedd4070be9819a6dd4e441b3c5689334eae9d (diff)
downloadgitea-f035dcd4f221a631cc499d90661237d6cf601843.tar.gz
gitea-f035dcd4f221a631cc499d90661237d6cf601843.zip
Add Recaptcha functionality to Gitea (#4044)
Diffstat (limited to 'public/less/_form.less')
-rw-r--r--public/less/_form.less17
1 files changed, 17 insertions, 0 deletions
diff --git a/public/less/_form.less b/public/less/_form.less
index a352e1ebb5..db9f8f38a5 100644
--- a/public/less/_form.less
+++ b/public/less/_form.less
@@ -80,6 +80,23 @@
}
}
}
+
+@media only screen and (min-width: 768px) {
+ .g-recaptcha {
+ margin: 0 auto !important;
+ width: 304px;
+ padding-left: 30px;
+ }
+}
+@media screen and (max-height: 575px){
+ #rc-imageselect, .g-recaptcha {
+ transform:scale(0.77);
+ -webkit-transform:scale(0.77);
+ transform-origin:0 0;
+ -webkit-transform-origin:0 0;
+ }
+}
+
.user.activate,
.user.forgot.password,
.user.reset.password,