Skip to content

Commit e1dcab8

Browse files
authored
Merge pull request #902 from Aanyaa26/main
Added hover effect to buttons and matched button colors
2 parents 8d84410 + 15b402c commit e1dcab8

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

style.css

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,3 +296,40 @@
296296
.content {
297297
padding: 2rem;
298298
}
299+
/* Style for E-book button */
300+
.E-book-button {
301+
display: inline-block;
302+
padding: 10px 20px;
303+
color: #fff;
304+
background-color: #ff6f91; /* Precise pink color */
305+
text-decoration: none;
306+
border-radius: 5px;
307+
cursor: pointer;
308+
transition: background-color 0.3s ease, color 0.3s ease;
309+
}
310+
311+
.E-book-button a {
312+
color: inherit;
313+
text-decoration: none;
314+
}
315+
316+
.E-book-button:hover {
317+
background-color: #e91e63; /* Darker pink for hover */
318+
color: #fff;
319+
}
320+
321+
/* Style for Feedback button */
322+
#feedbackButton {
323+
display: inline-block;
324+
padding: 10px 20px;
325+
color: #fff;
326+
background-color: #ff6f91; /* Matching pink color */
327+
border-radius: 5px;
328+
cursor: pointer;
329+
transition: background-color 0.3s ease, color 0.3s ease;
330+
}
331+
332+
#feedbackButton:hover {
333+
background-color: #e91e63; /* Darker pink for hover */
334+
color: #fff;
335+
}

0 commit comments

Comments
 (0)