diff --git a/index.html b/index.html index 76254c13..2a180c24 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

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 +85,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,21 +100,21 @@

How can I help?

Learn more

-
-
-
-
+ + + + - -
+ + - + + diff --git a/styles/style.css b/styles/style.css index 4d1c088e..dfe4a1e7 100644 --- a/styles/style.css +++ b/styles/style.css @@ -66,7 +66,7 @@ p { } .navigation__item { - padding: 0.5rem 0; + padding: 0.5rem 1rem; } .navigation__link { @@ -76,6 +76,10 @@ p { text-decoration: none; } +.navigation__link:hover { + color: var(--orange-dark); +} + /* Text styles */ @@ -95,8 +99,35 @@ p { /* Buttons */ - /* INSERT BUTTON STYLES HERE */ +.btn-primary { + background-color: var(--orange-dark); + color: var(--white); + bottom: none; + padding: 0.75rem 1.25rem; + font-weight: 600; + border-radius: 4px; + cursor:pointer; +} + +.btn-secondary { + background-color: var(--grey-light); + color: var(--orange-dark); + bottom: none; + padding: 0.75rem 1.25rem; + font-weight: 600; + border-radius: 4px; + cursor:pointer; +} + +.btn-primary:hover { + background-color: var(--white); + color: var(--orange-dark); +} +.btn-secondary:hover { + background-color: var(--orange-dark); + color: var(--white); +} /* Content */ @@ -120,21 +151,26 @@ p { /* hero */ .hero { - background-image: url("header-bike.jpg"); - background-color: var(--grey-light); + background-image: url("../images/header-bike.jpg"); + background-size: cover; + background-position: center; + background-repeat: no-repeat; + padding: 7rem 2rem; + margin-bottom: 3rem; } .hero h1 { margin-bottom: 1rem; font-size: 2.5rem; + color: var(--white); } .hero p { font-size: 1.2rem; margin-bottom: 2rem; + color: var(--white); } - /* Headings */ .heading-underline { @@ -162,7 +198,10 @@ p { /* Article */ .article { - margin-bottom: 1rem; + border: 1px solid var(--grey-light); + padding: 1rem; + border-radius: 4px; + background-color: var(--white); } .article__title { @@ -219,6 +258,26 @@ p { min-width: 350px; } +.sidebar .article { + display: flex; + align-items: flex-start; + margin-bottom: 1rem; /* space between each event box */ +} + +.sidebar .article__content { + margin-left: 1rem; +} + +/* Social Media link */ +.facebook-link { + color: var(--orange-dark); + margin-top: 0rem; /* adds space above the link */ + display: inline-block; + font-weight: 600; + text-decoration: underline; + text-align: right; +} + /* Footer */ .footer { @@ -247,4 +306,9 @@ p { .main { padding-right: 2rem; } -} + + .articles { + display:flex; + gap: 1rem; /* space between articles boxes */ + } +} \ No newline at end of file