Skip to content

Commit

Permalink
email link float update
Browse files Browse the repository at this point in the history
  • Loading branch information
PrateekChand28 committed Jul 26, 2024
1 parent 939c674 commit bfedb99
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
16 changes: 12 additions & 4 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -2194,7 +2194,7 @@ input, select, textarea {
background: #fff;
border-radius: 10px;
width: 50%;
box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.1);
box-shadow: 0px 10px 15px 0px rgba(0, 0, 0, 0.1);
}

.timeline-item::after {
Expand Down Expand Up @@ -2243,15 +2243,23 @@ input, select, textarea {
margin: 0.5em 0 0;
color: #000000;
}

.timeline-item:hover {
background: #ffffff;
transform: translateY(-5px);
}

/* Link styling */
.float-link {
text-decoration: none; /* Remove underline */
transition: transform 0.3s ease-in-out, color 0.3s ease-in-out; /* Smooth transition */
display: inline-block; /* Ensure the link behaves like a block for the transform effect */
}



.float-link:hover {
color: #3BA8D3; /* Darken color on hover */
transform: translateY(-5px); /* Move up by 5px on hover */
}


/* Copyright */
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ <h3>Titanic Data Set</h3>
<div>
<article id="contact">
<footer>
<p>Feel Free To Reach Out @ <a href="mailto:prateekchand208l@gmail.com"> <strong>prateekchand208@gmail.com</strong></a></p>
<p>Feel Free To Reach Out @ <a href="mailto:prateekchand208l@gmail.com"> <strong class="float-link">prateekchand208@gmail.com</strong></a></p>
<a href="#home" class="button small scrolly"> Back To Top</a>
</footer>

Expand Down

0 comments on commit bfedb99

Please sign in to comment.