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

London 10 || Hussein Bahdon || bikes-for-refugees #486

Open
wants to merge 1 commit 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
9 changes: 6 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,17 @@ <h1>Bikes for Refugees</h1>
Providing donated bikes and accessories to refugees and asylum
seekers in Scotland.
</p>
<button>Donate a bike today</button>
<button>Volunteer</button>
<div class="heroButton">
<button class="donateButton">Donate a bike today</button>
<button class="VolunteerButton">Volunteer</button>
</div>

</div>

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

<div>
<div class="article-content">
<div class="article">
<h3 class="article__title">Why do refugees need bikes?</h3>
<p class="article__summary">
Expand Down
44 changes: 40 additions & 4 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ button {
font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
color: var(--grey-dark);
font-size: 1rem;

}

h1,h2,h3,h4,h5,h6 {
Expand Down Expand Up @@ -63,10 +64,11 @@ p {
.navigation__list {
display: flex;
list-style: none;
padding: 0 3px;
}

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

.navigation__link {
Expand Down Expand Up @@ -94,8 +96,12 @@ p {


/* Buttons */

/* INSERT BUTTON STYLES HERE */
.header button {
background-color: #c05326;
color: white;
border: none;
padding: 7px 7px;
}


/* Content */
Expand All @@ -120,18 +126,48 @@ p {
/* hero */

.hero {
background-image: url("header-bike.jpg");
background-image: url("../images/header-bike.jpg");
background-color: var(--grey-light);
height: 66%;
width: 94%;
background-repeat: no-repeat;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
}

.hero h1 {
margin-bottom: 1rem;
font-size: 2.5rem;
color: white;
}

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

.heroButton {
display: flex;
flex-direction: row;
}

.hero button {
border: none;
margin: 0 14px;
padding: 7px 5px;;
}

.donateButton{
background-color: #c05326;
color: white;
}
.VolunteerButton {
background-color: white;
color: #c05326;

}


Expand Down