Skip to content

Commit

Permalink
Improve slide transition and make more accessible
Browse files Browse the repository at this point in the history
  • Loading branch information
CurbaiCode committed Jul 31, 2024
1 parent 54f97c9 commit 7e899cb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions stylesheets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ main>* {
height: 100%;
overflow-x: hidden;
overflow-y: scroll;
transition: right 0.25s;
transition: right 0.35s;
}
main>*:not(#inspector)::after {
content: "";
Expand All @@ -324,7 +324,7 @@ main>*:not(#inspector)::after {
right: 0;
bottom: 0;
left: 0;
transition: background-color 0.25s;
transition: background-color 0.35s;
}
#home {
z-index: 1;
Expand Down Expand Up @@ -354,6 +354,7 @@ main>*:not(.hidden)+* {
}
main>.hidden {
pointer-events: none;
right: 25%;
}
main>.hidden::after {
background-color: var(--overlay) !important;
Expand Down

0 comments on commit 7e899cb

Please sign in to comment.