Skip to content

Commit

Permalink
Include underline on most links
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonappah committed Jun 29, 2024
1 parent 35ddda5 commit d9ba100
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/pages/links.astro
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { clubEmail, linksPageLinks } from '../data'
class="links-container"
style="margin: auto; max-width: 30em; width: 100%; display: flex; flex-direction: column; gap: 2em; padding: 4em 2em;"
>
<a href={`mailto:${clubEmail}`}>
<a class="no-decoration" href={`mailto:${clubEmail}`}>
<div
style="width: 100%; padding: 20px; border-radius: 25px; border-style: solid; border-color: #380D0D; background-color: #250F0F; color: white;"
>
Expand All @@ -28,10 +28,10 @@ import { clubEmail, linksPageLinks } from '../data'
{clubEmail}
</p>
</div>
</a>
</a >
{
linksPageLinks.map((link) => (
<a target="_blank" href={link.href}>
<a class="no-decoration" target="_blank" href={link.href}>
<div style="width: 100%; padding: 20px; border-radius: 25px; border-style: solid; color: white; border-color: white; font-family: 'Unbounded Variable', sans-serif; display: flex; justify-content: space-between;">
<h2>{link.name}</h2>
<h2>&rarr;</h2>
Expand Down
9 changes: 5 additions & 4 deletions src/styles/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,8 @@ main {
border-color: var(--text);
}

a {
text-decoration: none;
}

a:visited {
a:visited, a:-any-link {
color: inherit;
}

Expand All @@ -102,4 +99,8 @@ html {
html {
font-size: 0.75rem !important;
}
}

.no-decoration {
text-decoration: none;
}

0 comments on commit d9ba100

Please sign in to comment.