From: Ardis Lu Date: Sat, 12 Nov 2022 03:25:21 +0000 (-0800) Subject: Hide unnecessary icons on mobile X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=d444c12e3e8eb94ac0806e57715e2e3b721b9482;p=ardislu.dev Hide unnecessary icons on mobile --- diff --git a/style.css b/style.css index ef77766..6994f9c 100644 --- a/style.css +++ b/style.css @@ -53,6 +53,16 @@ a > svg { vertical-align: middle; } +a:has(#pencil, #github) { + display: none; +} + +@media (min-width: 34.375rem) { + a:has(#pencil, #github) { + display: initial; + } +} + form > button { background: transparent; border: none;