diff --git a/epicyon-profile.css b/epicyon-profile.css index d52d1f848..0db76b891 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -432,6 +432,10 @@ input[type=submit] { opacity: 0.7; } +.donateLink { + font-size: var(--font-size3); +} + input[type=submit]:hover { background-color: var(--button-background); } diff --git a/webinterface.py b/webinterface.py index a1966609f..dadce3cc0 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1334,12 +1334,13 @@ def htmlProfile(translate: {},projectVersion: str, \ editProfileStr='' actor=profileJson['id'] - donateButton='' + donateLink='' donateUrl=getDonationUrl(profileJson) if donateUrl: if authorized: - donateButton+='
' - donateButton+='' + donateLink+='
'+translate['Donate']+'' + else: + donateLink='
' if not authorized: loginButton='
' @@ -1401,7 +1402,7 @@ def htmlProfile(translate: {},projectVersion: str, \ '

'+displayName+'

' \ '

@'+nickname+'@'+domainFull+'

' \ '

'+profileDescriptionShort+'

'+ \ - loginButton+donateButton+ \ + loginButton+donateLink+ \ ' ' \ '' profileStr= \