Smaller font for tox address

merge-requests/8/head
Bob Mottram 2020-08-14 13:50:51 +01:00
parent 1a173ab4bd
commit 847d84f32e
3 changed files with 21 additions and 10 deletions

View File

@ -26,6 +26,8 @@
--font-size4: 22px;
--font-size5: 20px;
--font-size-pgp-key: 16px;
--font-size-pgp-key2: 11px;
--font-size-tox: 8px;
--text-entry-foreground: #ccc;
--text-entry-background: #111;
--time-color: #aaa;
@ -116,11 +118,6 @@ a:link {
float: right;
}
.ssbaddr {
font-size: var(--font-size-pgp-key);
font-family: Arial, Helvetica, sans-serif;
}
.about {
font-size: var(--font-size5);
font-family: Arial, Helvetica, sans-serif;
@ -850,8 +847,15 @@ aside .toggle-inside li {
}
@media screen and (min-width: 400px) {
.toxaddr {
font-size: var(--font-size-tox);
font-family: Arial, Helvetica, sans-serif;
}
.ssbaddr {
font-size: var(--font-size-pgp-key);
font-family: Arial, Helvetica, sans-serif;
}
.pgp {
width: 79ch;
font-size: var(--font-size-pgp-key);
color: var(--main-link-color);
background: var(--link-bg-color);
@ -1260,9 +1264,16 @@ aside .toggle-inside li {
}
@media screen and (max-width: 1000px) {
.toxaddr {
font-size: var(--font-size-tox);
font-family: Arial, Helvetica, sans-serif;
}
.ssbaddr {
font-size: var(--font-size-pgp-key2);
font-family: Arial, Helvetica, sans-serif;
}
.pgp {
width: 40ch;
font-size: var(--font-size-pgp-key);
font-size: var(--font-size-pgp-key2);
color: var(--main-link-color);
background: var(--link-bg-color);
font-family: 'monospace';

View File

@ -2681,7 +2681,7 @@ def htmlProfile(defaultTimeline: str,
ssbAddress + '</label></p>\n'
if toxAddress:
donateSection += \
'<p>Tox: <label class="ssbaddr">' + \
'<p>Tox: <label class="toxaddr">' + \
toxAddress + '</label></p>\n'
if PGPfingerprint:
donateSection += \