Skip to content

Commit

Permalink
link underline
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieFox committed Jul 25, 2024
1 parent 0351ef5 commit 491e3ab
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 21 deletions.
7 changes: 1 addition & 6 deletions src/component/bookmark/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -269,12 +269,7 @@
box-shadow: var(--theme-shadow-top-medium);
}

.bookmark-link,
.bookmark-link:link,
.bookmark-link:visited,
.bookmark-link:focus,
.bookmark-link:hover,
.bookmark-link:active {
.bookmark-link {
background-color: transparent;
border: 0;
position: relative;
Expand Down
7 changes: 1 addition & 6 deletions src/component/button/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,7 @@ button .icon,
width: 100%;
}

.button-link,
.button-link:link,
.button-link:visited,
.button-link:focus,
.button-link:hover,
.button-link:active {
.button-link {
background-color: transparent;
border: 0;
color: hsl(var(--button-link-text));
Expand Down
14 changes: 5 additions & 9 deletions src/style/typography/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,9 @@ i {
font-style: italic;
}

a,
a:link,
a:visited,
a:focus,
a:hover,
a:active {
a {
padding-bottom: 2px;
border: 0;
border-bottom: 1px solid hsl(var(--theme-primary-text-010));
color: hsl(var(--theme-primary-text-010));
text-decoration: none;
outline: none;
Expand All @@ -101,12 +96,13 @@ a:active {
a:link,
a:visited {
color: hsl(var(--theme-primary-text-010));
border-bottom: 1px solid hsl(var(--theme-primary-text-010));
transition: color var(--layout-transition-extra-fast), border var(--layout-transition-extra-fast), padding var(--layout-transition-extra-fast);
text-decoration: none;
transition: border var(--layout-transition-extra-fast);
}

a:hover,
a:active {
color: hsl(var(--theme-primary-text-010));
border-bottom-color: rgb(var(--theme-accent));
}

Expand Down

0 comments on commit 491e3ab

Please sign in to comment.