From 65e5e4eec3d0cbca7a05886f9e409f034ccd8726 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 10 Jun 2020 14:14:26 +0100 Subject: [PATCH] Simplify --- epicyon-follow.css | 7 ++++++- webinterface.py | 5 +---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/epicyon-follow.css b/epicyon-follow.css index b73b9a8c..b7e6cc9a 100644 --- a/epicyon-follow.css +++ b/epicyon-follow.css @@ -67,7 +67,12 @@ a:link { } .searchBanner { - height: 10%; + background-image: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.5)), url("search_banner.png"); + width: 90%; + background-position: center; + background-repeat: no-repeat; + background-size: cover; + position: relative; } .follow { diff --git a/webinterface.py b/webinterface.py index 4d933048..3ed71acf 100644 --- a/webinterface.py +++ b/webinterface.py @@ -5881,10 +5881,7 @@ def htmlSearch(translate: {}, if os.path.isfile(themeSearchBannerFilename): copyfile(themeSearchBannerFilename, searchBannerFilename) if os.path.isfile(searchBannerFilename): - followStr += \ - '
>
' \ - '
' + followStr += '
' # show the search box followStr += '
'