forked from indymedia/epicyon
Conventional image banner
parent
50763bc93e
commit
574fb37e3e
|
@ -1049,12 +1049,7 @@ aside .toggle-inside li {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.timeline-banner {
|
.timeline-banner {
|
||||||
background-image: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.5)), url("banner.png");
|
width: 100vw;
|
||||||
height: 15%;
|
|
||||||
background-position: center;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-size: 100% 100%;
|
|
||||||
position: relative;
|
|
||||||
}
|
}
|
||||||
.timeline {
|
.timeline {
|
||||||
border: 0;
|
border: 0;
|
||||||
|
|
|
@ -3462,7 +3462,7 @@ def htmlProfile(defaultTimeline: str,
|
||||||
|
|
||||||
# If this is the news account then show a different banner
|
# If this is the news account then show a different banner
|
||||||
if isSystemAccount(nickname):
|
if isSystemAccount(nickname):
|
||||||
profileHeaderStr = '<div class="timeline-banner"></div>\n'
|
profileHeaderStr = '<img class="timeline-banner" src="banner.png" />\n'
|
||||||
profileHeaderStr += '<center>' + loginButton + '</center>\n'
|
profileHeaderStr += '<center>' + loginButton + '</center>\n'
|
||||||
|
|
||||||
profileHeaderStr += '<table class="timeline">\n'
|
profileHeaderStr += '<table class="timeline">\n'
|
||||||
|
@ -6416,8 +6416,7 @@ def htmlTimeline(defaultTimeline: str,
|
||||||
'<a href="/users/' + nickname + '" title="' + \
|
'<a href="/users/' + nickname + '" title="' + \
|
||||||
translate['Switch to profile view'] + '" alt="' + \
|
translate['Switch to profile view'] + '" alt="' + \
|
||||||
translate['Switch to profile view'] + '">\n'
|
translate['Switch to profile view'] + '">\n'
|
||||||
tlStr += '<div class="timeline-banner">'
|
tlStr += '<img class="timeline-banner" src="banner.png" />\n'
|
||||||
tlStr += '</div>\n</a>\n'
|
|
||||||
|
|
||||||
if fullWidthTimelineButtonHeader:
|
if fullWidthTimelineButtonHeader:
|
||||||
tlStr += \
|
tlStr += \
|
||||||
|
|
Loading…
Reference in New Issue