From 57a15fe2df91e36befcc0b5c74d9b6e8720239b7 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 17 Dec 2019 21:08:53 +0000 Subject: [PATCH] Style for pgp public key --- epicyon-follow.css | 6 ++++++ epicyon-profile.css | 11 +++++++++++ webinterface.py | 4 ++-- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/epicyon-follow.css b/epicyon-follow.css index dee2d408..825837e9 100644 --- a/epicyon-follow.css +++ b/epicyon-follow.css @@ -75,6 +75,12 @@ a:link { color: var(--main-link-color); } +.pgp { + font-size: var(--font-size4); + color: var(--main-link-color); + font-family: 'monospace'; +} + .button { border-radius: 4px; background-color: var(--button-background); diff --git a/epicyon-profile.css b/epicyon-profile.css index 012991b8..0dcf317a 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -284,6 +284,17 @@ a:link { color: var(--main-fg-color); } +.imText { + font-size: var(--font-size4); + color: var(--main-link-color); +} + +.pgp { + font-size: var(--font-size4); + color: var(--main-link-color); + font-family: 'monospace'; +} + .container img.announceOrReply { float: none; width: 30px; diff --git a/webinterface.py b/webinterface.py index 512ea2a0..ec8104fb 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1552,7 +1552,7 @@ def htmlProfile(defaultTimeline: str, \ if matrixAddress: donateSection+='

'+translate['Matrix']+': '+matrixAddress+'

\n' if PGPpubKey: - donateSection+='

'+translate['PGP']+': '+PGPpubKey+'

\n' + donateSection+='

'+translate['PGP']+': '+PGPpubKey.replace('\n','
')+'

\n' donateSection+=' \n' donateSection+='\n' @@ -3422,7 +3422,7 @@ def htmlPersonOptions(translate: {},baseDir: str, \ if matrixAddress: optionsStr+='

Matrix: '+matrixAddress+'

' if PGPpubKey: - optionsStr+='

PGP: '+PGPpubKey+'

' + optionsStr+='

PGP: '+PGPpubKey.replace('\n','
')+'

' optionsStr+='
' optionsStr+=' ' optionsStr+=' '