]> jxnshi.xyz Git - jxnshi.xyz.git/commitdiff
Add scanlines
authorjxnshi <jxnshi@cock.li>
Sun, 12 Jan 2025 16:43:08 +0000 (17:43 +0100)
committerjxnshi <jxnshi@cock.li>
Sun, 12 Jan 2025 16:43:08 +0000 (17:43 +0100)
1  2 
public/style.css

index 19f535685a4a980b89f852e664537071adfe6283,4fd08d317f371f91d495d7225482a6b9da7de278..f3dc4e3bf0163317e6bfcdad042646abd73523ca
      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;