Center subtify logo
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ ERROR = "error"
|
|
34 |
urllib.request.urlretrieve('https://maximofn.com/wp-content/uploads/2023/11/subtify_logo-scaled.webp', "subtify_logo.webp")
|
35 |
subtify_logo = Image.open("subtify_logo.webp")
|
36 |
subtify_logo_width, subtify_logo_height = subtify_logo.size
|
37 |
-
factor =
|
38 |
new_width = subtify_logo_width // factor
|
39 |
new_height = subtify_logo_height // factor
|
40 |
|
@@ -142,7 +142,11 @@ html_social_media = '''
|
|
142 |
</div>
|
143 |
'''
|
144 |
|
145 |
-
html_subtify_logo = f"
|
|
|
|
|
|
|
|
|
146 |
|
147 |
html_buy_me_a_coffe = '''
|
148 |
<div style="float: right;">
|
|
|
34 |
urllib.request.urlretrieve('https://maximofn.com/wp-content/uploads/2023/11/subtify_logo-scaled.webp', "subtify_logo.webp")
|
35 |
subtify_logo = Image.open("subtify_logo.webp")
|
36 |
subtify_logo_width, subtify_logo_height = subtify_logo.size
|
37 |
+
factor = 4
|
38 |
new_width = subtify_logo_width // factor
|
39 |
new_height = subtify_logo_height // factor
|
40 |
|
|
|
142 |
</div>
|
143 |
'''
|
144 |
|
145 |
+
html_subtify_logo = f"""
|
146 |
+
<div style="display: flex; justify-content: center; align-items: center;">
|
147 |
+
<img src='https://maximofn.com/wp-content/uploads/2023/11/subtify_logo-scaled.webp' width={new_width}px height={new_height}px >
|
148 |
+
</div>
|
149 |
+
"""
|
150 |
|
151 |
html_buy_me_a_coffe = '''
|
152 |
<div style="float: right;">
|