From a9af76f0ca08461e1edeccfbf229b149c3bdc889 Mon Sep 17 00:00:00 2001 From: Bates Date: Thu, 28 Mar 2024 17:06:04 +0100 Subject: [PATCH] fix: :bug: Remove CRT effect from popups The CRT effect no longer covers popups, which means you can now look at images without the scan lines! Thanks for the idea @trueblackeye --- src/_version.scss | 2 +- src/crtEffect.scss | 32 +++++++++++++++++++------------- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/src/_version.scss b/src/_version.scss index 31578a4..c575c4c 100644 --- a/src/_version.scss +++ b/src/_version.scss @@ -1,5 +1,5 @@ .info__755e1:last-child::after { - content: "Fallout 4 Terminal 2.0.8"; + content: "Fallout 4 Terminal 2.0.9"; font-size: 12px; line-height: 16px; color: rgb(var(--rgb-highlight)); diff --git a/src/crtEffect.scss b/src/crtEffect.scss index 44f52f8..5f99720 100644 --- a/src/crtEffect.scss +++ b/src/crtEffect.scss @@ -1,13 +1,19 @@ -html::after { - content: " "; - display: block; - position: absolute; - top: 0; - left: 0; - bottom: 0; - right: 0; - background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06)); - z-index: 2; - background-size: 100% 2px, 3px 100%; - pointer-events: none; -} \ No newline at end of file +body::after { + content: " "; + display: block; + position: absolute; + top: 0; + left: 0; + bottom: 0; + right: 0; + background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), + linear-gradient( + 90deg, + rgba(255, 0, 0, 0.06), + rgba(0, 255, 0, 0.02), + rgba(0, 0, 255, 0.06) + ); + z-index: 2; + background-size: 100% 2px, 3px 100%; + pointer-events: none; +}