diff --git a/index.html b/index.html index 76254c13..12714fbd 100644 --- a/index.html +++ b/index.html @@ -20,7 +20,7 @@ -
+
- -
+ +
+ - - - +
-
+
You've helped us give 72 bikes to refugees and asylum seekers so far. Thank you! @@ -64,16 +63,15 @@

Bikes for Refugees

Providing donated bikes and accessories to refugees and asylum seekers in Scotland.

- - + +
-

Learn more

-
-
-

Why do refugees need bikes?

+
+
+

Why do refugees need bikes?

Many refugees are placed in housing in areas where there are few jobs. Bikes provide low-cost transportation so that they @@ -85,9 +83,9 @@

Why do refugees need bikes?

Learn more

-
+ -
+

How can I help?

We need lots of bikes and bike accessories! If you have an @@ -100,19 +98,19 @@

How can I help?

Learn more

-
+
-
+
- +
- + diff --git a/styles/style.css b/styles/style.css index 4d1c088e..7c6a47dc 100644 --- a/styles/style.css +++ b/styles/style.css @@ -56,6 +56,9 @@ p { .header__logo { max-height: 90px; width: auto; + position: relative; + top: 50px; + left: 70px; } /* Navigation */ @@ -63,10 +66,11 @@ p { .navigation__list { display: flex; list-style: none; + margin-left: 35% } .navigation__item { - padding: 0.5rem 0; + padding-right: 2rem; } .navigation__link { @@ -76,6 +80,10 @@ p { text-decoration: none; } +.navigation__link:hover { + color: var(--orange-dark); +} + /* Text styles */ @@ -94,8 +102,43 @@ p { /* Buttons */ + + .button{ + background-color: var(--orange-dark); + color: var(--white); + padding: 0.5rem 1rem; + border: none; + border-radius: 4px; + text-decoration: none; + font-weight: 400; + text-align: center; + } + + .button:hover { + background-color: var(--orange-light); + color: var(--orange-dark); + } - /* INSERT BUTTON STYLES HERE */ + #donate_button { + margin-left: 85%; + top: -2rem; + position: relative; + } + + #donate_a_bike { + margin-left: 4%; + } + + #volunteer { + background-color: var(--white); + color: var(--orange-dark); + } + + #volunteer:hover { + background-color: var(--orange-dark); + color: var(--white); + } + /* Content */ @@ -115,23 +158,36 @@ p { line-height: 1.3; padding: 1.5rem 1rem; margin-bottom: 2rem; + margin-right: 2rem; } /* hero */ .hero { - background-image: url("header-bike.jpg"); - background-color: var(--grey-light); + background-image: url("../images/header-bike.jpg"); + height: 20rem; + background-size: cover; + background-repeat: no-repeat; + padding: 5px; + margin-bottom: 5rem; + margin-right: 2rem; } .hero h1 { margin-bottom: 1rem; font-size: 2.5rem; + color: var(--white); + padding-top: 10%; + padding-left: 2rem; + } .hero p { font-size: 1.2rem; margin-bottom: 2rem; + color: var(--white); + padding-left: 2rem; + } @@ -145,6 +201,8 @@ p { font-size: 1rem; font-weight: 600; text-transform: uppercase; + margin-right: 2rem; + } .heading-underline:before { @@ -162,7 +220,21 @@ p { /* Article */ .article { - margin-bottom: 1rem; + margin-bottom: 1rem; + padding: 1rem; + border: 1px solid var(--grey-light); + display: flex; + font-size: 14px; +} +.articles { + display: flex; + margin-right: 1rem; +} + +.articles > article { + border: 1px solid var(--grey-light); + margin-right: 1rem; + padding: 1rem; } .article__title { @@ -183,7 +255,8 @@ p { .article__thumbnail { object-fit: contain; - width: 5rem; + width: 5rem; + margin-right: 2rem; } .article__read-more { @@ -209,6 +282,7 @@ p { .facebook-link { color: var(--orange-dark); + text-align: right; } /* Sidebar */