Skip to content
12 changes: 6 additions & 6 deletions src/frontend/src/components/HeroSection.astro
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ const floatingIcons = buildFloatingIconLayout(title, iconNames, { rightRange: 55
display: inline-flex;
align-items: center;
justify-content: center;
width: 4rem;
height: 4rem;
width: 3rem;
height: 3rem;
border-radius: 0.75rem;
background: color-mix(in srgb, var(--aspire-color-primary) 18%, var(--sl-color-bg));
border: 2px solid color-mix(in srgb, var(--aspire-color-primary) 35%, transparent);
Expand All @@ -131,8 +131,8 @@ const floatingIcons = buildFloatingIconLayout(title, iconNames, { rightRange: 55
}

.hero-logo :global(img) {
width: 2.25rem;
height: 2.25rem;
width: 2rem;
height: 2rem;
}

.hero-content {
Expand Down Expand Up @@ -291,8 +291,8 @@ const floatingIcons = buildFloatingIconLayout(title, iconNames, { rightRange: 55
margin-bottom: 1.5rem;
}
.hero-logo {
width: 3rem;
height: 3rem;
width: 2.75rem;
height: 2.75rem;
margin-bottom: 1rem;
}
.hero-logo :global(img) {
Expand Down
25 changes: 12 additions & 13 deletions src/frontend/src/components/TopicHero.astro
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const subtitleSegments = subtitle
{
icon && (
<div class="topic-hero-icon">
<Icon name={icon} size="2.5rem" />
<Icon name={icon} />
</div>
)
}
Expand Down Expand Up @@ -146,15 +146,22 @@ const subtitleSegments = subtitle
display: inline-flex;
align-items: center;
justify-content: center;
width: 4rem;
height: 4rem;
width: 3rem;
height: 3rem;
padding: 0.5rem;
box-sizing: border-box;
border-radius: 0.75rem;
background: color-mix(in srgb, var(--topic-accent) 18%, var(--sl-color-bg));
border: 2px solid color-mix(in srgb, var(--topic-accent) 35%, transparent);
color: var(--topic-accent);
margin-bottom: 1.25rem;
}

.topic-hero-icon :global(svg) {
width: 100%;
height: 100%;
}

.topic-hero-title {
font-size: clamp(1.5rem, 3vw, 2rem);
font-weight: 700;
Expand Down Expand Up @@ -335,14 +342,10 @@ const subtitleSegments = subtitle
margin-bottom: 1.5rem;
}
.topic-hero-icon {
width: 3rem;
height: 3rem;
width: 2.75rem;
height: 2.75rem;
margin-bottom: 1rem;
}
.topic-hero-icon :global(svg) {
width: 1.75rem;
height: 1.75rem;
}
.topic-hero-title {
font-size: clamp(1.35rem, 2.6vw, 1.75rem);
margin-bottom: 0.75rem;
Expand Down Expand Up @@ -374,10 +377,6 @@ const subtitleSegments = subtitle
margin-bottom: 0.75rem;
border-radius: 0.5rem;
}
.topic-hero-icon :global(svg) {
width: 1.5rem;
height: 1.5rem;
}
.topic-hero-title {
font-size: clamp(1.2rem, 4.5vw, 1.5rem);
margin-bottom: 0.6rem;
Expand Down
Loading
Loading