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

Improved Hover Effect on Career Page #2070

Merged
merged 1 commit into from
Oct 26, 2024
Merged
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
121 changes: 103 additions & 18 deletions careers.html
Original file line number Diff line number Diff line change
Expand Up @@ -385,12 +385,14 @@
<a class="page-scroll" href="./faq.html" style="color: rgb(237, 242, 244);">Help 🙋‍♂️</a>
</li>
<li class="nav-item no-underline">
<a class="main-btn navbar-btn" style="padding: 2px 20px; color: rgb(237, 242, 244);animation-duration: 0.4s;animation-name: ease;" data-scroll-nav="0" href="./loginPage.html" >Login/Register 💻</a>
<a class="main-btn navbar-btn"
style="padding: 2px 20px; color: rgb(237, 242, 244);animation-duration: 0.4s;animation-name: ease;"
data-scroll-nav="0" href="./loginPage.html">Login/Register 💻</a>
</li>
<li class="nav-item no-underline">
<button id="theme-toggle" class="theme-toggle" style="margin-right: 2px;">
🌙
</button>
<button id="theme-toggle" class="theme-toggle" style="margin-right: 2px;">
🌙
</button>
</li>
</ul>
</div>
Expand Down Expand Up @@ -741,7 +743,7 @@ <h2>Jobs in Finance</h2>

<main>
<section class="roadmap">
<h2>Career Roadmap</h2>
<h2>Career Roadmap 🛣️</h2>
<div class="roadmap-step">
<div class="roadmap-title">Step 1: Pursue a Relevant Degree</div>
<p>Consider obtaining a degree in finance, accounting, economics, or business administration.</p>
Expand Down Expand Up @@ -801,7 +803,7 @@ <h2>Recommended Books on Finance</h2>
align-items: center;
margin: 20px;
padding: 20px;
background: #ffffff;
background: linear-gradient(145deg, #f0f4ff, #ffffff);
border-radius: 8px;

box-shadow: 0 2px 16px 10px rgba(255, 255, 255, 0.4);
Expand All @@ -819,12 +821,14 @@ <h2>Recommended Books on Finance</h2>
.books-list li {

background: #a5cff9;
border-radius: 5px;
border-radius: 30px;
margin: 10px 0;
padding: 15px;
padding: 20px;
display: flex;
align-items: center;
transition: background 0.3s;
transition: transform 0.3s, background 0.3s;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
position: relative;
}

li {
Expand All @@ -834,14 +838,42 @@ <h2>Recommended Books on Finance</h2>
}

.books-list li:hover {
background: #d4d4d4;
background: #69adf2;
transform: translateY(-5px);
}

.emoji {
font-size: 1.5em;
margin-right: 15px;
animation: pop 0.6s ease-in-out forwards;
/* Adjust the size of the emoji */
}

/* Pop Animation */
@keyframes pop {
0% {
transform: scale(0.5);
opacity: 0;
}

100% {
transform: scale(1);
opacity: 1;
}
}

/* Responsive Design */
@media (max-width: 768px) {
.book-item {
flex-direction: column;
text-align: center;
}

.emoji {
margin-bottom: 10px;
}
}

body {
font-family: Arial, sans-serif;
line-height: 1.6;
Expand Down Expand Up @@ -874,6 +906,8 @@ <h2>Recommended Books on Finance</h2>
border-radius: 1rem;
width: 65vw;
box-shadow: 0 5px 10px 12px rgba(255, 255, 255, 0.4);
background: linear-gradient(145deg, #ffffff, #f0f4ff);
overflow: hidden;
}

.roadmap h2 {
Expand All @@ -882,17 +916,20 @@ <h2>Recommended Books on Finance</h2>

.roadmap-step {

background: #a5cff9;
border: 1px solid #ddd;
padding: 15px;
border-radius: 5px;
background: white;
border: 1px solid #e0e4f1;
padding: 20px;
border-radius: 30px;
margin: 10px 0;
position: relative;
width: 80%;
width: 85%;
transition: all 0.3s ease;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.roadmap-step:hover {
background: #d4d4d4;
transform: translateY(-5px) scale(1.02);
background: linear-gradient(135deg, #d3e0ff, #b8d6f7);
}

.roadmap-step::before {
Expand All @@ -901,8 +938,10 @@ <h2>Recommended Books on Finance</h2>
left: 50%;
top: 89px;
transform: translateX(-50%);
border: 10px solid transparent;
border-bottom-color: #007bff;
border: 15px solid transparent;
border-bottom-color: #0056b3;
opacity: 0.5;
transition: opacity 0.3s ease;
}

.roadmap-step:last-child::before {
Expand All @@ -913,6 +952,47 @@ <h2>Recommended Books on Finance</h2>
.roadmap-title {
font-size: 1.5em;
color: #007bff;
margin-left: 20px;
}

.roadmap-step>p {
margin-left: 20px;
}

/* Animated Icons */
.roadmap-icon {
font-size: 2.5em;
margin-right: 15px;
animation: pop 0.6s ease-in-out forwards;
}

/* Keyframe Animation */
@keyframes pop {
0% {
transform: scale(0.5);
opacity: 0;
}

100% {
transform: scale(1);
opacity: 1;
}
}

/* Responsive Design */
@media (max-width: 768px) {
.roadmap-step {
flex-direction: column;
text-align: center;
}

.roadmap-title {
margin-left: 0;
}

.roadmap-icon {
margin-bottom: 10px;
}
}

/* footer {
Expand Down Expand Up @@ -969,6 +1049,11 @@ <h2>Recommended Books on Finance</h2>
color: white;
}

.jobs-table th:hover {
background: #f05d34;
color: white;
}

.table-container {
width: 100%;
overflow-x: auto;
Expand Down
Loading