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

-

+

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 +86,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,19 +101,19 @@

How can I help?

Learn more

-
+
-
-
+ +
- + +
- + diff --git a/styles/style.css b/styles/style.css index 4d1c088e..96ba4994 100644 --- a/styles/style.css +++ b/styles/style.css @@ -35,7 +35,6 @@ p { } .header, -.content, .footer { padding: 0 1.5rem; max-width: 1200px; @@ -66,7 +65,7 @@ p { } .navigation__item { - padding: 0.5rem 0; + padding: 0.5rem; } .navigation__link { @@ -76,6 +75,11 @@ p { text-decoration: none; } +nav a:hover { + background-color: orange; + color: white; + transition: all 0.3s ease; +} /* Text styles */ @@ -92,21 +96,60 @@ p { border-left-color: var(--orange-dark); } +.font-white { + color: #fff; +} + /* Buttons */ - /* INSERT BUTTON STYLES HERE */ +button { + border: 0; + padding: 5px 15px 5px 15px; + border-radius: 5px; + font-weight:600; +} + +.btn-orange { + background-color:var(--orange-dark); + color: #fff; +} + +.btn-white { + background-color:#ffffff; + color: var(--orange-dark); +} /* Content */ .content { display: flex; - flex-direction: column; + flex-direction: row; + padding: 0 1.5rem; + margin: 0 auto; +} + +.main { + order: 1; + flex-grow: 3; + max-width: 55rem; + } + + .sidebar { + order: 2; + + } + +.main-articles { + display: flex; + flex-direction: row; + gap: 1rem; } /* Alert */ + .alert { background-color: var(--orange-light); border-left: 4px solid var(--orange-dark); @@ -120,8 +163,14 @@ p { /* hero */ .hero { - background-image: url("header-bike.jpg"); + background-image: url("/images/header-bike.jpg"); background-color: var(--grey-light); + height: 20rem; + margin-bottom: 2rem; + display: flex; + flex-direction: column; + justify-content: center; + align-items: flex-start; } .hero h1 { @@ -163,6 +212,8 @@ p { .article { margin-bottom: 1rem; + border: 2px solid var(--grey-light); + padding: 1rem; } .article__title { @@ -211,6 +262,7 @@ p { color: var(--orange-dark); } + /* Sidebar */ .sidebar { @@ -219,6 +271,15 @@ p { min-width: 350px; } +.sidebar article { + display: flex; + gap: 1rem; +} + +.facebook { + display: flex; + align-self: flex-end; +} /* Footer */ .footer {