]> git.ardis.lu - ardislu.dev/commitdiff
Hide unnecessary icons on mobile
authorArdis Lu <ardisglu@gmail.com>
Sat, 12 Nov 2022 03:25:21 +0000 (19:25 -0800)
committerArdis Lu <ardisglu@gmail.com>
Sat, 12 Nov 2022 03:25:21 +0000 (19:25 -0800)
style.css

index ef77766c8141881d19ea558fbaaacda2f37a7534..6994f9c3c56090c1f7abaf1f919fdec8fb8971a3 100644 (file)
--- 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;
This page took 0.044704 seconds and 4 git commands to generate.