diff --git a/index.html b/index.html index 76254c13..3a676485 100644 --- a/index.html +++ b/index.html @@ -20,8 +20,7 @@ -
- +
- -
+
+ - + -
+ -
+
You've helped us give 72 bikes @@ -64,14 +62,14 @@

Bikes for Refugees

Providing donated bikes and accessories to refugees and asylum seekers in Scotland.

- - + +

Learn more

-
+

Why do refugees need bikes?

@@ -108,11 +106,11 @@

How can I help?

- + diff --git a/styles/style.css b/styles/style.css index 4d1c088e..cb2ca495 100644 --- a/styles/style.css +++ b/styles/style.css @@ -34,9 +34,9 @@ p { margin-bottom: 0; } -.header, -.content, -.footer { +header, /* ! */ +main, /* .content */ +footer { /* .footer */ padding: 0 1.5rem; max-width: 1200px; margin: 0 auto; @@ -44,7 +44,7 @@ p { /* Header */ -.header { +header { /* ! */ display: flex; align-items: center; justify-content: space-between; @@ -67,6 +67,7 @@ p { .navigation__item { padding: 0.5rem 0; + margin:0 15px; } .navigation__link { @@ -100,11 +101,15 @@ p { /* Content */ -.content { +main { /* .content */ display: flex; flex-direction: column; } +.learn_more{ + display: flex; +} + /* Alert */ .alert { @@ -120,8 +125,12 @@ p { /* hero */ .hero { - background-image: url("header-bike.jpg"); - background-color: var(--grey-light); + background-image: url("/images/header-bike.jpg"); + background-color: var(--grey-light);padding: 10px; + color: white; + height: 260px; + padding: 70px 40px 0px 40px; + margin-bottom: 50px; } .hero h1 { @@ -217,11 +226,12 @@ p { display: flex; flex-direction: column; min-width: 350px; + align-items: end; } /* Footer */ -.footer { +footer { /* .footer */ margin-top: 2rem; } @@ -231,7 +241,7 @@ p { padding-bottom: 2rem; } -.footer p { +footer p { /* .footer p */ padding-bottom: 1rem; text-align: center; font-size: 0.85rem; @@ -240,7 +250,7 @@ p { /* Media queries */ @media screen and (min-width: 992px) { - .content { + main { /* .content */ flex-direction: row; } @@ -248,3 +258,44 @@ p { padding-right: 2rem; } } +.article.side{ + display:flex; + /*-justify-content: space-between;-*/ + +} +.article img { + margin-right: 10px; +} + +.article { + border: 1px solid grey; + border-radius: 5px; + padding: 10px; + margin: 5px; +} +.button_orange{ + color: white; + background-color:orange; + border:none ; + border-radius: 5px; + padding: 5px 10px; +} +.button_white{ + color: orange; + background-color: white; + + border:none; + border-radius: 5px; + padding: 5px 10px; +} +.navigation__link:hover{ + color: orange; +} +.button_orange:hover{ + color: orange; + background-color: white; +} +.button_white:hover{ + color: white; + background-color:orange; +} \ No newline at end of file