forked from NASA-IMPACT/veda-config
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve lighthouse accessibility score (#695)
This improves the lighthouse accessibility score.
- Loading branch information
Showing
3 changed files
with
54 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* Base style for the link */ | ||
.link { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
color: rgb(18, 41, 97); | ||
border: 1px solid rgb(18, 41, 97); | ||
padding: 0px 20px; | ||
border-radius: 5px; | ||
text-transform: uppercase; | ||
font-size: 16px; | ||
font-weight: 500; | ||
font-family: 'Inter', sans-serif; | ||
height: 3rem; | ||
background-color: transparent; | ||
transition: background-color 0.24s ease-in-out; | ||
opacity: 1; | ||
text-decoration: none; | ||
|
||
/* Hover effect */ | ||
&:hover { | ||
background-color: rgba(8, 42, 100, 0.08); | ||
} | ||
|
||
/* Active effect */ | ||
&:active, | ||
&.active { | ||
background-color: rgba(8, 42, 100, 0.08); | ||
} | ||
} | ||
|
||
/* Optional styles for the arrow */ | ||
.arrow { | ||
display: flex; | ||
margin: 0px 4px; | ||
} |