diff --git a/index.html b/index.html index 76254c13..7e34ebda 100644 --- a/index.html +++ b/index.html @@ -20,153 +20,151 @@ -
- - - - - -
- +
+ + + + + + + +
+ +
+
+
+ You've helped us give 72 bikes + to refugees and asylum seekers so far. Thank you!
- - -
- -
-
-
- You've helped us give 72 bikes - to refugees and asylum seekers so far. Thank you! -
- -
-

Bikes for Refugees

-

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

- - -
- -
-

Learn more

- -
-
-

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 - can get to work, manage child care and do their shopping. -

-

- - - Learn more - -

-
- -
-

How can I help?

-

- We need lots of bikes and bike accessories! If you have an - old bike you don't use, bring it to one of our dropoff - events. Or come attend one of our fundraisers. -

-

- - - Learn more - -

-
-
-
-
+
+

Bikes for Refugees

+

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

+ + +
+ +
+

Learn more

+ +
+
+

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 + can get to work, manage child care and do their shopping. +

+

+ + + Learn more + +

+
-
+ + + + - + - + \ No newline at end of file diff --git a/styles/style.css b/styles/style.css index 4d1c088e..1f798b0b 100644 --- a/styles/style.css +++ b/styles/style.css @@ -63,10 +63,12 @@ p { .navigation__list { display: flex; list-style: none; + padding-left: 0; } .navigation__item { padding: 0.5rem 0; + margin: 0 1rem; } .navigation__link { @@ -76,6 +78,9 @@ p { text-decoration: none; } +.navigation__link:hover { + color: var(--orange-dark); +} /* Text styles */ @@ -94,8 +99,35 @@ p { /* Buttons */ +.btn { + padding: 0.75rem 1.5rem; + border-radius: 4px; + font-weight: 600; + text-transform: uppercase; + border: 2px solid var(--orange-dark); + cursor: pointer; + transition: all 0.2s ease; +} + +.btn-primary { + background-color: var(--orange-dark); + color: var(--white); +} + +.btn-primary:hover { + background-color: var(--white); + color: var(--orange-dark); +} - /* INSERT BUTTON STYLES HERE */ +.btn-secondary { + background-color: var(--white); + color: var(--orange-dark); +} + +.btn-secondary:hover { + background-color: var(--orange-dark); + color: var(--white); +} /* Content */ @@ -117,11 +149,16 @@ p { margin-bottom: 2rem; } -/* hero */ +/* Hero */ .hero { - background-image: url("header-bike.jpg"); + background-image: url("../images/header-bike.jpg"); background-color: var(--grey-light); + background-size: cover; + background-position: center; + padding: 4rem 2rem; + margin-bottom: 3rem; + border-radius: 4px; } .hero h1 { @@ -134,6 +171,20 @@ p { margin-bottom: 2rem; } +.hero button { + margin-right: 1rem; + margin-bottom: 1rem; +} + +/* Learn more section */ +.learn-more { + margin-bottom: 2rem; +} + +.articles { + display: flex; + gap: 2rem; +} /* Headings */ @@ -162,7 +213,14 @@ p { /* Article */ .article { - margin-bottom: 1rem; + margin-bottom: 1.5rem; + display: flex; +} + +.sidebar .article { + border: 1px solid var(--grey-light); + border-radius: 4px; + padding: 1rem; } .article__title { @@ -184,6 +242,8 @@ p { .article__thumbnail { object-fit: contain; width: 5rem; + height: 5rem; + margin-right: 1rem; } .article__read-more { @@ -209,6 +269,14 @@ p { .facebook-link { color: var(--orange-dark); + text-decoration: none; + font-weight: 600; + display: block; + margin-top: 1rem; +} + +.facebook-link:hover { + text-decoration: underline; } /* Sidebar */ @@ -217,6 +285,7 @@ p { display: flex; flex-direction: column; min-width: 350px; + padding: 0 1rem; } /* Footer */ @@ -246,5 +315,6 @@ p { .main { padding-right: 2rem; + flex: 1; } -} +} \ No newline at end of file