Skip to content

Commit

Permalink
modified style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
j0ell1 committed Oct 14, 2024
1 parent c5643c5 commit db9b221
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,20 +73,18 @@ body {
border-radius: 10px;
opacity: 0;
transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
z-index: 50; /* Ensure the popup is above the blurred background */
z-index: 20; /* Ensure the popup is above the blurred background */
}

.popup.show {
display: block;
opacity: 1;
transform: translate(-50%, -50%) scale(1); /* Centered and scale effect */
z-index: 50;
}

/* Blur effect for body */
.blur {
filter: blur(5px); /* Adjust blur strength */
z-index: 30;
}

/* Dark overlay for better visibility */
Expand All @@ -98,7 +96,7 @@ body {
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
z-index: 40; /* Overlay below the popup */
z-index: 15; /* Overlay below the popup */
}

.overlay.show {
Expand Down

0 comments on commit db9b221

Please sign in to comment.