From 0e28b94c05c46871dfa41bf2958cc104ea9b2f7e Mon Sep 17 00:00:00 2001 From: Eva Decker Date: Tue, 18 Jun 2024 23:58:07 -0400 Subject: [PATCH] Style press page --- src/pages/index.astro | 18 +------------ src/pages/press.astro | 59 ++++++++++++++++++++++++++++++++----------- src/styles/base.css | 2 +- 3 files changed, 46 insertions(+), 33 deletions(-) diff --git a/src/pages/index.astro b/src/pages/index.astro index 7701b00..dbc31e7 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -100,7 +100,6 @@ const shuffledPartners = partners.sort(() => 0.5 - Math.random()); const highlight = annotate(whoYouAre, { type: "highlight", iterations: 1, - animate: false, }); highlight.show(); } @@ -121,8 +120,7 @@ const shuffledPartners = partners.sort(() => 0.5 - Math.random()); const partners: HTMLElement | null = document.querySelector(".partners h2"); if (partners) { const brackets = annotate(partners, { - type: "bracket", - brackets: ["left", "right"], + type: "underline", animate: false, }); brackets.show(); @@ -265,10 +263,6 @@ const shuffledPartners = partners.sort(() => 0.5 - Math.random()); &::placeholder { color: var(--text-placeholder); } - - &:focus { - background-color: var(--white); - } } button { @@ -279,15 +273,5 @@ const shuffledPartners = partners.sort(() => 0.5 - Math.random()); gap: var(--space-2xs); align-items: center; padding-inline: var(--space-m); - - @media (hover: hover) { - &:hover { - background: var(--white); - } - } - - &:focus-visible { - background: var(--white); - } } diff --git a/src/pages/press.astro b/src/pages/press.astro index cbbdde0..b0acdce 100644 --- a/src/pages/press.astro +++ b/src/pages/press.astro @@ -25,7 +25,7 @@ pressArticles.sort((a, b) => b.data.date.getTime() - a.data.date.getTime()); {article.data.outlet} - {article.data.title} + {article.data.title} {article.data.image && ( b.data.date.getTime() - a.data.date.getTime()); + +