Skip to content

Commit

Permalink
Refactor CSS styles for improved layout and responsiveness; adjust ma…
Browse files Browse the repository at this point in the history
…x-width, padding, and z-index properties
  • Loading branch information
Mayen007 committed Jan 15, 2025
1 parent 23f4945 commit f6b1502
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions static/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ footer .social-links a {
padding: 1.2rem 1rem;
background-color: var(--background-color);
text-align: center;
max-width: 800px;
max-width: 900px;
margin: auto;
}

Expand Down Expand Up @@ -621,6 +621,7 @@ footer .social-links a {

/* Left Column - Image */
.team-card-left {
align-items: stretch;
flex: 1;
}

Expand Down Expand Up @@ -677,7 +678,7 @@ footer .social-links a {

/* Journey Section */
.about-journey {
padding: 2rem 0;
padding: 2rem 1rem;
background-color: var(--background-color);
}

Expand Down Expand Up @@ -709,17 +710,16 @@ footer .social-links a {
margin: 0 auto;
}

/* Vertical Timeline Line */
.timeline::before {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 50%;
width: 2px;
width: 3px;
background-color: var(--button-bg);
transform: translateX(-50%);
z-index: 1;
/* z-index: 1; */
}

/* Timeline Event Styling */
Expand Down Expand Up @@ -753,7 +753,7 @@ footer .social-links a {
justify-content: center;
position: absolute;
top: 0;
z-index: 2;
z-index: 1;
}

.timeline-event.left .timeline-icon {
Expand Down Expand Up @@ -891,7 +891,7 @@ footer .social-links a {
}

.timeline::before {
left: 20px;
left: 2%;
}

.timeline-event {
Expand All @@ -908,6 +908,7 @@ footer .social-links a {

.timeline-icon {
left: 5px;
z-index: 1;
}

.timeline-content {
Expand Down

0 comments on commit f6b1502

Please sign in to comment.