Skip to content

Commit 54bea79

Browse files
authored
Increase hero logo size on website (#97)
## Summary This PR increases the size of the Union Square logo in the hero section of the GitHub Pages website to better fill the lighter colored floating card container. ## Changes - Set the floating card container to fixed dimensions (350x350px) - Changed logo sizing to use 90% of container with max 300x300px - Adjusted padding to better accommodate the larger logo - Added flex centering to ensure logo is properly aligned ## Visual Impact The logo now fills most of the floating card's lighter colored square, making it more prominent and visually appealing on the landing page.
1 parent 4f5a7e8 commit 54bea79

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

docs/assets/css/style.css

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@
5252
/* Typography */
5353
--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
5454
--font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, monospace;
55+
56+
/* Component dimensions */
57+
--floating-card-size: 350px;
58+
--hero-logo-max-size: 300px;
5559
}
5660

5761
* {
@@ -312,10 +316,15 @@ body {
312316
.floating-card {
313317
background-color: var(--bg-surface);
314318
border-radius: 20px;
315-
padding: var(--spacing-2xl);
319+
padding: var(--spacing-lg);
316320
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
317321
animation: float 4s ease-in-out infinite;
318322
position: relative;
323+
width: var(--floating-card-size);
324+
height: var(--floating-card-size);
325+
display: flex;
326+
justify-content: center;
327+
align-items: center;
319328
}
320329

321330
.floating-card::before {
@@ -330,8 +339,10 @@ body {
330339
}
331340

332341
.hero-logo {
333-
width: 200px;
334-
height: 200px;
342+
width: 90%;
343+
height: 90%;
344+
max-width: var(--hero-logo-max-size);
345+
max-height: var(--hero-logo-max-size);
335346
}
336347

337348
/* Features Section */

0 commit comments

Comments
 (0)