Skip to content

Commit

Permalink
Merge pull request #902 from Aanyaa26/main
Browse files Browse the repository at this point in the history
Added hover effect to buttons and matched button colors
  • Loading branch information
PriyaGhosal authored Oct 31, 2024
2 parents 8d84410 + 15b402c commit e1dcab8
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -296,3 +296,40 @@
.content {
padding: 2rem;
}
/* Style for E-book button */
.E-book-button {
display: inline-block;
padding: 10px 20px;
color: #fff;
background-color: #ff6f91; /* Precise pink color */
text-decoration: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease, color 0.3s ease;
}

.E-book-button a {
color: inherit;
text-decoration: none;
}

.E-book-button:hover {
background-color: #e91e63; /* Darker pink for hover */
color: #fff;
}

/* Style for Feedback button */
#feedbackButton {
display: inline-block;
padding: 10px 20px;
color: #fff;
background-color: #ff6f91; /* Matching pink color */
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease, color 0.3s ease;
}

#feedbackButton:hover {
background-color: #e91e63; /* Darker pink for hover */
color: #fff;
}

0 comments on commit e1dcab8

Please sign in to comment.