Files
print-calculator/frontend/src/app/features/about/about-page.component.scss

221 lines
4.1 KiB
SCSS

.about-section {
padding: 6rem 0;
background: var(--color-bg);
min-height: 80vh;
display: flex;
align-items: center;
}
.split-layout {
display: grid;
grid-template-columns: 1fr;
gap: 4rem;
align-items: center;
text-align: center; /* Center on mobile */
@media (min-width: 992px) {
grid-template-columns: 1fr 1fr;
gap: 6rem;
text-align: left; /* Reset to left on desktop */
}
}
/* Left Column */
.text-content {
/* text-align: left; Removed to inherit from parent */
}
.eyebrow {
text-transform: uppercase;
letter-spacing: 0.15em;
font-size: 0.875rem;
color: var(--color-secondary-600);
font-weight: 700;
margin-bottom: var(--space-2);
display: block;
}
h1 {
font-size: 3rem;
line-height: 1.1;
margin-bottom: var(--space-4);
color: var(--color-text-main);
}
.subtitle {
font-size: 1.25rem;
color: var(--color-text-muted);
margin-bottom: var(--space-6);
font-weight: 300;
}
.divider {
height: 4px;
width: 60px;
background: var(--color-primary-500);
border-radius: 2px;
margin-bottom: var(--space-6);
/* Center divider on mobile */
margin-left: auto;
margin-right: auto;
@media (min-width: 992px) {
margin-left: 0;
margin-right: 0;
}
}
.description {
font-size: 1.1rem;
line-height: 1.7;
color: var(--color-text-main);
margin-bottom: var(--space-4);
white-space: pre-line;
}
.passions-title {
font-size: 1rem;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--color-secondary-600);
margin-bottom: var(--space-4);
}
.tags-container {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
justify-content: center; /* Center tags on mobile */
@media (min-width: 992px) {
justify-content: flex-start;
}
}
.tag {
padding: 0.5rem 1rem;
border-radius: 99px;
background: var(--color-surface-card);
border: 1px solid var(--color-border);
color: var(--color-text-main);
font-weight: 500;
font-size: 0.9rem;
box-shadow: var(--shadow-sm);
transition:
background-color 0.2s ease,
border-color 0.2s ease,
color 0.2s ease,
box-shadow 0.2s ease;
}
.tag.is-active {
background: var(--color-primary-500);
border-color: var(--color-primary-600);
color: var(--color-neutral-900);
font-weight: 600;
box-shadow: var(--shadow-md);
}
/* Right Column */
.visual-content {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 2rem;
@media (min-width: 768px) {
display: grid;
grid-template-columns: repeat(2, 1fr);
align-items: start;
justify-items: center;
}
}
.photo-card {
background: #ffffff;
padding: 1rem;
border-radius: var(--radius-lg);
border: 1px solid var(--color-border);
box-shadow: var(--shadow-sm);
width: 100%;
max-width: 260px;
position: relative;
transition:
box-shadow 0.2s ease,
transform 0.2s ease,
border-color 0.2s ease,
outline-color 0.2s ease;
cursor: pointer;
outline: 2px solid transparent;
outline-offset: 2px;
}
.photo-card:hover {
transform: translateY(-3px);
box-shadow: var(--shadow-md);
border-color: var(--color-neutral-300);
}
.photo-card:focus-visible {
outline-color: var(--color-primary-600);
}
.photo-card.is-active {
border-color: var(--color-primary-600);
box-shadow:
0 0 0 3px rgb(250 207 10 / 30%),
var(--shadow-md);
}
.photo-card.is-selected {
border-color: var(--color-primary-700);
}
.placeholder-img {
width: 100%;
aspect-ratio: 3/4;
background: linear-gradient(
45deg,
var(--color-neutral-200),
var(--color-neutral-100)
);
border-radius: var(--radius-md);
margin-bottom: 1rem;
border-bottom: 1px solid var(--color-neutral-300);
overflow: hidden;
}
.placeholder-img img {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
}
.placeholder-img picture {
width: 100%;
height: 100%;
display: block;
}
.member-info {
text-align: center;
}
.member-name {
display: block;
font-weight: 700;
color: var(--color-text-main);
font-size: 1.1rem;
}
.member-role {
display: block;
font-size: 0.85rem;
color: var(--color-text-muted);
text-transform: uppercase;
letter-spacing: 0.05em;
margin-top: 0.25rem;
}