Skip to content

Commit

Permalink
fix "about" animation toggle on widescreen
Browse files Browse the repository at this point in the history
As the background animation for this item acts different from
mobile mode and widescreen mode, I added extra properties for
the widescreen mode, so the animation won't be toggled with the
menu (which is always visible on wide, ignoring the "reveal"
class that shows or hides it)
  • Loading branch information
HectorVilas committed Jan 14, 2023
1 parent 9a431ae commit aa67b6e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -768,6 +768,10 @@ input[type="text"], input[type="date"] {
width: 100%;
}

#menu.reveal .fieldset-options .menu-item.about {
animation: none;
background: none;
}
#menu .fieldset-options .menu-item.about:hover {
background: url(./media/images/background/github-mark.svg);
background-size: var(--icon-size);
Expand Down

0 comments on commit aa67b6e

Please sign in to comment.