Skip to content

Commit

Permalink
Fixed styles
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelbustamante committed Feb 26, 2014
2 parents 15e4537 + 6845279 commit 96e1cbd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
11 changes: 6 additions & 5 deletions static/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -287,15 +287,16 @@ h3 {
* Inputs and forms
*/

form.form-signin {
form.form-signin,
form.form-signup {
width: 60%;
margin-left: 20%;
margin-bottom: 35px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
input[type="password"],
input[type="email"] {
display: block;
width: 100%;
height: 34px;
Expand All @@ -314,8 +315,8 @@ input[type="password"] {
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
input[type="password"]:focus,
input[type="email"]:focus {
border-color: #66afe9;
outline: 0;
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
Expand Down
14 changes: 7 additions & 7 deletions templates/registration/registration_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
<div class="row">
<div class="col-md-7">
<div class="row">
<!-- register form -->
<h1> Register form </h1>
<form action="/pyarenses/register/" method="POST">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="Enviar" />
</form>
<!-- register form -->
<form class="form-signup" role="form" action="/pyarenses/register/" method="POST">
{% csrf_token %}
<h2 class="form-signin-heading">¿Listo para registrarte?</h2>
{{ form.as_p }}
<button class="btn btn-lg btn-primary btn-block" type="submit">¡Registrarme!</button>
</form>
</div>
</div>
<div class="col-md-5">
Expand Down

0 comments on commit 96e1cbd

Please sign in to comment.