Skip to content

Commit 7c01c09

Browse files
SharonHartCopilot
andcommitted
Eye favicon, dark-mode hero outline, compact badges
- Favicon/small mark: replace with a simple blue gradient tile + centered octopus eye (octopus-icon.svg). Reads clearly down to 16px while still echoing the hero mascot; PNG fallbacks regenerated to match - Hero: in dark mode, add a white sticker outline so the octopus and its tentacles separate from the dark background - Badges: smaller padding/font/icons so they fit on one or two lines Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent af88743 commit 7c01c09

6 files changed

Lines changed: 39 additions & 1931 deletions

File tree

public/apple-touch-icon.png

-3.45 KB
Loading

public/favicon.png

748 Bytes
Loading

public/icon-512.png

-28.3 KB
Loading

public/octopus-icon.svg

Lines changed: 12 additions & 963 deletions
Loading

src/assets/octopus-icon.svg

Lines changed: 12 additions & 963 deletions
Loading

src/pages/index.astro

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -669,6 +669,16 @@ const posts = (await getCollection("docs"))
669669
height: auto;
670670
filter: drop-shadow(0 16px 38px rgba(13, 17, 23, 0.28));
671671
}
672+
/* Dark mode: a white sticker outline so the octopus (and its tentacles)
673+
separate cleanly from the dark background */
674+
:root[data-theme="dark"] .hero-logo {
675+
filter:
676+
drop-shadow(1.4px 0 0 #fff) drop-shadow(-1.4px 0 0 #fff)
677+
drop-shadow(0 1.4px 0 #fff) drop-shadow(0 -1.4px 0 #fff)
678+
drop-shadow(1px 1px 0 #fff) drop-shadow(-1px -1px 0 #fff)
679+
drop-shadow(1px -1px 0 #fff) drop-shadow(-1px 1px 0 #fff)
680+
drop-shadow(0 18px 34px rgba(0, 0, 0, 0.55));
681+
}
672682
/* Inky gently breathes — decorative, disabled under reduced motion */
673683
@media (prefers-reduced-motion: no-preference) {
674684
.hero-logo { animation: float 8s var(--ease-in-out) infinite; }
@@ -715,28 +725,28 @@ const posts = (await getCollection("docs"))
715725
padding: 0;
716726
display: flex;
717727
flex-wrap: wrap;
718-
gap: 0.5rem;
728+
gap: 0.4rem;
719729
}
720730
@media (max-width: 880px) { .badges { justify-content: center; } }
721731
.badges li {
722732
display: inline-flex;
723733
align-items: center;
724-
gap: 0.4rem;
725-
padding: 0.34rem 0.72rem;
734+
gap: 0.32rem;
735+
padding: 0.28rem 0.62rem;
726736
border: 1px solid var(--card-border);
727737
border-radius: 999px;
728738
background: var(--card-bg);
729739
color: var(--text-muted);
730740
font-family: var(--dps-font-display);
731741
font-weight: 600;
732-
font-size: 0.8rem;
742+
font-size: 0.72rem;
733743
line-height: 1;
734744
transition:
735745
color 200ms var(--ease-out),
736746
border-color 200ms var(--ease-out),
737747
background 200ms var(--ease-out);
738748
}
739-
.badges li svg { color: var(--accent); flex-shrink: 0; }
749+
.badges li svg { color: var(--accent); flex-shrink: 0; width: 14px; height: 14px; }
740750
@media (hover: hover) and (pointer: fine) {
741751
.badges li:hover { color: var(--text); border-color: var(--accent); }
742752
}

0 commit comments

Comments
 (0)