generated from ztimson/template
Underline anchors on focus
This commit is contained in:
parent
150bfd7278
commit
ed8fb032e5
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ztimson/css-utils",
|
||||
"version": "1.1.3",
|
||||
"version": "1.1.4",
|
||||
"description": "CSS Utility Classes",
|
||||
"readme": "README.md",
|
||||
"scripts": {
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user