diff --git a/index.html b/index.html index 76254c13..3da54bf0 100644 --- a/index.html +++ b/index.html @@ -1,179 +1,156 @@ - - - - - - - - - - - Bikes for Refugees - - - -
- - - - - -
- -
- - - -
- -
-
-
- 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. + + + + + + + + + + + Bikes for Refugees + + + +

+ + + + + + + + + +
+ +
+
+
+ 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

- -
-
-

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 - -

-
-
-
+

+ + + Learn more + +

+
- - - - -
- - +

+

Website by Code Your Future

+ + + + + \ No newline at end of file diff --git a/styles/style.css b/styles/style.css index 4d1c088e..ab7cc84c 100644 --- a/styles/style.css +++ b/styles/style.css @@ -5,13 +5,13 @@ * */ - :root { - --grey-dark: #292b2c; - --grey-light: #e4e4e4; - --orange-dark: #c05326; - --orange-light: #f7eae4; - --white: #fff; - } +:root { + --grey-dark: #292b2c; + --grey-light: #e4e4e4; + --orange-dark: #c05326; + --orange-light: #f7eae4; + --white: #fff; +} body { margin: 0; @@ -24,7 +24,18 @@ button { font-size: 1rem; } -h1,h2,h3,h4,h5,h6 { +button { + padding: 0.5rem 1rem; + border: 0; + border-radius: 5px; +} + +h1, +h2, +h3, +h4, +h5, +h6 { margin-top: 0; margin-bottom: 0; } @@ -67,6 +78,7 @@ p { .navigation__item { padding: 0.5rem 0; + margin: 1rem; } .navigation__link { @@ -76,6 +88,10 @@ p { text-decoration: none; } +.navigation__link:hover { + color: var(--orange-dark); +} + /* Text styles */ @@ -95,8 +111,27 @@ p { /* Buttons */ - /* INSERT BUTTON STYLES HERE */ +.donate-button { + background-color: var(--orange-dark); + color: var(--white); +} + +.donate-button:hover { + cursor: pointer; + background-color: var(--white); + color: var(--orange-dark); +} + +.volunteer-button { + background-color: var(--white); + color: var(--orange-dark); +} +.volunteer-button:hover { + cursor: pointer; + background-color: var(--orange-dark); + color: var(--white); +} /* Content */ @@ -120,8 +155,11 @@ p { /* hero */ .hero { - background-image: url("header-bike.jpg"); - background-color: var(--grey-light); + background-image: url("../images/header-bike.jpg"); + background-size: cover; + padding: 6rem 2rem; + margin-bottom: 2rem; + color: var(--white); } .hero h1 { @@ -161,8 +199,15 @@ p { /* Article */ +.article__container { + display: flex; + gap: 1rem; +} + .article { - margin-bottom: 1rem; + border: 2px solid var(--grey-light); + padding: 1rem; + gap: 1rem; } .article__title { @@ -209,6 +254,7 @@ p { .facebook-link { color: var(--orange-dark); + align-self: flex-end; } /* Sidebar */ @@ -216,7 +262,16 @@ p { .sidebar { display: flex; flex-direction: column; - min-width: 350px; + gap: 1rem; + flex: 5; +} + +.main { + flex: 11; +} + +.sidebar article { + display: flex; } /* Footer */ @@ -247,4 +302,4 @@ p { .main { padding-right: 2rem; } -} +} \ No newline at end of file