Skip to content

Commit

Permalink
cleanup: Make the footer navigation look similar to the header naviga…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
GabsEdits committed Oct 6, 2024
1 parent c77d8e5 commit d19d328
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

- Make grammar mistakes to have a red underline

- Make the footer navigation look similar to the header navigation

- Hovering the navigation island will make it slightly bigger

- Hovering the navigation title will make it turn into the color accent rather than adding an underline
Expand Down
19 changes: 11 additions & 8 deletions src/components/Footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,10 @@ const { theme } = useData();
nav {
margin: 0 auto 1rem;
border-radius: 1.375rem;
background-color: var(--color-background-second);
padding: 0.25rem;
border: 0.4px solid var(--color-border);
border-radius: 2.5rem;
background-color: var(--color-header);
padding: 0.6625rem 2.5625rem;
width: fit-content;
max-width: min(var(--content-width) / 1.5, 100%);
Expand All @@ -80,9 +81,10 @@ const { theme } = useData();
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 0.25rem;
gap: 0.7rem;
margin: 0;
padding: 0;
list-style: none;
width: min(var(--content-width) / 1.5, 100%);
li {
Expand All @@ -92,14 +94,15 @@ const { theme } = useData();
a {
transition: var(--transition);
background-color: transparent !important;
border-radius: 999rem;
padding: 0.5rem 0.75rem;
color: var(--color-accent);
color: var(--color-text-secondary);
font-weight: 600;
letter-spacing: -0.015rem;
text-decoration: none;
&:hover {
background-color: var(--color-accent);
color: var(--color-background);
color: var(--color-accent);
}
&:active {
Expand Down

0 comments on commit d19d328

Please sign in to comment.