diff --git a/assets/css/crt.css b/assets/css/crt.css index aaf0e29..3972c89 100644 --- a/assets/css/crt.css +++ b/assets/css/crt.css @@ -170,12 +170,10 @@ http://aleclownes.com/2017/02/01/crt-display.html z-index: 2; pointer-events: none; animation: flicker 3s infinite; - width: 100%; - height: 100%; + width: inherit; + height: inherit; } - - .crt::before { content: " "; display: block; @@ -186,11 +184,10 @@ http://aleclownes.com/2017/02/01/crt-display.html right: auto; z-index: 2; pointer-events: none; - background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06)); background-size: 100% 2px, 3px 100%; - width: 100%; - height: 100%; + width: inherit; + height: inherit; } .crt {