From a010027db218fa6e1b075ae0b7bcde22c5d3cf10 Mon Sep 17 00:00:00 2001 From: Patrick Tschuchnig Date: Sat, 25 Jan 2020 23:05:39 +0100 Subject: [PATCH] fixed too large effects --- assets/css/crt.css | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) 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 {