diff options
| -rw-r--r-- | static/style.css | 19 | ||||
| -rw-r--r-- | templates/base.m4 | 2 |
2 files changed, 21 insertions, 0 deletions
diff --git a/static/style.css b/static/style.css index 9f114ef..6595584 100644 --- a/static/style.css +++ b/static/style.css @@ -117,6 +117,25 @@ pre { max-width: 100%; } +.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 */ +} + @media (min-width: 1000px) { .header-container { justify-content: center; diff --git a/templates/base.m4 b/templates/base.m4 index 9940303..f474537 100644 --- a/templates/base.m4 +++ b/templates/base.m4 @@ -35,5 +35,7 @@ <footer> Toda ofensa foi inteiramente proposital. </footer> + + <div class="scanlines"></div> </body> </html> |
