From 43f4128211cbc61ca1fcf3077a9dc9ce88f824f0 Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Fri, 23 Feb 2018 03:30:18 +0000 Subject: [PATCH] Add DBL banner sitewide --- webapp/titanembeds/static/css/style.css | 18 ++++++++++++++++++ .../titanembeds/templates/site_layout.html.j2 | 14 ++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/webapp/titanembeds/static/css/style.css b/webapp/titanembeds/static/css/style.css index 5fdd398..3e878f3 100644 --- a/webapp/titanembeds/static/css/style.css +++ b/webapp/titanembeds/static/css/style.css @@ -79,4 +79,22 @@ img.center-align { .card-panel.no-height-padding { padding-top: 0px; padding-bottom: 0px; +} + +#dblbanner { + background-color: darkblue; + text-align: center; + font-size: 12pt; + padding-top: 9px; + padding-bottom: 9px; + display: none; +} + +#dblbanner a { + transition: font-size 0.5s; + color: lightskyblue; +} + +#dblbanner a:hover { + font-size: 14pt; } \ No newline at end of file diff --git a/webapp/titanembeds/templates/site_layout.html.j2 b/webapp/titanembeds/templates/site_layout.html.j2 index 467c539..f25c2d3 100644 --- a/webapp/titanembeds/templates/site_layout.html.j2 +++ b/webapp/titanembeds/templates/site_layout.html.j2 @@ -27,6 +27,13 @@ {% include 'google_analytics.html.j2' %} +
+ + Hey! Upvote us on Discord Bots List to show your + appreciation of the Titan Embeds project! (We'll provide you with a royal + golden name in return for your vote) + +
{% if session['unauthenticated'] is defined and not session['unauthenticated'] %}