Underline anchors on focus
All checks were successful
Publish Library / Build NPM Project (push) Successful in 17s
Publish Library / Tag Version (push) Successful in 9s
Publish Library / Publish CDN & Docs (push) Successful in 28s

This commit is contained in:
Zakary Timson 2024-12-06 19:16:09 -05:00
parent 150bfd7278
commit ed8fb032e5
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@ztimson/css-utils",
"version": "1.1.3",
"version": "1.1.4",
"description": "CSS Utility Classes",
"readme": "README.md",
"scripts": {

View File

@ -50,8 +50,8 @@ $divisible: (0, 10, 20, 25, 30, 33, 34, 40, 50, 60, 66, 70, 75, 80, 90, 100);
.fix-anchor, .fix:not(.no-anchor-fix) {
a, a:not([href]) {
color: var(--theme-primary);
&:not(:hover) { text-decoration: none; }
&:hover { text-decoration: underline; }
&:not(:hover):not(:focus) { text-decoration: none; }
&:hover, &:focus { text-decoration: underline; }
cursor: pointer;
}
}