diff --git a/frontend/src/assets/pagerite.css b/frontend/src/assets/pagerite.css index e745945..e67e7f8 100644 --- a/frontend/src/assets/pagerite.css +++ b/frontend/src/assets/pagerite.css @@ -65,6 +65,11 @@ box-sizing: border-box; } +::selection { + background: color-mix(var(--accent) 30%, transparent); + color: inherit; +} + /* Links never underline — including SVG link text, which the UA stylesheet underlines by default. */ a { diff --git a/pagerite/themes/corporate/theme.css b/pagerite/themes/corporate/theme.css index ff060ae..5e26562 100644 --- a/pagerite/themes/corporate/theme.css +++ b/pagerite/themes/corporate/theme.css @@ -32,11 +32,6 @@ } } -::selection { - background: var(--accent); - color: #fff; -} - /* Genuinely large solid brand with a soft blue shadow overlapping the artwork — conservative, but unmissable. */ #brand { diff --git a/pagerite/themes/nitro/theme.css b/pagerite/themes/nitro/theme.css index c7a402f..c5424d7 100644 --- a/pagerite/themes/nitro/theme.css +++ b/pagerite/themes/nitro/theme.css @@ -63,7 +63,6 @@ ::selection { background: var(--accent); - color: var(--ink); } /* Oversized outlined brand, spilling off the banner edge: orange stroke, diff --git a/pagerite/themes/purple/theme.css b/pagerite/themes/purple/theme.css index 2bcf3e6..6f09af0 100644 --- a/pagerite/themes/purple/theme.css +++ b/pagerite/themes/purple/theme.css @@ -19,11 +19,6 @@ --font-heading: var(--font-fraunces); } -::selection { - background: var(--accent2); - color: #fff; -} - /* Oversized tilted brand in the sky→violet gradient. */ #brand { font-size: clamp(3.2rem, 9vw, 7.5rem); diff --git a/pagerite/themes/summer/theme.css b/pagerite/themes/summer/theme.css index b0ac255..8507b37 100644 --- a/pagerite/themes/summer/theme.css +++ b/pagerite/themes/summer/theme.css @@ -57,11 +57,6 @@ body { color: var(--text); } -::selection { - background: var(--sun); - color: #3d5223; -} - /* No separation between banner and page: the frame loses its background, border and shadow, and the artwork overflows into the document below, masked by a transparency gradient so it cross-fades into the body's fixed