Skip to content

Commit

Permalink
Add abbr and dfn styles
Browse files Browse the repository at this point in the history
  • Loading branch information
jhildenbiddle committed Mar 8, 2024
1 parent fa025c4 commit d1bb061
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/core/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ a {
text-decoration: underline;
}

:where(abbr, dfn)[title] {
cursor: help;
border-bottom: 1px dotted;
}

b,
strong {
color: var(--strong-color);
Expand Down
9 changes: 9 additions & 0 deletions themeable.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ description: >
<div style="background: var(--rose-800);"></div>
<div style="background: var(--rose-900);"></div>
</div>

## Monochrome Palette

<div style="display: grid; grid-template-columns: repeat(11, 1fr); line-height: 2.25; gap: 1px;">
Expand Down Expand Up @@ -453,6 +454,14 @@ console.log(mergedObj);

<br>

<abbr title="Abbreviation">abbr</abbr> tag with title

<abbr>abbr</abbr> (Abbreviation) tag without title

<dfn title="Definition">dfn</dfn> tag with title

<dfn>dfn</dfn> (Definition) tag without title

## Horizontal Rule

---
Expand Down

0 comments on commit d1bb061

Please sign in to comment.