Skip to content

Commit

Permalink
Tighten header nav when between 700-900px
Browse files Browse the repository at this point in the history
  • Loading branch information
benvinegar committed Dec 21, 2023
1 parent 506c243 commit c1c64dd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/routes/(site)/Header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@
background-color: var(--bg);
color: var(--fg);
padding: 0 0.5rem;
@media(--below_large) {
padding: 0;
}
&.transparent {
background: none;
}
Expand Down Expand Up @@ -74,6 +78,10 @@
display: flex;
padding: 10px 0;
gap: 10px;
@media (--below_large) {
gap: 5px;
}
justify-content: flex-end;
align-items: center;
.transparent & {
Expand All @@ -85,6 +93,9 @@
text-decoration: none;
background: rgba(255, 255, 255, 0.0786987545689);
padding: 10px 20px;
@media (--below_large) {
padding: 8px 16px;
}
border: 0;
border-radius: 20px;
align-items: center;
Expand Down

0 comments on commit c1c64dd

Please sign in to comment.