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

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

+ +
+ +

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

- -
-
-

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

+ + + +
+

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

+
+
+
+ + +
+ + + + + \ No newline at end of file diff --git a/styles/style.css b/styles/style.css index 4d1c088e..c63634f9 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,12 @@ button { font-size: 1rem; } -h1,h2,h3,h4,h5,h6 { +h1, +h2, +h3, +h4, +h5, +h6 { margin-top: 0; margin-bottom: 0; } @@ -67,6 +72,7 @@ p { .navigation__item { padding: 0.5rem 0; + margin: 0 20px; } .navigation__link { @@ -76,6 +82,11 @@ p { text-decoration: none; } +.navigation__link:hover, +.navigation__link:focus { + color: var(--orange-dark); + text-decoration: underline; +} /* Text styles */ @@ -92,10 +103,27 @@ p { border-left-color: var(--orange-dark); } - /* Buttons */ - /* INSERT BUTTON STYLES HERE */ +button { + background-color: var(--orange-dark); + color: var(--white); + border: none; + border-radius: 4px; + padding: 0.5rem 1rem; + font-size: 1rem; + font-weight: 600; + text-transform: uppercase; + cursor: pointer; + transition: cubic-bezier(0.175, 0.885, 0.32, 1.275) all 0.9s; +} + +button:hover, +button:focus { + background-color: var(--orange-light); + color: var(--orange-dark); + box-shadow: 0px 0px 5px var(--grey-light); +} /* Content */ @@ -114,19 +142,26 @@ p { font-size: 0.85rem; line-height: 1.3; padding: 1.5rem 1rem; +} + +/* section */ +section { margin-bottom: 2rem; } /* hero */ .hero { - background-image: url("header-bike.jpg"); + background-image: url("/images/header-bike.jpg"); background-color: var(--grey-light); + color: var(--white); + padding: 70px 30px; } .hero h1 { margin-bottom: 1rem; font-size: 2.5rem; + } .hero p { @@ -134,6 +169,10 @@ p { margin-bottom: 2rem; } +.hero button:nth-of-type(2) { + background-color: var(--white); + color: var(--orange-dark); +} /* Headings */ @@ -158,9 +197,37 @@ p { background: var(--orange-dark); } - /* Article */ +article { + width: 100%; + display: flex; + flex-direction: column; + padding: 1rem; + background-color: var(--white); + border-radius: 4px; + box-shadow: 0px 0px 5px var(--grey-light); + transition: cubic-bezier(0.175, 0.885, 0.32, 1.275) all 0.9s; +} + +article:hover, +article:focus { + background-color: var(--orange-light); + color: var(--orange-dark); + box-shadow: 0px 0px 5px var(--grey-light); +} + +article.content { + display: flex; + gap: 2rem; + padding: 20px; +} + +.articles_side { + display: flex; + gap: 2rem; +} + .article { margin-bottom: 1rem; } @@ -247,4 +314,4 @@ p { .main { padding-right: 2rem; } -} +} \ No newline at end of file