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

@ -1258,7 +1258,7 @@ class PubServer(BaseHTTPRequestHandler):
"theme_color": "grey", "theme_color": "grey",
"orientation": "portrait-primary", "orientation": "portrait-primary",
"categories": ["microblog", "fediverse", "activitypub"], "categories": ["microblog", "fediverse", "activitypub"],
"screenshots" : [ "screenshots": [
{ {
"src": "/mobile.jpg", "src": "/mobile.jpg",
"sizes": "418x851", "sizes": "418x851",

View File

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

View File

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