styling for about section

This commit is contained in:
2026-05-04 15:20:04 -04:00
parent 56b939eb02
commit 758ce3eda1
2 changed files with 87 additions and 50 deletions
+71 -35
View File
@@ -21,53 +21,89 @@
}
/* ─────────────────────────── */
.experience-container {
/* ── Experience cards ── */
.experience-cards {
max-width: 820px;
margin: 40px auto 0;
display: flex;
flex-direction: column;
gap: 10px;
max-width: 600px;
margin: 0 auto;
text-align: justify;
gap: 20px;
}
.experience-item {
background: #d72f2f;
padding: 10px;
border-radius: 5px;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
.exp-card {
background: #fff;
border-radius: 14px;
border: 1px solid rgba(0, 0, 0, 0.08);
border-top: 4px solid #000;
padding: 28px 32px;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.experience-item ul {
list-style: none;
padding: 0;
.exp-card:hover {
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
transform: translateY(-3px);
}
.exp-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 16px;
}
.exp-title-group {
display: flex;
flex-direction: column;
gap: 5px;
}
.exp-role {
font-size: 19px;
font-weight: 700;
color: #000;
margin: 0;
}
.experience-item li {
padding: 5px 0;
font-size: 16px;
.exp-company {
font-size: 12px;
font-weight: 600;
color: #888;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.exp-duration {
font-size: 12px;
font-weight: 500;
color: #333;
color: #fff;
background: #000;
padding: 5px 14px;
border-radius: 100px;
white-space: nowrap;
flex-shrink: 0;
}
.experience-item .title {
font-weight: bold;
font-size: 18px;
color: #007bff;
.exp-divider {
border: none;
border-top: 1px solid rgba(0, 0, 0, 0.08);
margin: 18px 0;
}
.experience-item .company {
font-style: italic;
color: #555;
}
.experience-item .duration {
color: #777;
font-size: 14px;
}
.experience-item .description {
color: #444;
.exp-description {
font-size: 15px;
margin-top: 5px;
}
line-height: 1.8;
color: #555;
margin: 0;
}
@media (max-width: 640px) {
.exp-card {
padding: 22px 20px;
}
.exp-header {
flex-direction: column;
gap: 10px;
}
}
/* ───────────────────── */