mirror of https://gitlab.com/bashrc2/epicyon
Simplify
parent
0f5537ad37
commit
65e5e4eec3
|
@ -67,7 +67,12 @@ a:link {
|
||||||
}
|
}
|
||||||
|
|
||||||
.searchBanner {
|
.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 {
|
.follow {
|
||||||
|
|
|
@ -5881,10 +5881,7 @@ def htmlSearch(translate: {},
|
||||||
if os.path.isfile(themeSearchBannerFilename):
|
if os.path.isfile(themeSearchBannerFilename):
|
||||||
copyfile(themeSearchBannerFilename, searchBannerFilename)
|
copyfile(themeSearchBannerFilename, searchBannerFilename)
|
||||||
if os.path.isfile(searchBannerFilename):
|
if os.path.isfile(searchBannerFilename):
|
||||||
followStr += \
|
followStr += '<center><div class="searchBanner"></div></center>'
|
||||||
'<center>><div class="searchBanner">' \
|
|
||||||
'<img loading="lazy" src="' + actor + '/search_banner.png" ' \
|
|
||||||
'title="" alt=""></div></center>'
|
|
||||||
|
|
||||||
# show the search box
|
# show the search box
|
||||||
followStr += '<div class="follow">'
|
followStr += '<div class="follow">'
|
||||||
|
|
Loading…
Reference in New Issue