Transparent text

main
Bob Mottram 2019-11-27 20:53:08 +00:00
parent c13440ffc8
commit 6516533689
2 changed files with 7 additions and 1 deletions

View File

@ -379,6 +379,11 @@ input[type=number] {
font-size: var(--font-size);
}
.transparent {
color: rgba(0, 0, 0, 0.0);
font-size: 0px;
}
.labelsright {
float: right;
font-size: var(--font-size);

View File

@ -2632,7 +2632,8 @@ def htmlTimeline(recentPostsCache: {},maxRecentPosts: int,
# banner and row of buttons
tlStr+='<a href="/users/'+nickname+'" title="'+translate['Switch to profile view']+'" alt="'+translate['Switch to profile view']+'">'
tlStr+='<div class="timeline-banner">'
tlStr+='<a href="/users/'+nickname+'">'+translate['Switch to profile view']+'</a>'
# Note: this creates a link to the profile page when viewed in lynx, but should be invisible in a graphical web browser
tlStr+='<a href="/users/'+nickname+'"><label class="transparent">'+translate['Switch to profile view']+'</label></a>'
tlStr+='</div></a>'
tlStr+='<div class="container">\n'
tlStr+=' <a href="'+actor+'/inbox"><button class="'+inboxButton+'"><span>'+translate['Inbox']+'</span></button></a>'