Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions css/payment-form.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.payment-form {
.form {
font-size: 1.2rem;
padding: 4em 2em 6em;
padding: 4em 2em 0em;
padding-bottom: 6rem;
position: relative;
}

Expand All @@ -19,7 +20,7 @@

.form-field--inline-block {
display: inline-block;
width: 35%;
width: 40%;
}

.form-field--inline-block--right {
Expand Down Expand Up @@ -54,3 +55,10 @@
border: 1px solid #bdbdbd;
border-radius: 2px;
}

.warning {
display: none;
font-size: 1em;
color: red;
font-size: 0.8em;
}
19 changes: 9 additions & 10 deletions payment-form.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
</a>
</header>

<section class="payment-form">
<h1 class="form-title">Your contribution</h1>
<form>
<form action="payment-confirmation.html">
<section class="form">
<h1 class="form-title">Your contribution</h1>
<div class="form-field form-field--block">
<label class="form-field__label form-field__label--block" for="email">Email</label>
<input class="form-field__input" id="email" type="text"/>
Expand Down Expand Up @@ -79,13 +79,12 @@ <h1 class="form-title">Your contribution</h1>
<input id="email updates" type="checkbox"/>
<label class="form-field__label form-field__label--inline" for="email updates">Send me updates about Future Leaders</label>
</div>
</form>
</section>
</section>

<section class="button-container">
<a href="payment-confirmation.html" class="button-container__link">
<button class="button-container__button--green">DONATE</button>
</a>
</section>
<section class="button-container">
<button class="button-container__link button-container__button--green" type="submit">DONATE</button>
</section>

</form>
</body>
</html>