Skip to content

Commit

Permalink
Remove base styles for :visited links
Browse files Browse the repository at this point in the history
Revert changes of PR #694 (#694)
  • Loading branch information
alinekeller committed Feb 7, 2024
1 parent 6738023 commit 6564e50
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
17 changes: 1 addition & 16 deletions assets/components/atoms/link/link.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
@charset 'utf-8';

// All links are underlined by default. Supported browsers will have the right color. https://caniuse.com/#feat=text-decoration
a,
a:visited {
color: $black;
text-decoration: underline;
background-color: transparent;
a {
text-decoration-color: $link-hover-color;
transition:
text-decoration-color 0.2s ease-in-out,
Expand Down Expand Up @@ -120,14 +116,3 @@ a:visited {
opacity: 1;
}
}

// Button link

a.btn,
a.btn-primary {
color: $white;
}

a.btn-secondary {
color: $black;
}
5 changes: 5 additions & 0 deletions assets/components/molecules/pagination/pagination.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@
}
}

.page-link,
.page-link:visited {
color: $red;
}

.page-link {
display: inline-flex;
justify-content: center;
Expand Down

0 comments on commit 6564e50

Please sign in to comment.