Show qrcode above handle

main
Bob Mottram 2020-06-21 16:54:38 +00:00
parent a00a8ed794
commit 58e57e1987
2 changed files with 13 additions and 8 deletions

View File

@ -205,12 +205,6 @@ a:link {
min-width: 200px; min-width: 200px;
} }
.hero-text img.qrcode {
border-radius: 1%;
width: 10%;
min-width: 20px;
}
.hero-text img.emoji { .hero-text img.emoji {
width: 50px; width: 50px;
padding: 0 0; padding: 0 0;
@ -1040,6 +1034,11 @@ div.gallery img {
font-family: Arial, Helvetica, sans-serif; font-family: Arial, Helvetica, sans-serif;
opacity: 0.7; opacity: 0.7;
} }
.hero-text img.qrcode {
border-radius: 1%;
width: 5%;
min-width: 20px;
}
} }
@media screen and (min-width: 2200px) { @media screen and (min-width: 2200px) {
@ -1392,4 +1391,9 @@ div.gallery img {
font-family: Arial, Helvetica, sans-serif; font-family: Arial, Helvetica, sans-serif;
opacity: 0.7; opacity: 0.7;
} }
.hero-text img.qrcode {
border-radius: 1%;
width: 15%;
min-width: 20px;
}
} }

View File

@ -2562,10 +2562,11 @@ def htmlProfile(defaultTimeline: str,
profileHeaderStr += ' <h1>' + displayName + '</h1>' profileHeaderStr += ' <h1>' + displayName + '</h1>'
iconsDir = getIconsDir(baseDir) iconsDir = getIconsDir(baseDir)
profileHeaderStr += \ profileHeaderStr += \
' <p><b>@' + nickname + '@' + domainFull + \ '<p><a href="/users/' + nickname + \
'</b> <a href="/users/' + nickname + \
'/qrcode.png" alt="QR Code" title="QR Code">' + \ '/qrcode.png" alt="QR Code" title="QR Code">' + \
'<img class="qrcode" src="/' + iconsDir + '/qrcode.png" /></a></p>' '<img class="qrcode" src="/' + iconsDir + '/qrcode.png" /></a></p>'
profileHeaderStr += \
'<p><b>@' + nickname + '@' + domainFull + '</b></p>'
profileHeaderStr += ' <p>' + profileDescriptionShort + '</p>' profileHeaderStr += ' <p>' + profileDescriptionShort + '</p>'
profileHeaderStr += loginButton profileHeaderStr += loginButton
profileHeaderStr += ' </div>' profileHeaderStr += ' </div>'