Skip to content

Commit

Permalink
make menu wider on wider viewport
Browse files Browse the repository at this point in the history
  • Loading branch information
HectorVilas committed Jan 13, 2023
1 parent e3cc746 commit 5693642
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
--card-drag-padding: calc(var(--font-size-title) + var(--card-padding) * 2.75);
--hover-anim-duration: 250ms;
--menu-width: 350px;
--menu-width-widescreen: 400px;
--viewport-min-width: 600px;
--deletion-delay: 2s;
--hover-delay: 150ms;
Expand Down Expand Up @@ -182,7 +183,6 @@ body {background-color: var(--bgc-page);}
}

header {
/* background-color: var; */
justify-content: center;
text-align: center;
height: var(--icon-menu-size);
Expand Down Expand Up @@ -769,6 +769,19 @@ input[type="text"], input[type="date"] {
animation: bg-anim var(--duration) calc(var(--duration) / 5) infinite linear,
bg-zoom-out var(--duration) cubic-bezier(.08,.82,.17,1) forwards;
}

header {
box-shadow: none;
}
}

@media screen and (min-width: 1500px) {
body{
grid-template-columns: var(--menu-width-widescreen) 1fr;
}
#menu {
width: var(--menu-width-widescreen);
}
}


Expand Down

0 comments on commit 5693642

Please sign in to comment.