Skip to content

Commit

Permalink
fix: 🐛 Remove CRT effect from popups
Browse files Browse the repository at this point in the history
The CRT effect no longer covers popups, which means you can now look at images without the scan lines! Thanks for the idea @trueblackeye
  • Loading branch information
B4T3S committed Mar 28, 2024
1 parent e4bcec4 commit a9af76f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/_version.scss
Original file line number Diff line number Diff line change
@@ -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));
Expand Down
32 changes: 19 additions & 13 deletions src/crtEffect.scss
Original file line number Diff line number Diff line change
@@ -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;
}
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;
}

0 comments on commit a9af76f

Please sign in to comment.