From 3ffee3369eb6b958d6a812273ddaafd4c57bb9a0 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Fri, 2 Oct 2026 18:33:36 +0200 Subject: [PATCH] Masthead: community links get a 44px minimum hit area from a centred pseudo-element; boxes and glyphs keep their em sizes Co-Authored-By: Claude Opus 5.5 --- site/quartz/styles/custom.scss | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/site/quartz/styles/custom.scss b/site/quartz/styles/custom.scss index 8c4b836..b2c3c5f 100644 --- a/site/quartz/styles/custom.scss +++ b/site/quartz/styles/custom.scss @@ -742,12 +742,26 @@ body[data-slug="Blog/witness-authoritative-networking"] { line-height: 0; color: rgba(236, 242, 250, 0.96); flex: 0 0 auto; + position: relative; } .gamecult-nav-icon { width: 0.92em; } +/* The hit area is at least 44px square around each box; the box and glyph + keep their em sizes. */ +.gamecult-nav-wordmark::after, +.gamecult-nav-icon::after { + content: ""; + position: absolute; + top: 50%; + left: 50%; + width: max(100%, 44px); + height: max(100%, 44px); + transform: translate(-50%, -50%); +} + .gamecult-nav-wordmark svg, .gamecult-nav-icon svg { display: block;