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
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ <h2 class="heading-underline">Upcoming events</h2>
<div class="article">
<img
class="article__thumbnail"
src="spring-fundraisers_thumbnail.jpg"
src="images/spring-fundraisers_thumbnail.jpg"
alt=""
/>
<div class="article__content">
Expand All @@ -128,7 +128,7 @@ <h3 class="article__title">
<div class="article">
<img
class="article__thumbnail"
src="bikes-for-refugees_logo.jpg"
src="images/bikes-for-refugees_logo.jpg"
alt=""
/>
<div class="article__content">
Expand All @@ -141,7 +141,7 @@ <h3 class="article__title">
<div class="article">
<img
class="article__thumbnail"
src="edinburgh-damascus_thumbnail.png"
src="images/edinburgh-damascus_thumbnail.png"
alt=""
/>
<div class="article__content">
Expand Down
37 changes: 35 additions & 2 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,11 @@ p {

/* Navigation */


.navigation__list {
display: flex;
list-style: none;
gap: 2rem; /* Define separation */
/*list-style: none; */
}

.navigation__item {
Expand Down Expand Up @@ -96,7 +98,23 @@ p {
/* Buttons */

/* INSERT BUTTON STYLES HERE */
button {
border: none;
padding: 0.75rem 1.2rem;
font-weight: 600;
border-radius: 4px;
}

.hero button:first-of-type,
.header button {
background: var(--orange-dark);
color: var(--white);
}

.hero button:last-of-type {
background: var(--white);
color: var(--orange-dark);
}

/* Content */

Expand All @@ -120,8 +138,14 @@ p {
/* hero */

.hero {
background-image: url("header-bike.jpg");
background-image: url("../images/header-bike.jpg");
background-color: var(--grey-light);

/* Changes added */
background-size: cover;
background-position: center;
padding: 4rem 2rem;
color: var(--white);
}

.hero h1 {
Expand Down Expand Up @@ -219,6 +243,15 @@ p {
min-width: 350px;
}

/* sidebar improvement */
.sidebar .article {
display: flex;
gap: 1rem;
align-items: flex-start;
border: 1px solid var(--grey-light);
padding: 1rem;
border-radius: 4px;
}
/* Footer */

.footer {
Expand Down