Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
257 changes: 130 additions & 127 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,160 +20,163 @@
</head>

<body>
<div class="header">

<a href="#">
<img
src="images/bikes-for-refugees_logo.jpg"
alt="Logo for Bikes for Refugees Scotland"
class="header__logo"
/>
</a>

<div>
<ul class="navigation__list">
<li class="navigation__item">
<a class="navigation__link" href="#">Home</a>
</li>
<li class="navigation__item">
<a class="navigation__link" href="#">About Us</a>
</li>
<li class="navigation__item">
<a class="navigation__link" href="#">News & Events</a>
</li>
<li class="navigation__item">
<a class="navigation__link" href="#">Contact Us</a>
</li>
</ul>
</div>

<button>Donate Now</button>
<header class="header">
<a href="#">
<img
src="images/bikes-for-refugees_logo.jpg"
alt="Logo for Bikes for Refugees Scotland"
class="header__logo"
/>
</a>

<div>
<ul class="navigation__list">
<li class="navigation__item">
<a class="navigation__link" href="#">Home</a>
</li>
<li class="navigation__item">
<a class="navigation__link" href="#">About Us</a>
</li>
<li class="navigation__item">
<a class="navigation__link" href="#">News & Events</a>
</li>
<li class="navigation__item">
<a class="navigation__link" href="#">Contact Us</a>
</li>
</ul>
</div>

</div>
<button>Donate Now</button>
</header>

<div class="content">
<div class="main">
<div class="alert">
You've helped us give <span class="text-highlight">72</span> bikes
to refugees and asylum seekers so far. <strong>Thank you!</strong>
</div>
<main class="main">
<div class="alert">
You've helped us give <span class="text-highlight">72</span> bikes to
refugees and asylum seekers so far. <strong>Thank you!</strong>
</div>

<div class="hero">
<div class="hero">
<div class="hero-content">
<h1>Bikes for Refugees</h1>
<p>
Providing donated bikes and accessories to refugees and asylum
seekers in Scotland.
</p>
<button>Donate a bike today</button>
<button>Volunteer</button>
</div>

<div>
<h2 class="heading-underline">Learn more</h2>

<div>
<div class="article">
<h3 class="article__title">Why do refugees need bikes?</h3>
<p class="article__summary">
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.
</p>
<p class="article__read-more">
<a href="#">
<span class="arrow-right"></span>
Learn more
</a>
</p>
</div>

<div class="article">
<h3 class="article__title">How can I help?</h3>
<p class="article__summary">
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.
</p>
<p class="article__read-more">
<a href="#">
<span class="arrow-right"></span>
Learn more
</a>
</p>
</div>
</div>
<button id="button1">Donate a bike today</button>
<button id="button2">Volunteer</button>
</div>
</div>

<div class="sidebar">
<h2 class="heading-underline">Upcoming events</h2>

<div class="article">
<img
class="article__thumbnail"
src="spring-fundraisers_thumbnail.jpg"
alt=""
/>
<div class="article__content">
<h3 class="article__title">
<a class="article__title-link" href="#">Join us for our Spring fundraisers</a>
</h3>
<div>
<h2 class="heading-underline">Learn more</h2>

<div class="both-articles">
<article class="article article1">
<h3 class="article__title">Why do refugees need bikes?</h3>
<p class="article__summary">
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.
</p>
<p class="article__read-more">
<a href="#">
<span class="arrow-right"></span>
Learn more
</a>
</p>
</article>

<article class="article article2">
<h3 class="article__title">How can I help?</h3>
<p class="article__summary">
Riders needed now to help raise awareness and funds for BfR and
Médecins Sans Frontières.
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 onehdhdhd.
</p>
<p class="article__read-more">
<a href="#">
<span class="arrow-right"></span>
Learn more
</a>
</p>
</div>
</article>
</div>
</div>
</main>

<div class="article">
<img
class="article__thumbnail"
src="bikes-for-refugees_logo.jpg"
alt=""
/>
<div class="article__content">
<h3 class="article__title">
<a class="article__title-link" href="#">Bike dropoff event in Edinburgh on May 11</a>
</h3>
</div>
<aside class="sidebar">
<h2 class="heading-underline">Upcoming events</h2>

<div class="article">
<img
class="article__thumbnail"
src="images/spring-fundraisers_thumbnail.jpg"
alt="image of a cherry blossom"
/>
<div class="article__content">
<h3 class="article__title">
<a class="article__title-link" href="#"
>Join us for our Spring fundraisers</a
>
</h3>
<p class="article__summary">
Riders needed now to help raise awareness and funds for BfR and
Médecins Sans Frontières.
</p>
</div>
</div>

<div class="article">
<img
class="article__thumbnail"
src="edinburgh-damascus_thumbnail.png"
alt=""
/>
<div class="article__content">
<h3 class="article__title">
<a class="article__title-link" href="#">Help us cycle 4,797km</a>
</h3>
<p class="article__summary">
We need you to help us cycle 4797km, the distance of Edinburgh
to Damascus.
</p>
</div>
<div class="article">
<img class="article__thumbnail"
src="images/bikes-for-refugees_logo.jpg" alt=""Logo for Bikes for
Refugees Scotland"" />
<div class="article__content">
<h3 class="article__title">
<a class="article__title-link" href="#"
>Bike dropoff event in Edinburgh on May 11</a
>
</h3>
</div>
</div>

<a
href="https://www.facebook.com/BikesforRefugeesScotland/events/?ref=page_internal"
target="_blank"
class="facebook-link"
>
<span class="fa fa-facebook-square"></span>
All Facebook events
</a>
<div class="article">
<img class="article__thumbnail"
src=images/edinburgh-damascus_thumbnail.png alt="image of a road sign"
/>
<div class="article__content">
<h3 class="article__title">
<a class="article__title-link" href="#">Help us cycle 4,797km</a>
</h3>
<p class="article__summary">
We need you to help us cycle 4797km, the distance of Edinburgh to
Damascus.
</p>
</div>
</div>

<a
href="https://www.facebook.com/BikesforRefugeesScotland/events/?ref=page_internal"
target="_blank"
class="facebook-link"
>
<span class="fa fa-facebook-square"></span>
All Facebook events
</a>
</aside>
</div>

<div class="footer">
<footer class="footer">
<div class="footer__content">
<p>
<strong>Bikes for Refugees Scotland is a volunteer-led project to help
people explore and make connections with their local communities.</strong>
<strong
>Bikes for Refugees Scotland is a volunteer-led project to help
people explore and make connections with their local
communities.</strong
>
</p>
<p>Website by Code Your Future</p>
</div>
</div>
</footer>
</body>
</html>
45 changes: 43 additions & 2 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ p {
font-weight: 600;
text-transform: uppercase;
text-decoration: none;
padding: 1rem;
}

.navigation__link:hover{
color: #c05326;
}


Expand All @@ -95,8 +100,20 @@ p {

/* Buttons */

/* INSERT BUTTON STYLES HERE */
header button{
background-color: var(--orange-dark);
color: var(--grey-light);
border: none;
}

#button1{
color: var(--white);
background-color: var(--orange-dark);
}

#button2{
color: var(--orange-dark);
}

/* Content */

Expand All @@ -120,21 +137,35 @@ p {
/* hero */

.hero {
background-image: url("header-bike.jpg");
background-image: url("../images/header-bike.jpg");
background-color: var(--grey-light);
background-size: cover;
background-position: center;
min-height: 40vh;
width:80vh ;
text-align: left;
align-items: center;
display: flex;
padding: 2rem;
margin-bottom: 2rem;
}

.hero h1 {
margin-bottom: 1rem;
font-size: 2.5rem;
color: #e4e4e4;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this color is repeated in line 162. Consider using a common var instead, like in line 141

}

.hero p {
font-size: 1.2rem;
margin-bottom: 2rem;
color: #e4e4e4;
}





/* Headings */

.heading-underline {
Expand All @@ -161,8 +192,18 @@ p {

/* Article */

.both-articles{
display: flex;
}

.article {
margin-bottom: 1rem;
border-style: groove;
width: 50%;
}

.article1{
margin-right: 1rem;
}

.article__title {
Expand Down