diff --git a/static/registration/css/login_css.css b/static/registration/css/login_css.css index 9043a38..5184236 100644 --- a/static/registration/css/login_css.css +++ b/static/registration/css/login_css.css @@ -84,6 +84,7 @@ input[type=text]{ border: 1px solid #ced4da; border-radius: 0.25rem; transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + text-align: center; } input[type=password]{ display: block; @@ -98,7 +99,8 @@ input[type=password]{ background-clip: padding-box; border: 1px solid #ced4da; border-radius: 0.25rem; - transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + text-align: center; } input[type=text]:focus { diff --git a/static/registration/css/signup_css.css b/static/registration/css/signup_css.css index 372ff35..8d82e60 100644 --- a/static/registration/css/signup_css.css +++ b/static/registration/css/signup_css.css @@ -35,15 +35,10 @@ div button{ } -input[type=text]{ -background-color: #fff3e0; - border-radius: 0px; - -} -input[type=password]{ -background-color: #fff3e0; - border-radius: 0px; - +input[type=text], input[type=password], input[type=email]{ + background-color: #fff3e0; + border-radius: 0px; + text-align: center; } input[type=text]:focus { diff --git a/static/sherlocked/css/main.css b/static/sherlocked/css/main.css index d12bca0..728c7d0 100644 --- a/static/sherlocked/css/main.css +++ b/static/sherlocked/css/main.css @@ -38,7 +38,7 @@ input::placeholder { background-color:#6F4242; border-radius: 2px; border:none; - margin: 5%; + margin-top: 5vh; padding: 0.8%; box-shadow: none; margin-left: 0; @@ -149,6 +149,8 @@ li:active { background-position: bottom; background-size: contain; background-repeat: no-repeat; + padding: 5vw; + overflow-x: auto; } #table-head { @@ -174,12 +176,13 @@ li:active { border: none; color: #6F4242; outline:none; - width: 70%; + width: 25%; box-shadow:none; border-bottom: 1px solid black; border-radius: none; - display: block; + display: inline-block; margin: auto; + margin-left: 32px; } #answer:focus { @@ -188,8 +191,24 @@ li:active { } - +.question_story{ + height: 35vh; + max-height: 35vh; + overflow-y: auto; +} +#ques-img img{ + height: 40vh; + width: auto; +} @media only screen and (max-width: 768px){ + .btn1{ + margin-right: auto; + margin-left: auto; + } + #ques-img img{ + width: 70vw; + height: auto; + } #divOne { width: 100%; height: 53vh; @@ -227,6 +246,8 @@ li:active { #divTwo{ width: 100%; + padding: 10vw; + text-align: center; } #menu-table { @@ -244,7 +265,11 @@ h4{ .dash a{ margin-top: 15% !important; } - +.question_story{ + height: 55vh; + max-height: 55vh; + overflow-y: auto; +} } diff --git a/templates/registration/signup.html b/templates/registration/signup.html index ec601f0..92efdbf 100644 --- a/templates/registration/signup.html +++ b/templates/registration/signup.html @@ -24,9 +24,6 @@
{{ form.username }} - {% for error in form.username.errors %} -

{{ error }}

- {% endfor %}
@@ -38,18 +35,14 @@
{{ form.firstname }} - {% for error in form.firstname.errors %} -

{{ error }}

- {% endfor %} +
{{ form.lastname }} - {% for error in form.lastname.errors %} -

{{ error }}

- {% endfor %} +
@@ -60,9 +53,7 @@
{{ form.email }} - {% for error in form.email.errors %} -

{{ error }}

- {% endfor %} +
@@ -73,16 +64,12 @@
{{ form.password1 }} - {% for error in form.password1.errors %} -

{{ error }}

- {% endfor %} +
{{ form.password2}} - {% for error in form.password2.errors %} -

{{ error }}

- {% endfor %} +
@@ -92,9 +79,7 @@
{{ form.college_name }} - {% for error in form.college_name.errors %} -

{{ error }}

- {% endfor %} +
@@ -105,16 +90,10 @@
{{ form.zeal_Id }} - {% for error in form.zeal_Id.errors %} -

{{ error }}

- {% endfor %}
{{ form.contact_no }} - {% for error in form.contact_no.errors %} -

{{ error }}

- {% endfor %}
@@ -122,6 +101,33 @@

+ {% for error in form.username.errors %} +

{{ error }}

+ {% endfor %} + {% for error in form.zeal_Id.errors %} +

{{ error }}

+ {% endfor %} + {% for error in form.firstname.errors %} +

{{ error }}

+ {% endfor %} + {% for error in form.contact_no.errors %} +

{{ error }}

+ {% endfor %} + {% for error in form.password2.errors %} +

{{ error }}

+ {% endfor %} + {% for error in form.college_name.errors %} +

{{ error }}

+ {% endfor %} + {% for error in form.password1.errors %} +

{{ error }}

+ {% endfor %} + {% for error in form.email.errors %} +

{{ error }}

+ {% endfor %} + {% for error in form.lastname.errors %} +

{{ error }}

+ {% endfor %} diff --git a/templates/sherlocked/play.html b/templates/sherlocked/play.html index 6459474..5411c8f 100644 --- a/templates/sherlocked/play.html +++ b/templates/sherlocked/play.html @@ -5,18 +5,18 @@ {% block title %}Solve Mystery{% endblock %} {% block content %} -

{{ user.username }}

+

{{ user.username }}

-

You're at question {{ question.question_level }}

-
-

Story

-

{{ question.question_story }}

+
You're at question {{ question.question_level }}
+
+

Story

+

{{ question.question_story }}

-