]> git.ardis.lu - event-hashes/commitdiff
Explicitly set <abbr> styling
authorArdis Lu <ardisglu@gmail.com>
Thu, 21 Mar 2024 04:57:02 +0000 (21:57 -0700)
committerArdis Lu <ardisglu@gmail.com>
Thu, 21 Mar 2024 04:57:02 +0000 (21:57 -0700)
For Safari (no default style) and mobile (can't hover) users

index.html

index 8f6cc8090de1e4032994148b54fc99d1f9be142c..801594c16b00775e5ebd88f44d7a9b3c73e25536 100644 (file)
     a:focus {
       text-decoration: underline;
     }
+
+    abbr {
+      text-decoration: none;
+    }
+
+    @media (hover: hover) {
+      abbr {
+        text-decoration: underline dotted;
+      }
+
+      abbr:hover {
+        cursor: help;
+      }
+    }
   </style>
 </head>
 
This page took 0.03719 seconds and 4 git commands to generate.