commit
AAAAAAAAAAAAAAAAAA
diff --git a/src/lib/components/Footer.svelte b/src/lib/components/Footer.svelte
index 10d57f3..82b8671 100644
--- a/src/lib/components/Footer.svelte
+++ b/src/lib/components/Footer.svelte
@@ -9,19 +9,21 @@
</script>
<footer>
- <img src="/favicon.svg" alt="Site Favicon" width="32" height="32" />
- <span>{websiteDomain}</span>
- <span class="subtext"
- >made fully by hand with zero AI-generated code <iconsax-icon
- name="heart"
- type="bulk"
- size="24"
- class="beat"
- ></iconsax-icon></span
- >
- <span class="subtext">Clove Twilight © 2026</span>
-</footer>
+ <p class="footer-line">
+ <span class="footer-brand">
+ <img src="/favicon.svg" alt="" width="20" height="20" />
+ {websiteDomain}
+ </span>
+
+ <span>
+ made fully by hand with zero AI-generated code
+ <iconsax-icon name="heart" type="bulk" size="16" class="beat"></iconsax-icon>
+ </span>
-<a class="no-ai" href="/ai" title="Read my AI statement">
- <img src={noAi} alt="Developed by a human, not by AI" width="131" height="42" />
-</a>
+ <span>Clove Twilight © 2026</span>
+ </p>
+
+ <a class="no-ai" href="/ai" title="Read my AI statement">
+ <img src={noAi} alt="Developed by a human, not by AI" width="131" height="42" />
+ </a>
+</footer>
diff --git a/src/lib/styles/footer.css b/src/lib/styles/footer.css
index 57c9ed4..04bbc16 100644
--- a/src/lib/styles/footer.css
+++ b/src/lib/styles/footer.css
@@ -2,25 +2,59 @@
* DASL-1.2 — (c) Clove Twilight
*/
+/* Sits in the page flow; margin-top: auto pins it to the bottom of short pages */
footer {
- position: absolute;
- justify-content: center;
- bottom: 0;
- left: 0;
- right: 0;
display: flex;
+ flex-wrap: wrap;
+ gap: 1rem 1.5rem;
align-items: center;
+ justify-content: space-between;
+ width: 100%;
max-width: 62rem;
- height: 50px;
- margin: 0 auto;
- padding-inline: 1.5rem;
+ margin: auto auto 0;
+ padding: 1.25rem 1.5rem;
+ border-top: 1px solid var(--line);
+ color: var(--muted);
+ font-size: 0.85rem;
+}
+
+.footer-line {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.25rem 0.75rem;
+ align-items: center;
+ margin: 0;
}
+.footer-line > span {
+ display: inline-flex;
+ gap: 0.4em;
+ align-items: center;
+}
+
+/* Dot between items, skipped on the first */
+.footer-line > span + span::before {
+ content: '·';
+ margin-right: 0.75rem;
+ color: var(--line);
+}
+
+.footer-brand img {
+ border-radius: 50%;
+}
+
+/* Heart */
+
.beat {
- color: mediumvioletred;
+ color: var(--accent);
animation: beat 1.2s ease-in-out infinite;
}
+.beat svg {
+ width: 1em;
+ height: 1em;
+}
+
/* Two quick pulses, then a rest, like a heartbeat */
@keyframes beat {
0%,
@@ -37,32 +71,9 @@ footer {
}
}
-@media (prefers-reduced-motion: reduce) {
- .beat {
- animation: none;
- }
-}
-
-.subtext {
- display: inline-flex;
- align-items: center;
- gap: 0.3em;
- margin-left: 1rem;
- color: var(--muted);
- font-size: 0.8rem;
-}
-
-.subtext svg {
- width: 1em;
- height: 1em;
-}
-
-/* "Not by AI" badge, tucked into the bottom-right corner of the page */
+/* "Not by AI" badge */
.no-ai {
- position: absolute;
- right: 0;
- bottom: 0;
line-height: 0;
}
@@ -72,7 +83,7 @@ footer {
}
.no-ai:hover img {
- filter: drop-shadow(0 0 6px rgb(235 69 158 / 55%));
+ filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent) 55%, transparent));
}
.no-ai:focus-visible {
@@ -80,18 +91,25 @@ footer {
outline-offset: 2px;
}
-/* Too narrow to share a row with the footer, so it sits just above it */
-@media (max-width: 60rem) {
- body::after {
- height: calc(50px + 42px + 0.5rem);
+/* Narrow screens: stack and centre */
+@media (max-width: 40rem) {
+ footer,
+ .footer-line {
+ flex-direction: column;
+ justify-content: center;
+ text-align: center;
}
- .no-ai {
- bottom: 50px;
+ .footer-line > span + span::before {
+ content: none;
}
}
@media (prefers-reduced-motion: reduce) {
+ .beat {
+ animation: none;
+ }
+
.no-ai img {
transition: none;
}
diff --git a/src/lib/styles/global.css b/src/lib/styles/global.css
index da685c8..ca4720c 100644
--- a/src/lib/styles/global.css
+++ b/src/lib/styles/global.css
@@ -32,12 +32,6 @@ main {
flex-direction: column;
}
-body::after {
- content: '';
- display: block;
- height: 50px;
-}
-
a {
color: var(--text);
text-decoration-color: rgb(235 69 158 / 55%);
diff --git a/src/lib/styles/index.css b/src/lib/styles/index.css
index b718753..45bf5d7 100644
--- a/src/lib/styles/index.css
+++ b/src/lib/styles/index.css
@@ -70,13 +70,6 @@
/* Cards */
-.card-box {
- display: grid;
- grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
- gap: 1.25rem;
- padding-block: 2rem;
-}
-
.card {
display: flex;
flex-direction: column;
@@ -97,15 +90,6 @@
transform: translateY(-2px);
}
-.card-tag {
- margin: 0;
- color: var(--accent);
- font-size: 0.7rem;
- font-weight: 600;
- letter-spacing: 0.14em;
- text-transform: uppercase;
-}
-
.card-title {
margin: 0;
font-size: 1.25rem;
@@ -120,13 +104,6 @@
font-size: 0.95rem;
}
-.card-link {
- align-self: flex-start;
- margin-top: 0.5rem;
- font-size: 0.9rem;
- font-weight: 500;
-}
-
@media (prefers-reduced-motion: reduce) {
.card {
transition: none;