Skip to content

Commit

Permalink
fix(karlsruhejs): replaced "filter: drop-shadow" with "box-shadow" fo…
Browse files Browse the repository at this point in the history
…r performance reasons
  • Loading branch information
TimPietrusky committed Aug 11, 2023
1 parent ddfc458 commit cc7bf61
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions docs/karlsruhejs-20230809/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
--main-bg-lightness: 35%;
--main-bg-saturation: 100%;
--main-bg-opacity: 0.75;
--main-primary: rgb(214 44 216);
--main-primary-dark: hsl(299, 69%, 21%);
--main-shadow: 0 0 20px var(--main-primary);
--main-shadow-dark: 0 0 20px var(--main-primary-dark);

--toast-color: #000;
--toast-bg: rgba(255, 255, 255, 0.5);
Expand Down Expand Up @@ -144,13 +148,13 @@

.surface {
background: rgba(0, 0, 0, .5);
filter: drop-shadow(0 0 20px rgb(214 44 216));
box-shadow: var(--main-shadow);
padding: 1rem;
}

.surface-dark {
background: rgba(0, 0, 0, .5);
filter: drop-shadow(0 0 20px hsl(299, 69%, 21%));
box-shadow: var(--main-shadow-dark);
padding: 1rem;
}

Expand All @@ -173,7 +177,7 @@
}

.code>.code-wrapper {
filter: drop-shadow(0 0 20px rgb(214 44 216));
box-shadow: var(--main-shadow);
}


Expand Down

0 comments on commit cc7bf61

Please sign in to comment.