Skip to content

Commit

Permalink
home responsiveness
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin-Biv committed Dec 2, 2024
1 parent 018edf6 commit d7a8e1b
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/styles/Home.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
padding: 15px 20px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
border: 1px solid #dddddd;
margin-bottom: 20px;
}

.heading {
Expand All @@ -34,10 +35,12 @@
}

.image {
width: 462px;
height: 288px;
width: 100%;
max-width: 462px;
height: auto;
max-height: 288px;
border-radius: 0.5rem;
object-fit: contain; /* Scale the image */
object-fit: contain;
background-color: #f8f8f8;
}

Expand Down Expand Up @@ -139,6 +142,10 @@ ol li:hover {
.section-title {
padding: 2%;
}

.donateMessage {
font-size: 20px;
}
}

.home-page p {
Expand Down

0 comments on commit d7a8e1b

Please sign in to comment.