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
22 changes: 11 additions & 11 deletions css/footer.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.button-container {
.cta {
background-color: #93C745;
text-align: center;
width: 100%;
Expand All @@ -8,11 +8,11 @@
padding: 0em;
}

.button-container__link, .button-container__link:visited {
.cta__link, .cta__link:visited {
text-decoration: none;
color: white;
}
.button-container__button--green {
.cta__button--green {
font-size: 2rem;
font-weight: 400;
border: none;
Expand All @@ -23,12 +23,12 @@
cursor: pointer;
}

.button-container__options {
.cta__options {
position: absolute;
font-size: 1.3rem;
}

.button-container__button--white {
.cta__button--white {
background-color: white;
height: 50%;
width: 4.5em;
Expand All @@ -39,26 +39,26 @@
cursor: pointer;
}

.button-container__button__paypal {
.cta__button__paypal {
right: 5.5em;
}

.button-container__button__paypal__img {
.cta__button__paypal__img {
margin-top: 0.3em;
}

.button-container__button__card {
.cta__button__card {
right: 0.5em;
}

.button-container__button__card__img {
.cta__button__card__img {
height: 1em;
position: absolute;
left: 0.5em;
top: 0.5em;
}

.button-container__button__card__text {
.cta__button__card__text {
margin: 0em;
display: inline-block;
font-weight: bold;
Expand All @@ -68,7 +68,7 @@
font-size: 0.9em;
}

.button-container__text {
.cta__text {
color: white;
left: 0.5em;
margin-top: 1em;
Expand Down
18 changes: 9 additions & 9 deletions css/payment-confirmation.css
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
.thanks-container {
.thanks {
font-size: 0.95em;
display: inline-block;
margin-top: 3.5em;
width: 100%;
text-align: center;
}

.thanks-container__completion-message {
.thanks__completion-message {
font-weight: 100;
font-size: 1.2em;
}

.thanks-container__thanks-message {
.thanks__thanks-message {
display: block;
margin: auto;
width: 60%;
Expand All @@ -20,27 +20,27 @@
font-size: 2.2em;
}

.thanks-container__heart-image {
.thanks__heart-image {
padding-top: 1.5em;
height: 2.7em;
}

.summary-container {
.summary {
display: block;
margin: auto;
width: 80%;
font-size: 0.95em;
padding-bottom: 6rem;
}

.summary-container__title {
.summary__title {
text-align: center;
font-weight: 300;
font-size: 1.1em;
margin: 1.7em 0em 0em 0em;;
}

.summary-container__row {
.row {
position: relative;
border-style: solid;
border-color: #BDBDBD;
Expand All @@ -49,14 +49,14 @@
height: 2.7em;
}

.summary-container__row__property-name {
.row__property {
margin-top: inherit;
padding-left: 0.8em;
position: absolute;
font-size: 1.1em;
}

.summary-container__row__property-value {
.row__value {
position: absolute;
right: 0.8em;
margin-top: inherit;
Expand Down
33 changes: 22 additions & 11 deletions css/payment-form.css
Original file line number Diff line number Diff line change
@@ -1,52 +1,63 @@
.payment-form {
/* Payment Form */

.form {
font-size: 1.2rem;
padding: 4em 2em 6em;
position: relative;
}

.form-title {
.form__title {
font-size: 1.2rem;
}

.form-field {
/*Label + Input */
.form__field {
display: block;
margin-bottom: 1em;
}

.form-field--block {
.form__field--full {
display: block;
}

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

.form-field--inline-block--right {
.form__field--inline-block-right {
display: inline-block;
position: absolute;
width: 35%;
right: 2em;
}

.form-field__input {
/* Just input */
.form__input {
width: 100%;
height: 1.3em;
border: 1px solid #bdbdbd;
border-radius: 2px;
}

.form-field__label {

/* Just label */

.form__label {
font-size: 0.7em;
}

.form-field__label--block {
.form__label--full {
display: block;
}

.form-field__label--inline {
.form__label--inline {
display: inline-block;
}

#payment-method {
/*-- Options--*/

.payment-method {
width: 100%;
font-size: 0.8em;
background-color: white;
Expand Down
14 changes: 7 additions & 7 deletions donate.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,17 @@ <h1 class="donation__title">
<span class="donation__quote--type-normal">Sam, 15, London</span>
</section>

<section class="button-container">
<p class="button-container__options button-container__text">Donate with</p>
<section class="cta">
<p class="cta__options cta__text">Donate with</p>
<a href="https://www.paypal.com/">
<button class="button-container__options button-container__button--white button-container__button__paypal">
<img src="images/paypal-logo.svg" class="button-container__button__paypal__img" alt="Paypal Logo">
<button class="cta__options cta__button--white cta__button__paypal">
<img src="images/paypal-logo.svg" class="cta__button__paypal__img" alt="Paypal Logo">
</button>
</a>
<a href="payment-form.html">
<button class="button-container__options button-container__button--white button-container__button__card">
<img src="images/card-security.png" class="button-container__button__card__img" alt="Secure Card Logo">
<p class="button-container__button__card__text">Card</p>
<button class="cta__options cta__button--white cta__button__card">
<img src="images/card-security.png" class="cta__button__card__img" alt="Secure Card Logo">
<p class="cta__button__card__text">Card</p>
</button>
</a>
</section>
Expand Down
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ <h2 class="heading__sub">Inspiring the next generation</h2>
<!-- end Landing Page Content -->


<section class="button-container">
<a href="donate.html" class="button-container__link">
<button class="button-container__button--green">DONATE</button>
<section class="cta">
<a href="donate.html" class="cta__link">
<button class="cta__button--green">DONATE</button>
</a>
</section>
</body>
Expand Down
36 changes: 18 additions & 18 deletions payment-confirmation.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,29 +26,29 @@

</header>

<section class="thanks-container">
<h3 class="thanks-container__completion-message">Donation Complete</h3>
<h2 class="thanks-container__thanks-message">Thank you for your kindness</h2>
<img src="images/heart.png" class="thanks-container__heart-image">
<section class="thanks">
<h3 class="thanks__completion-message">Donation Complete</h3>
<h2 class="thanks__thanks-message">Thank you for your kindness</h2>
<img src="images/heart.png" class="thanks__heart-image">
</section>

<section class="summary-container">
<h4 class="summary-container__title">Donation Summary</h4>
<div class="summary-container__row">
<p class="summary-container__row__property-name">Payment Method</p>
<p class="summary-container__row__property-value">VISA</p>
<section class="summary">
<h4 class="summary__title">Donation Summary</h4>
<div class="row">
<p class="row__property">Payment Method</p>
<p class="row__value">VISA</p>
</div>
<div class="summary-container__row">
<p class="summary-container__row__property-name">Card Number</p>
<p class="summary-container__row__property-value">* * * 4325</p>
<div class="row">
<p class="row__property">Card Number</p>
<p class="row__value">* * * 4325</p>
</div>
<div class="summary-container__row">
<p class="summary-container__row__property-name">Name</p>
<p class="summary-container__row__property-value">Jordan Smith</p>
<div class="row">
<p class="row__property">Name</p>
<p class="row__value">Jordan Smith</p>
</div>
<div class="summary-container__row">
<p class="summary-container__row__property-name">Amount billed</p>
<p class="summary-container__row__property-value">£30</p>
<div class="row">
<p class="row__property">Amount billed</p>
<p class="row__value">£30</p>
</div>
</section>
</body>
Expand Down
Loading