From b8c1be16f24f5c26f90484e3a597d12286112d80 Mon Sep 17 00:00:00 2001 From: XDTM Date: Tue, 19 Nov 2019 23:37:45 +0100 Subject: [PATCH] Makes the hypnosis text color animation smoother --- code/modules/goonchat/browserassets/css/browserOutput.css | 2 +- code/modules/goonchat/browserassets/css/browserOutput_white.css | 2 +- interface/stylesheet.dm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/goonchat/browserassets/css/browserOutput.css b/code/modules/goonchat/browserassets/css/browserOutput.css index a41e7a4aa16..6ce4444e64a 100644 --- a/code/modules/goonchat/browserassets/css/browserOutput.css +++ b/code/modules/goonchat/browserassets/css/browserOutput.css @@ -368,7 +368,7 @@ h1.alert, h2.alert {color: #000000;} .redtext {color: #c51e1e; font-size: 185%;} .clown {color: #ff70c1; font-size: 160%; font-family: "Comic Sans MS", cursive, sans-serif; font-weight: bold;} .his_grace {color: #15D512; font-family: "Courier New", cursive, sans-serif; font-style: italic;} -.hypnophrase {color: #202020; font-weight: bold; animation: hypnocolor 1500ms infinite;} +.hypnophrase {color: #202020; font-weight: bold; animation: hypnocolor 1500ms infinite; animation-direction: alternate;} @keyframes hypnocolor { 0% {color: #202020;} 25% {color: #4b02ac;} diff --git a/code/modules/goonchat/browserassets/css/browserOutput_white.css b/code/modules/goonchat/browserassets/css/browserOutput_white.css index 13819e94f16..9839b284c65 100644 --- a/code/modules/goonchat/browserassets/css/browserOutput_white.css +++ b/code/modules/goonchat/browserassets/css/browserOutput_white.css @@ -365,7 +365,7 @@ h1.alert, h2.alert {color: #000000;} .redtext {color: #FF0000; font-size: 185%;} .clown {color: #FF69Bf; font-size: 160%; font-family: "Comic Sans MS", cursive, sans-serif; font-weight: bold;} .his_grace {color: #15D512; font-family: "Courier New", cursive, sans-serif; font-style: italic;} -.hypnophrase {color: #0d0d0d; font-weight: bold; animation: hypnocolor 1500ms infinite;} +.hypnophrase {color: #0d0d0d; font-weight: bold; animation: hypnocolor 1500ms infinite; animation-direction: alternate;} @keyframes hypnocolor { 0% {color: #0d0d0d;} 25% {color: #410194;} diff --git a/interface/stylesheet.dm b/interface/stylesheet.dm index 79155c39a8c..bbbdbbbfea0 100644 --- a/interface/stylesheet.dm +++ b/interface/stylesheet.dm @@ -121,7 +121,7 @@ h1.alert, h2.alert {color: #000000;} .redtext {color: #FF0000; font-size: 3;} .clown {color: #FF69Bf; font-size: 3; font-family: "Comic Sans MS", cursive, sans-serif; font-weight: bold;} .his_grace {color: #15D512; font-family: "Courier New", cursive, sans-serif; font-style: italic;} -.hypnophrase {color: #3bb5d3; font-weight: bold; animation: hypnocolor 1500ms infinite;} +.hypnophrase {color: #3bb5d3; font-weight: bold; animation: hypnocolor 1500ms infinite; animation-direction: alternate;} @keyframes hypnocolor { 0% {color: #0d0d0d;} 25% {color: #410194;}