148 lines
2.7 KiB
CSS
148 lines
2.7 KiB
CSS
.milestonesSection {
|
|
position: relative;
|
|
width: 100%;
|
|
padding-top: 40px;
|
|
padding-bottom: 80px;
|
|
}
|
|
|
|
.cardsList {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
}
|
|
|
|
.certCard {
|
|
width: 100%;
|
|
background-color: transparent;
|
|
border: 1px solid var(--border-default);
|
|
border-radius: var(--radius-lg);
|
|
padding: 24px 32px;
|
|
display: flex;
|
|
gap: 36px;
|
|
transition:
|
|
border-color var(--motion-duration-fast) ease,
|
|
transform var(--motion-duration-default) var(--motion-ease-out);
|
|
position: relative;
|
|
}
|
|
|
|
.thumbnailContainer {
|
|
position: relative;
|
|
width: 264px;
|
|
height: 192px;
|
|
flex-shrink: 0;
|
|
border-radius: var(--radius-sm);
|
|
overflow: hidden;
|
|
border: 1px solid var(--border-default);
|
|
background-color: #f3f4f6;
|
|
}
|
|
|
|
.certImage {
|
|
object-fit: cover;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.certDetails {
|
|
flex-grow: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: relative;
|
|
}
|
|
|
|
.titleRow {
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.certTitle {
|
|
font-size: var(--font-size-h3);
|
|
line-height: var(--line-height-h3);
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.issuerRow {
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.issuerText {
|
|
font-size: var(--font-size-body-small);
|
|
line-height: var(--line-height-body-small);
|
|
color: var(--text-secondary);
|
|
font-weight: 600;
|
|
letter-spacing: 0.08em;
|
|
}
|
|
|
|
.dateBadge {
|
|
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: 12px;
|
|
}
|
|
|
|
.description {
|
|
font-size: var(--font-size-body-small);
|
|
line-height: var(--line-height-body-small);
|
|
color: var(--text-secondary);
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.actionRow {
|
|
margin-top: auto;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.viewCertLink {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: var(--font-size-body-default);
|
|
font-weight: 600;
|
|
color: var(--action-link);
|
|
transition: gap 0.2s ease;
|
|
}
|
|
|
|
[data-theme="dark"] .certCard {
|
|
background-color: var(--bg-surface);
|
|
}
|
|
|
|
@media (max-width: 760px) {
|
|
.milestonesSection {
|
|
padding-top: var(--space-8);
|
|
padding-bottom: var(--space-9);
|
|
}
|
|
|
|
.certCard {
|
|
flex-direction: column;
|
|
gap: var(--space-5);
|
|
padding: var(--space-5);
|
|
}
|
|
|
|
.thumbnailContainer {
|
|
width: 100%;
|
|
height: auto;
|
|
aspect-ratio: 11 / 8;
|
|
}
|
|
|
|
.actionRow {
|
|
justify-content: flex-start;
|
|
}
|
|
}
|
|
|
|
@media (hover: hover) and (pointer: fine) {
|
|
.certCard:hover {
|
|
border-color: var(--accent-default);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.certCard:hover .certImage {
|
|
transform: scale(1.02);
|
|
}
|
|
|
|
.viewCertLink:hover {
|
|
gap: 10px;
|
|
}
|
|
}
|