Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NW6 / Nichole Arabi |/ HTML-CSS / Week-1 #473

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
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
62 changes: 31 additions & 31 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@
</head>

<body>
<div class="header">
<header class="header">

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

<div>
<nav>
<ul class="navigation__list">
<li class="navigation__item">
<a class="navigation__link" href="#">Home</a>
Expand All @@ -45,34 +45,34 @@
<a class="navigation__link" href="#">Contact Us</a>
</li>
</ul>
</div>
</nav>

<button>Donate Now</button>
<button class="orange-btn">Donate Now</button>

</div>
</header>

<div class="content">
<div class="main">
<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">
<section class="hero">
<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>
<button class="orange-btn">Donate a bike today</button>
<button class="white-btn">Volunteer</button>
</section>

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

<div>
<div class="article">
<div class="article-sec-one">
<article 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
Expand All @@ -85,9 +85,9 @@ <h3 class="article__title">Why do refugees need bikes?</h3>
Learn more
</a>
</p>
</div>
</article>

<div class="article">
<article 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
Expand All @@ -100,19 +100,19 @@ <h3 class="article__title">How can I help?</h3>
Learn more
</a>
</p>
</div>
</article>
</div>
</div>
</div>
</main>

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

<div class="article">
<article class="article">
<img
class="article__thumbnail"
src="spring-fundraisers_thumbnail.jpg"
alt=""
src="./images/spring-fundraisers_thumbnail.jpg"
alt="spring-fundraisers logo"
/>
<div class="article__content">
<h3 class="article__title">
Expand All @@ -123,26 +123,26 @@ <h3 class="article__title">
Médecins Sans Frontières.
</p>
</div>
</div>
</article>

<div class="article">
<article class="article">
<img
class="article__thumbnail"
src="bikes-for-refugees_logo.jpg"
alt=""
src="./images/bikes-for-refugees_logo.jpg"
alt="bikes-for-refugees logo"
/>
<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>
</article>

<div class="article">
<article class="article">
<img
class="article__thumbnail"
src="edinburgh-damascus_thumbnail.png"
alt=""
src="./images/edinburgh-damascus_thumbnail.png"
alt="edinburgh-damascus sign"
/>
<div class="article__content">
<h3 class="article__title">
Expand All @@ -153,7 +153,7 @@ <h3 class="article__title">
to Damascus.
</p>
</div>
</div>
</article>

<a
href="https://www.facebook.com/BikesforRefugeesScotland/events/?ref=page_internal"
Expand All @@ -166,14 +166,14 @@ <h3 class="article__title">
</div>
</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>
</p>
<p>Website by Code Your Future</p>
</div>
</div>
</footer>
</body>
</html>
31 changes: 28 additions & 3 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ p {
}

.navigation__item {
padding: 0.5rem 0;
padding: 10px;
}

.navigation__link {
Expand Down Expand Up @@ -96,6 +96,20 @@ p {
/* Buttons */

/* INSERT BUTTON STYLES HERE */
.orange-btn{
background-color: #c05326;
color: white;
padding: 5px;
border: none;
border-radius: 5px;
}
.white-btn{
background-color: white;
color: #c05326;
padding: 5px;
border: none;
border-radius: 5px;
}


/* Content */
Expand All @@ -120,8 +134,12 @@ p {
/* hero */

.hero {
background-image: url("header-bike.jpg");
background-image: url("../images/header-bike.jpg");
background-color: var(--grey-light);
height: 250px;
color: #fff;
margin-bottom: 30px;
padding: 70px 20px 10px 20px;
}

.hero h1 {
Expand All @@ -133,7 +151,10 @@ p {
font-size: 1.2rem;
margin-bottom: 2rem;
}

.article-sec-one{
display: flex;
gap: 10px;
}

/* Headings */

Expand Down Expand Up @@ -162,7 +183,11 @@ p {
/* Article */

.article {
display: flex;
margin-bottom: 1rem;
border:#292b2c 1px solid;
padding: 10px;

}

.article__title {
Expand Down