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

Added hover effect #557

Closed
wants to merge 1 commit into from
Closed
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
21 changes: 11 additions & 10 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1023,6 +1023,11 @@ body.dark-mode {
max-width: calc(33% - 40px);
text-align: center;
}
.itinerary:hover {
color: white; /* Change color on hover */
transform: scale(1.1); /* Slightly increase size on hover */
text-decoration: underline;
}

.itinerary h3 {
font-size: 2em;
Expand All @@ -1047,7 +1052,6 @@ body.dark-mode {
transition: background-color 0.3s;
margin-bottom: 15px;
}

.itinerary button:hover {
background-color: #0056b3;
}
Expand Down Expand Up @@ -1794,18 +1798,15 @@ justify-content: center;
}

.navhover {
text-decoration: none;
color: black;
font-size: 18px;
display: inline-block;
padding: 10px 15px; /* Adds padding around the text */
border-radius: 20px; /* Creates rounded corners */
transition: background-color 0.3s, color 0.3s; /* Smooth transition */
color: #d3d3d3; /* Default color */
text-decoration: none; /* Remove underline */
transition: color 0.3s ease, transform 0.3s ease; /* Smooth transition */
}

.navhover:hover {
border: 1px solid #3498db;
color: white; /* Changes text color on hover */
color: white; /* Change color on hover */
transform: scale(1.1); /* Slightly increase size on hover */
text-decoration: underline; /* Add underline on hover */
}

#social-icons {
Expand Down