From eaf5e97266ee64e4e20168a8b30db987fe122cc2 Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Sun, 2 Feb 2014 05:18:44 +0000 Subject: [PATCH 1/2] PART ONE #543 I THINK YES --- public/flash.css | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/public/flash.css b/public/flash.css index c632405..12d3abb 100644 --- a/public/flash.css +++ b/public/flash.css @@ -1,23 +1,25 @@ -body { background: #000; font-family: sans-serif } - -.stamp { - text-align: center; +body { background: #000; font-family: sans-serif; text-align: center; } +blink +{ + animation:blink 1s; + animation-iteration-count: infinite; + -webkit-animation:blink 1s; + -webkit-animation-iteration-count: infinite; color: #FFF; font-size: 12em; } - -.flash { - text-decoration: blink; +@keyframes blink +{ + 0%{opacity:0.0;} + 50%{opacity:0.0;} + 50.01%{opacity:1.0;} + 100%{opacity:1.0;} +} +@-webkit-keyframes blink +{ + 0%{opacity:0.0;} + 50%{opacity:0.0;} + 50.01%{opacity:1.0;} + 100%{opacity:1.0;} } -@-webkit-keyframes blink { - from { opacity: 1.0; } - to { opacity: 0.0; } -} - -.flash { - -webkit-animation-name: blink; - -webkit-animation-iteration-count: infinite; - -webkit-animation-timing-function: cubic-bezier(1.0,0,0,1.0); - -webkit-animation-duration: 1s; -} From 8302c83001df83ac60b51fdc4ef4b4a74eeab0c2 Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Sun, 2 Feb 2014 05:19:48 +0000 Subject: [PATCH 2/2] close #543 --- views/flashy/flashy.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/flashy/flashy.jade b/views/flashy/flashy.jade index f05641f..ba7271b 100644 --- a/views/flashy/flashy.jade +++ b/views/flashy/flashy.jade @@ -6,6 +6,6 @@ html(lang='en') title #{name} web interface body div.container - div.stamp [ + blink [ span.flash(style='color: #'+colour+';') #{text} ]