Skip to content

Commit

Permalink
improve backdrop brightness
Browse files Browse the repository at this point in the history
  • Loading branch information
Archmonger committed Aug 2, 2022
1 parent d24218d commit 42f01b9
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions conreq/_core/home/static/conreq/backdrop.css
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
:root {
--backdrop-opacity: 0.3;
}

.backdrop-container {
position: absolute;
left: 0px;
top: 0px;
width: 100%;
--backdrop-height: 100vh;
opacity: 0.45;
opacity: var(--backdrop-opacity);
-webkit-animation: backdrop-fadein 4s;
animation: backdrop-fadein 4s;
-webkit-filter: brightness(40%);
filter: brightness(40%);
-webkit-filter: brightness(60%);
filter: brightness(60%);
}

.backdrop-container > * {
Expand Down Expand Up @@ -46,7 +50,7 @@
opacity: 0;
}
to {
opacity: 0.45;
opacity: var(--backdrop-opacity);
}
}

Expand All @@ -55,6 +59,6 @@
opacity: 0;
}
to {
opacity: 0.45;
opacity: var(--backdrop-opacity);
}
}

0 comments on commit 42f01b9

Please sign in to comment.