diff --git a/epicyon-profile.css b/epicyon-profile.css index f8f6f27f2..a683f3c4a 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -194,6 +194,9 @@ --voteresult-width: 80%; --voteresult-width-mobile: 80%; --voteresult-width-tiny: 40%; + --vcard-icon-size: 32px; + --vcard-icon-size-mobile: 32px; + --vcard-icon-size-tiny: 32px; } @font-face { @@ -1074,6 +1077,10 @@ div.container { font-size: var(--font-size); color: var(--title-color); } + .vcard img { + width: var(--vcard-icon-size); + float: right; + } .followText { font-size: var(--follow-text-size1); font-family: 'NimbusSanL'; @@ -1837,6 +1844,10 @@ div.container { blockquote { font-size: var(--quote-font-size-mobile); } + .vcard img { + width: var(--vcard-icon-size-mobile); + float: right; + } .accountsTable { width: 100%; border: 0; @@ -2572,6 +2583,10 @@ div.container { blockquote { font-size: var(--quote-font-size-tiny); } + .vcard img { + width: var(--vcard-icon-size-tiny); + float: right; + } .accountsTable { width: 100%; border: 0; diff --git a/theme/blue/icons/vcard.png b/theme/blue/icons/vcard.png new file mode 100644 index 000000000..1c06642db Binary files /dev/null and b/theme/blue/icons/vcard.png differ diff --git a/theme/debian/icons/vcard.png b/theme/debian/icons/vcard.png new file mode 100644 index 000000000..1c06642db Binary files /dev/null and b/theme/debian/icons/vcard.png differ diff --git a/theme/default/icons/vcard.png b/theme/default/icons/vcard.png new file mode 100644 index 000000000..1c06642db Binary files /dev/null and b/theme/default/icons/vcard.png differ diff --git a/theme/hacker/icons/vcard.png b/theme/hacker/icons/vcard.png new file mode 100644 index 000000000..e2d479f73 Binary files /dev/null and b/theme/hacker/icons/vcard.png differ diff --git a/theme/henge/icons/vcard.png b/theme/henge/icons/vcard.png new file mode 100644 index 000000000..f587975fb Binary files /dev/null and b/theme/henge/icons/vcard.png differ diff --git a/theme/indymediaclassic/icons/vcard.png b/theme/indymediaclassic/icons/vcard.png new file mode 100644 index 000000000..689ccaa79 Binary files /dev/null and b/theme/indymediaclassic/icons/vcard.png differ diff --git a/theme/indymediamodern/icons/vcard.png b/theme/indymediamodern/icons/vcard.png new file mode 100644 index 000000000..070a0c3bd Binary files /dev/null and b/theme/indymediamodern/icons/vcard.png differ diff --git a/theme/lcd/icons/vcard.png b/theme/lcd/icons/vcard.png new file mode 100644 index 000000000..4d0bfa1c8 Binary files /dev/null and b/theme/lcd/icons/vcard.png differ diff --git a/theme/light/icons/vcard.png b/theme/light/icons/vcard.png new file mode 100644 index 000000000..ca534b08f Binary files /dev/null and b/theme/light/icons/vcard.png differ diff --git a/theme/night/icons/vcard.png b/theme/night/icons/vcard.png new file mode 100644 index 000000000..1c06642db Binary files /dev/null and b/theme/night/icons/vcard.png differ diff --git a/theme/pixel/icons/vcard.png b/theme/pixel/icons/vcard.png new file mode 100644 index 000000000..61922593f Binary files /dev/null and b/theme/pixel/icons/vcard.png differ diff --git a/theme/purple/icons/vcard.png b/theme/purple/icons/vcard.png new file mode 100644 index 000000000..5db426e3b Binary files /dev/null and b/theme/purple/icons/vcard.png differ diff --git a/theme/rc3/icons/vcard.png b/theme/rc3/icons/vcard.png new file mode 100644 index 000000000..d50d4971a Binary files /dev/null and b/theme/rc3/icons/vcard.png differ diff --git a/theme/solidaric/icons/vcard.png b/theme/solidaric/icons/vcard.png new file mode 100644 index 000000000..e51daf988 Binary files /dev/null and b/theme/solidaric/icons/vcard.png differ diff --git a/theme/starlight/icons/vcard.png b/theme/starlight/icons/vcard.png new file mode 100644 index 000000000..8fda1ad28 Binary files /dev/null and b/theme/starlight/icons/vcard.png differ diff --git a/theme/zen/icons/vcard.png b/theme/zen/icons/vcard.png new file mode 100644 index 000000000..10ae466cf Binary files /dev/null and b/theme/zen/icons/vcard.png differ diff --git a/webapp_profile.py b/webapp_profile.py index 709000cf2..4ce7c4e84 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -453,6 +453,14 @@ def _get_profile_header(base_dir: str, http_prefix: str, '
' + profile_description_short + '
\n' + login_button if pinned_content: html_str += pinned_content.replace('', '
📎', 1) + + # show vcard download link + html_str += \ + ' ' + \ + '\n' + html_str += \ ' \n' + \ ' \n\n'