diff --git a/index.html b/index.html index 76254c13..404964f8 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! -
+ -
+

Bikes for Refugees

+ image of a bike

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 @@ -85,9 +84,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,7 +99,7 @@

How can I help?

Learn more

-
+
@@ -108,11 +107,11 @@

How can I help?

- + diff --git a/styles/style.css b/styles/style.css index 4d1c088e..78455670 100644 --- a/styles/style.css +++ b/styles/style.css @@ -63,10 +63,16 @@ p { .navigation__list { display: flex; list-style: none; + +} +.navigation__list:hover { + background-color: var(--orange-light); } .navigation__item { padding: 0.5rem 0; + margin-right: 20px; + } .navigation__link { @@ -75,7 +81,9 @@ p { text-transform: uppercase; text-decoration: none; } - +.navigation__link:hover { + color : orange +} /* Text styles */ @@ -95,7 +103,23 @@ p { /* Buttons */ - /* INSERT BUTTON STYLES HERE */ +.button1 { + color: var(--white); + background-color : var(--orange-dark); + +} + +.button2 { + background-color: var(--orange-dark); + color: var(--white); + + +} +.button3 { + background-color: var(--white); + color :var(--orange-dark) ; + +} /* Content */ @@ -119,22 +143,42 @@ p { /* hero */ -.hero { +.hero { + position: relative; background-image: url("header-bike.jpg"); - background-color: var(--grey-light); + background-size: cover; + padding: 20px; + border: 100px; + margin-bottom: 30px; } .hero h1 { + color: var(--white); + position :absolute; + top : 10%; margin-bottom: 1rem; font-size: 2.5rem; } .hero p { + top : 30%; + color: var(--white); + position :absolute; font-size: 1.2rem; margin-bottom: 2rem; } +.button3 { + position :absolute; + top : 70%; + left : 22%; +} +.button2 { + position :absolute; + top : 70%; + left : 3%; +} /* Headings */ .heading-underline { @@ -158,11 +202,37 @@ p { background: var(--orange-dark); } - /* Article */ +.articles-container { + display: flex; + gap: 20px; + margin-top: 50px; +} +.article4 { + flex :1; + border: 1px solid var(--grey-light); + padding: 15px; + box-sizing: border-box; + +} +.article3 { + flex :2; + border: 1px solid var(--grey-light); + padding: 15px; + box-sizing: border-box; + +} -.article { + +.article1 { margin-bottom: 1rem; + display: flex; + gap: 20px; + border: 1px, solid ,rgb(212, 208, 208); + height: 185px; +} +.article1:nth-child(3) { + height: 90px; } .article__title { @@ -172,8 +242,9 @@ p { } .article__title-link { + color: rgb(36, 131, 240); text-decoration: none; - color: var(--orange-dark); + } .article__summary { @@ -193,7 +264,7 @@ p { .article__read-more a { font-size: 0.85rem; font-weight: 700; - color: var(--orange-dark); + color: rgb(29, 110, 233); text-decoration: none; } @@ -204,11 +275,11 @@ p { .fa { margin-right: 0.5rem; - color: var(--orange-dark); + color: rgb(29, 105, 219); } .facebook-link { - color: var(--orange-dark); + color: rgb(29, 105, 219); } /* Sidebar */ @@ -229,6 +300,7 @@ p { border-top: 2px solid var(--orange-light); padding-top: 2rem; padding-bottom: 2rem; + position: relative; } .footer p {