Skip to content

Commit

Permalink
Add transitions to a link color
Browse files Browse the repository at this point in the history
  • Loading branch information
justint committed Jun 10, 2023
1 parent 4fb2688 commit 4a3fb1c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sass/base.scss
Expand Up @@ -97,16 +97,19 @@ a:hover,
a:focus {
color: var(--link-hover-color);
border-bottom: 1px solid var(--link-hover-line-color);
transition: all 0.1s linear;
}

a:active {
color: var(--link-hover-color);
opacity: 0.9;
border-bottom: 1px solid var(--link-hover-line-color);
transition: all 0.1s linear;
}

a.active {
color: var(--link-hover-color);
transition: all 0.1s linear;
}

/* Table */
Expand Down Expand Up @@ -279,6 +282,7 @@ article header h2 {
}
a:hover {
color: var(--link-hover-color);
transition: all 0.1s linear;
}
}

Expand Down Expand Up @@ -422,16 +426,19 @@ figcaption {
a:focus {
color: var(--link-hover-color);
border-bottom: 1px solid var(--link-hover-line-color);
transition: all 0.1s linear;
}

a:active {
color: var(--link-hover-color);
opacity: 0.9;
border-bottom: 1px solid var(--link-hover-line-color);
transition: all 0.1s linear;
}

a.active {
color: var(--link-hover-color);
transition: all 0.1s linear;
}

img {
Expand Down Expand Up @@ -488,6 +495,7 @@ figcaption {
a:hover, a:focus {
color: var(--link-hover-color);
border-bottom: 0;
transition: all 0.1s linear;
}
}

Expand Down

0 comments on commit 4a3fb1c

Please sign in to comment.