Decrease width of login form
This commit is contained in:
parent
ecc94ec174
commit
8469620dea
|
@ -13,25 +13,19 @@
|
|||
body {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-top: 40px;
|
||||
padding-bottom: 40px;
|
||||
background-color: aliceblue;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.form-signin {
|
||||
width: 100%;
|
||||
max-width: 330px;
|
||||
padding: 15px;
|
||||
margin: auto;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="text-center">
|
||||
{% block content %}
|
||||
|
||||
<main class="form-signin">
|
||||
<form method="post p-4">
|
||||
<main class="form-signin mx-auto w-25 px-5">
|
||||
<div class="mx-5">
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
<!-- <img class="mb-4" src="" alt="" width="" height="">-->
|
||||
<h1 class="h1 mb-4 fw-regular">Log in</h1>
|
||||
|
@ -52,6 +46,7 @@
|
|||
|
||||
<button class="w-100 btn btn-lg btn-primary" type="submit">Log In</button>
|
||||
</form>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user