From 557a0b6ce0419d133d03e4c6432e3532eb2e5fbb Mon Sep 17 00:00:00 2001 From: billz Date: Fri, 6 Oct 2017 23:46:58 +0000 Subject: [PATCH] Added VT100 scan line effect --- dist/css/terminal.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/dist/css/terminal.css b/dist/css/terminal.css index ae6f35c4..c5c8a8ab 100644 --- a/dist/css/terminal.css +++ b/dist/css/terminal.css @@ -86,6 +86,20 @@ a:focus, a:hover { border-top: 1px solid #33ff00; } +.panel-primary>.panel-heading::before, .navbar-default::before { + content: " "; + display: block; + position: absolute; + top: 0; + left: 0; + bottom: 0; + right: 0; + 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)); + z-index: 2; + background-size: 100% 2px, 3px 100%; + pointer-events: none; +} + .sidebar ul li a.active,.sidebar ul li a.hover { background-color: #000; }