Center and align left

merge-requests/6/head
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 { .pgp {
font-size: var(--font-size4); float: left;
font-size: var(--font-size5);
color: var(--main-link-color); color: var(--main-link-color);
font-family: 'monospace'; font-family: 'monospace';
} }

View File

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

View File

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