summaryrefslogtreecommitdiff
path: root/src/css/scanlines.css
diff options
context:
space:
mode:
authoresquizo <esquizo+noreply@esquizo.net>2026-06-14 10:40:36 -0300
committeresquizo <esquizo+noreply@esquizo.net>2026-06-14 10:40:36 -0300
commitda9ab628e308bc2c78551d68b782526cd2bf6797 (patch)
tree111700638cfb844f1eb0c307734b656c6c6d3b7d /src/css/scanlines.css
parent160bd49d26e2ddda4b227ed672742ffc019f4d3d (diff)
parentbad609c6ba794835f6694f9fdf889742e92785dd (diff)
Merge branch 'scanlines-and-bundling'
Diffstat (limited to 'src/css/scanlines.css')
-rw-r--r--src/css/scanlines.css20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/css/scanlines.css b/src/css/scanlines.css
new file mode 100644
index 0000000..e48074b
--- /dev/null
+++ b/src/css/scanlines.css
@@ -0,0 +1,20 @@
+
+.scanlines::before {
+ content: " ";
+ display: block;
+ position: fixed;
+ top: 0;
+ left: 0;
+ bottom: 0;
+ right: 0;
+ background: repeating-linear-gradient(
+ rgba(18, 16, 16, 0) 0px,
+ rgba(18, 16, 16, 0) 1px,
+ rgba(0, 0, 0, 0.25) 1px,
+ rgba(0, 0, 0, 0.25) 2px
+ );
+ background-size: 100% 100%;
+ z-index: 10;
+ pointer-events: none; /* Allows users to click elements underneath */
+}
+