From d26c9c8e70b4fa7f88e823074ba7d3e9a47632e3 Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Sun, 31 Mar 2019 20:40:54 +0000 Subject: [PATCH] Titan on overclock feature --- webapp/titanembeds/static/css/site.af.rainbow.css | 7 +++++++ webapp/titanembeds/templates/embed.html.j2 | 4 ++++ webapp/titanembeds/templates/site_layout.html.j2 | 4 ++++ 3 files changed, 15 insertions(+) create mode 100644 webapp/titanembeds/static/css/site.af.rainbow.css diff --git a/webapp/titanembeds/static/css/site.af.rainbow.css b/webapp/titanembeds/static/css/site.af.rainbow.css new file mode 100644 index 0000000..d23400b --- /dev/null +++ b/webapp/titanembeds/static/css/site.af.rainbow.css @@ -0,0 +1,7 @@ +html { + animation: rainbow 4s infinite; +} + +@keyframes rainbow { + 100% { filter: hue-rotate(360deg); } +} \ No newline at end of file diff --git a/webapp/titanembeds/templates/embed.html.j2 b/webapp/titanembeds/templates/embed.html.j2 index 30e23cf..fc50bff 100644 --- a/webapp/titanembeds/templates/embed.html.j2 +++ b/webapp/titanembeds/templates/embed.html.j2 @@ -12,6 +12,10 @@ + {% if af_mode_enabled %} + + {% endif %} + diff --git a/webapp/titanembeds/templates/site_layout.html.j2 b/webapp/titanembeds/templates/site_layout.html.j2 index 19231f9..11242f4 100644 --- a/webapp/titanembeds/templates/site_layout.html.j2 +++ b/webapp/titanembeds/templates/site_layout.html.j2 @@ -6,6 +6,10 @@ + + {% if af_mode_enabled %} + + {% endif %}