From: jxnshi Date: Sun, 12 Jan 2025 16:43:08 +0000 (+0100) Subject: Add scanlines X-Git-Url: https://jxnshi.xyz/repos?a=commitdiff_plain;h=a2d99f72e27c96725b931de448886f3d69928abf;p=jxnshi.xyz.git Add scanlines --- a2d99f72e27c96725b931de448886f3d69928abf diff --cc public/style.css index 19f5356,4fd08d3..f3dc4e3 --- a/public/style.css +++ b/public/style.css @@@ -11,10 -11,6 +11,25 @@@ text-decoration: none; } +body::before { ++ content: ""; ++ position: fixed; ++ left: 0; ++ top: 0; ++ width: calc(100% + 32px); ++ height: calc(100% + 32px); + background-image: url("/scanlines.png"); ++ background-position: 0 0; ++ background-position-x: 0px; ++ background-position-y: 0px; ++ background-repeat: repeat; ++ background-repeat-x: repeat; ++ background-repeat-y: repeat; ++ pointer-events: none; ++ z-index: 10000000; ++ opacity: 0.1; +} + body { display: flex; flex-direction: column;