From d1bb0618be2b6760d76238ca140c609f1ab47da5 Mon Sep 17 00:00:00 2001 From: John Hildenbiddle Date: Fri, 8 Mar 2024 15:35:13 -0600 Subject: [PATCH] Add abbr and dfn styles --- src/core/base.css | 5 +++++ themeable.md | 9 +++++++++ 2 files changed, 14 insertions(+) diff --git a/src/core/base.css b/src/core/base.css index 3c88445..90966c1 100644 --- a/src/core/base.css +++ b/src/core/base.css @@ -34,6 +34,11 @@ a { text-decoration: underline; } +:where(abbr, dfn)[title] { + cursor: help; + border-bottom: 1px dotted; +} + b, strong { color: var(--strong-color); diff --git a/themeable.md b/themeable.md index a8c60ce..4a5b008 100644 --- a/themeable.md +++ b/themeable.md @@ -210,6 +210,7 @@ description: >
+ ## Monochrome Palette
@@ -453,6 +454,14 @@ console.log(mergedObj);
+abbr tag with title + +abbr (Abbreviation) tag without title + +dfn tag with title + +dfn (Definition) tag without title + ## Horizontal Rule ---