From: Ardis Lu Date: Wed, 14 Dec 2022 04:22:53 +0000 (-0800) Subject: Simplify header icon hiding logic X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=a4b2d09e28c66f19807c437e9a66dbd2beb93ac2;p=ardislu.dev Simplify header icon hiding logic Firefox doesn't support :has, and all icons are hidden anyway --- diff --git a/style.css b/style.css index f097100..8e0d630 100644 --- a/style.css +++ b/style.css @@ -73,12 +73,12 @@ a > svg { vertical-align: middle; } -header a:has(#feed, #pencil, #github) { +header > nav { display: none; } @media (min-width: 34.375rem) { - header a:has(#feed, #pencil, #github) { + header > nav { display: initial; } }