1
0
mirror of https://github.com/Adam-Ant/ClockworkAprilFools2017 synced 2024-12-20 11:04:35 +00:00

Style the buy page somewhat

This commit is contained in:
Joe Groocock 2017-04-01 00:00:50 +01:00
parent a16cd5d2ba
commit fc8493a557
Signed by untrusted user: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -1,8 +1,29 @@
{% extends "layout.html" %} {% extends "layout.html" %}
{% block body %} {% block style %}
<form method="post"> .jumbotron { text-align: center; }
Username: <input type="text" name="username" required> h1.label {
<button type="submit">Get me that juicy Plus!</button> display: inline-block;
</form> margin-bottom: 0.3em;
}
form input, form button {
display: block;
margin: 0 auto;
}
.form-control {
width: 40%;
min-width: 280px;
}
{% endblock %}
{% block body %}
<div class="container">
<div class="jumbotron">
<form method="post">
<h1 class="label">What's yer username?</h1>
<input class="username form-group form-control" type="text" name="username" required>
<button class="btn btn-success form-group form-control" type="submit">Get me that juicy Plus!</button>
</form>
</div>
</div>
{% endblock %} {% endblock %}