From fe2251b49c2d0398dbe47605f7be3e224f65a968 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 21 Jul 2019 21:22:58 +0100 Subject: [PATCH] Rounded corners of avatar images --- epicyon.css | 4 ++-- webinterface.py | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/epicyon.css b/epicyon.css index a4398247..5ad46366 100644 --- a/epicyon.css +++ b/epicyon.css @@ -30,14 +30,14 @@ body { max-width: 60px; width: 100%; margin-right: 20px; - border-radius: 50%; + border-radius: 10%; } .container img.attachment { max-width: 100%; margin-left: 25%; width: 50%; - border-radius: 0%; + border-radius: 10%; } .container img.right { float: right; diff --git a/webinterface.py b/webinterface.py index a0784ed2..87d2ea4d 100644 --- a/webinterface.py +++ b/webinterface.py @@ -90,6 +90,10 @@ def htmlProfile(profileJson: {}) -> str: ' color: white;' \ '}' \ '' \ + '.hero-text img {' \ + ' border-radius: 10%;' \ + '}' \ + '' \ '.hero-text button {' \ ' border: none;' \ ' outline: 0;' \