chore: create initial project snapshot
Capture the portfolio source, design references, and production assets with repository-specific ignore rules.
This commit is contained in:
222
src/components/ProjectsSection.module.css
Normal file
222
src/components/ProjectsSection.module.css
Normal file
@@ -0,0 +1,222 @@
|
||||
.projectsSection {
|
||||
position: relative;
|
||||
width: 1440px;
|
||||
padding-top: 60px;
|
||||
padding-bottom: 80px;
|
||||
}
|
||||
|
||||
.headerRow {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-end;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
.controls {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.counter {
|
||||
font-size: var(--font-size-body-large);
|
||||
font-weight: 500;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.counterActive {
|
||||
font-weight: 700;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.counterDivider {
|
||||
margin: 0 4px;
|
||||
}
|
||||
|
||||
.arrowButtons {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.navButton {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: var(--size-icon-button);
|
||||
height: var(--size-icon-button);
|
||||
border-radius: 50%;
|
||||
border: 1px solid var(--border-default);
|
||||
background: var(--bg-surface);
|
||||
color: var(--text-primary);
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.navButton:hover:not(:disabled) {
|
||||
border-color: var(--accent-default);
|
||||
background: var(--bg-subtle);
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.navButton:disabled {
|
||||
opacity: 0.35;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.carouselViewport {
|
||||
width: 1320px;
|
||||
overflow: visible;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.carouselTrack {
|
||||
display: flex;
|
||||
gap: 24px;
|
||||
transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1);
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
.card {
|
||||
flex: 0 0 360px;
|
||||
width: 360px;
|
||||
background-color: var(--bg-surface);
|
||||
border: 1px solid var(--border-default);
|
||||
border-radius: var(--radius-lg);
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
box-shadow: 0 4px 16px var(--shadow-color);
|
||||
transition: all 0.25s ease;
|
||||
}
|
||||
|
||||
.card:hover {
|
||||
border-color: var(--accent-default);
|
||||
transform: translateY(-4px);
|
||||
box-shadow: 0 12px 28px var(--shadow-color);
|
||||
}
|
||||
|
||||
.mediaContainer {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: var(--size-project-media-height);
|
||||
overflow: hidden;
|
||||
background-color: #0c1a3a;
|
||||
}
|
||||
|
||||
.projectImage {
|
||||
object-fit: cover;
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.card:hover .projectImage {
|
||||
transform: scale(1.03);
|
||||
}
|
||||
|
||||
.cardBody {
|
||||
padding: 24px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.cardTitleRow {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.cardTitle {
|
||||
font-size: var(--font-size-h3);
|
||||
line-height: var(--line-height-h3);
|
||||
font-weight: 700;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.linkIcon {
|
||||
color: var(--accent-default);
|
||||
}
|
||||
|
||||
.cardDate {
|
||||
font-size: var(--font-size-label-small);
|
||||
line-height: var(--line-height-label-small);
|
||||
font-weight: 700;
|
||||
letter-spacing: var(--letter-spacing-eyebrow);
|
||||
color: var(--text-muted);
|
||||
text-transform: uppercase;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.cardDesc {
|
||||
font-size: var(--font-size-body-small);
|
||||
line-height: var(--line-height-body-small);
|
||||
color: var(--text-secondary);
|
||||
margin-bottom: 20px;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 4;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.tagList {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.tagBadge {
|
||||
padding: 4px 12px;
|
||||
border-radius: var(--radius-pill);
|
||||
background-color: var(--bg-subtle);
|
||||
color: var(--action-link);
|
||||
font-size: var(--font-size-label-small);
|
||||
line-height: var(--line-height-label-small);
|
||||
font-weight: 600;
|
||||
border: 1px solid var(--border-default);
|
||||
}
|
||||
|
||||
.cardFooter {
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
.caseStudyLink {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: var(--font-size-body-small);
|
||||
font-weight: 600;
|
||||
color: var(--action-link);
|
||||
transition: gap 0.2s ease;
|
||||
}
|
||||
|
||||
.caseStudyLink:hover {
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.arrowIcon {
|
||||
font-size: 16px;
|
||||
transition: transform 0.2s ease;
|
||||
}
|
||||
|
||||
.progressTrackWrapper {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-top: 48px;
|
||||
}
|
||||
|
||||
.progressTrack {
|
||||
width: 480px;
|
||||
height: 4px;
|
||||
background-color: var(--border-default);
|
||||
border-radius: var(--radius-pill);
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.progressBar {
|
||||
height: 100%;
|
||||
background-color: var(--accent-default);
|
||||
border-radius: var(--radius-pill);
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
Reference in New Issue
Block a user