summaryrefslogtreecommitdiff
path: root/styles/scanlines.css
blob: e48074bdcc967ec1a0a618defb1bc505d78919d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 */
}