Center and align left

main
Bob Mottram 2019-12-17 21:28:43 +00:00
parent c8540341e7
commit 660636e93c
3 changed files with 5 additions and 3 deletions

View File

@ -76,7 +76,8 @@ a:link {
}
.pgp {
font-size: var(--font-size4);
float: left;
font-size: var(--font-size5);
color: var(--main-link-color);
font-family: 'monospace';
}

View File

@ -291,8 +291,7 @@ a:link {
.pgp {
float: left;
margin: 0% 20%;
font-size: var(--font-size4);
font-size: var(--font-size5);
color: var(--main-link-color);
font-family: 'monospace';
}

View File

@ -1553,7 +1553,9 @@ def htmlProfile(defaultTimeline: str, \
donateSection+='<p>'+translate['Matrix']+': '+matrixAddress+'</p>\n'
donateSection+=' </center>\n'
if PGPpubKey:
donateSection+='<div style="text-align: center;">'
donateSection+='<p class="pgp">'+translate['PGP']+': '+PGPpubKey.replace('\n','<br>')+'</p>\n'
donateSection+='</div>'
donateSection+='</div>\n'
if not authorized: