130 lines
2.5 KiB
CSS
130 lines
2.5 KiB
CSS
.educationSection {
|
|
position: relative;
|
|
width: 100%;
|
|
padding-top: 3.75rem;
|
|
padding-bottom: 2rem;
|
|
}
|
|
|
|
.card {
|
|
width: 100%;
|
|
background-color: var(--bg-raised);
|
|
border: 1px solid var(--border-default);
|
|
border-radius: var(--radius-lg);
|
|
padding: 2rem 2.5rem;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 2.25rem;
|
|
transition:
|
|
border-color var(--motion-duration-fast) ease,
|
|
transform var(--motion-duration-default) var(--motion-ease-out);
|
|
box-shadow: 0 0.75rem 2.5rem var(--shadow-color);
|
|
}
|
|
|
|
.crestCol {
|
|
width: 16.5rem;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.crestContainer {
|
|
width: 16.5rem;
|
|
height: 12rem;
|
|
overflow: hidden;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.crestImage {
|
|
object-fit: contain;
|
|
object-position: left top;
|
|
width: 100%;
|
|
height: 100%;
|
|
transition: transform var(--motion-duration-default) var(--motion-ease-out);
|
|
}
|
|
|
|
.institution {
|
|
font-size: var(--font-size-body-small);
|
|
line-height: var(--line-height-body-small);
|
|
font-weight: 600;
|
|
letter-spacing: 0.08em;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 0.125rem;
|
|
}
|
|
|
|
.date {
|
|
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: 0.75rem;
|
|
}
|
|
|
|
.detailsCol {
|
|
flex-grow: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
.degreeTitle {
|
|
font-size: var(--font-size-h3);
|
|
line-height: var(--line-height-h3);
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
margin-bottom: 0.125rem;
|
|
}
|
|
|
|
.description {
|
|
max-width: 72ch;
|
|
font-size: var(--font-size-body-default);
|
|
line-height: var(--line-height-body-default);
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
[data-theme="dark"] .card {
|
|
background-color: var(--bg-raised);
|
|
}
|
|
|
|
@media (max-width: 760px) {
|
|
.educationSection {
|
|
padding-top: var(--space-8);
|
|
}
|
|
|
|
.card {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
gap: var(--space-4);
|
|
padding: var(--space-5);
|
|
}
|
|
|
|
.crestCol,
|
|
.crestContainer {
|
|
width: 11.25rem;
|
|
height: 8.25rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.crestCol,
|
|
.crestContainer {
|
|
width: 9rem;
|
|
height: 6.75rem;
|
|
}
|
|
}
|
|
|
|
@media (hover: hover) and (pointer: fine) {
|
|
.card:hover {
|
|
border-color: var(--accent-default);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.card:hover .crestImage {
|
|
transform: scale(1.025);
|
|
}
|
|
}
|