Skip to content

Commit

Permalink
Merge pull request #2574 from isimarjitsingh/main
Browse files Browse the repository at this point in the history
ENHANCEMENT NEEDED IN "Career Roadmap" SECTION #2548
  • Loading branch information
sampadatiwari30 authored Nov 1, 2024
2 parents 0d22f0b + 30f5c14 commit dad5519
Show file tree
Hide file tree
Showing 2 changed files with 100 additions and 43 deletions.
Binary file added assets/images/roadmap.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
143 changes: 100 additions & 43 deletions careers.html
Original file line number Diff line number Diff line change
Expand Up @@ -924,6 +924,7 @@ <h2>Jobs in Finance</h2>


<main>
<img style="position: absolute;left: 900px; top: 1200px;mix-blend-mode: multiply;" src="assets/images/roadmap.jpg" alt="roadmap">
<section class="roadmap">
<h2 class="h2">Career Roadmap 🛣️</h2>
<div class="roadmap-step">
Expand All @@ -948,84 +949,140 @@ <h2 class="h2">Career Roadmap 🛣️</h2>
</div>
</section>
<style>
.roadmap {
border: 10px solid white;
background: linear-gradient(135deg, #a492c5, #b39ddb); /* Gradient background for parent */
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
transition: background 0.5s ease;
/* Container styling */
.roadmap {
padding: 2rem;
background: linear-gradient(135deg, #e0f7fa, #e8f5e9);
border-radius: 12px;
max-width: 800px;
margin: 0 auto;
overflow: hidden;
position: relative;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.h2 {
font-weight: bolder;
font-size: 2.5rem;
/* Decorative gradient bubbles */
.roadmap::before, .roadmap::after {
content: '';
position: absolute;
border-radius: 50%;
opacity: 0.4;
pointer-events: none;
animation: float 6s ease-in-out infinite;
}

.roadmap::before {
width: 200px;
height: 200px;
background: radial-gradient(circle, #ffcc80, #ff7043);
top: -40px;
left: -40px;
animation-delay: 0s;
}

.roadmap::after {
width: 250px;
height: 250px;
background: radial-gradient(circle, #81d4fa, #039be5);
bottom: -60px;
right: -60px;
animation-delay: 2s;
}

/* Header styling */
.roadmap .h2 {
font-size: 2rem;
font-weight: 600;
color: #2c3e50;
text-align: center;
color: #fefeff; /* Dark purple color for main heading */
margin: 40px 0;
margin-bottom: 1.5rem;
background: -webkit-linear-gradient(45deg, #2ecc71, #3498db);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

/* Roadmap step container with interactive gradient */
.roadmap-step {
background: linear-gradient(135deg, #98d1e3, #eeedeb); /* Light orange gradient */
padding: 1.5rem;
background: linear-gradient(135deg, #ffffff, #e0f7fa);
border-left: 5px solid #2ecc71;
border-radius: 8px;
padding: 15px;
margin: 10px 0;
margin-bottom: 1.5rem;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
transition: transform 0.3s, background 0.3s;
position: relative;
overflow: hidden;
transition: transform 0.3s, box-shadow 0.3s;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.roadmap-step:hover {
transform: translateY(-5px);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
background: linear-gradient(135deg, #e0f7fa, #81d4fa);
transform: scale(1.03);
}

.roadmap-title {
font-weight: bold;
color: #090909; /* Attractive orange-red color for headings */
font-size: 1.5em;
position: relative;
.roadmap-step:hover::before {
transform: scale(1.2);
}

.roadmap-title::after {
content: "";
display: block;
width: 100%;
height: 4px;
background: linear-gradient(90deg, #eac6bc, #fffaf5); /* Gradient underline */
/* Adding a subtle glowing effect */
.roadmap-step::before {
content: '';
position: absolute;
bottom: -8px;
top: 0;
left: 0;
transition: width 0.4s;
width: 100%;
height: 100%;
background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
opacity: 0.6;
transition: transform 0.5s ease-in-out;
}

.roadmap-title:hover::after {
width: 100%;
/* Roadmap title styling */
.roadmap-title {
font-size: 1.25rem;
font-weight: 700;
color: #388e3c;
margin-bottom: 0.5rem;
}

/* Paragraph styling */
.roadmap-step p {
color: #555; /* Dark gray for text */
margin: 10px 0 0;
transition: color 0.3s;
font-size: 1rem;
color: #2c3e50;
line-height: 1.6;
margin: 0;
}

.roadmap-step:hover p {
color: #4b464a; /* Darker gray on hover */
/* Floating animation */
@keyframes float {
0% {
transform: translateY(0);
}
50% {
transform: translateY(-15px);
}
100% {
transform: translateY(0);
}
}

/* Optional media query for responsiveness */
@media (max-width: 600px) {
/* Responsive adjustments */
@media (max-width: 768px) {
.roadmap {
padding: 15px;
padding: 1.5rem;
}

.roadmap .h2 {
font-size: 1.75rem;
}

.roadmap-step {
padding: 10px;
padding: 1.2rem;
}
}

</style>


</main>

<section class="books-section">
Expand Down

0 comments on commit dad5519

Please sign in to comment.