diff --git a/ozgursozluk/static/style.css b/ozgursozluk/static/style.css index ab98b07..37290a5 100644 --- a/ozgursozluk/static/style.css +++ b/ozgursozluk/static/style.css @@ -144,8 +144,9 @@ form input, form select, form button { } .author { - width: 50%; - margin: 3rem auto; + width: 45%; + text-align: center; + margin: 3rem auto 1rem auto; background-color: var(--entry-bg); } @@ -154,7 +155,7 @@ form input, form select, form button { width: 100px; height: 100px; border-radius: 50%; - margin-right: 0.5rem; + padding-top: 0.5rem; } .settings { @@ -178,7 +179,7 @@ form input, form select, form button { width: 100%; } - nav, .title, .description { + nav, .title, .description, .author { text-align: left; } diff --git a/ozgursozluk/templates/author.html b/ozgursozluk/templates/author.html index d32f765..57eccd1 100644 --- a/ozgursozluk/templates/author.html +++ b/ozgursozluk/templates/author.html @@ -3,21 +3,14 @@ {% block main %}
-
- -
- {{ author.nickname }} - {% if author.level != "" %} - -  - {{ author.level }} - {% endif %} -
-
-
- {% if author.biography != "" %} - {{ author.biography|safe }} -
+ +
+ {{ author.nickname }} + {% if author.level != "" %} + - + {{ author.level }} {% endif %} +
{{ author.entry_total_count }} entry - {{ author.user_follower_count }} follower @@ -25,4 +18,11 @@ {{ author.user_following_count }} following
+ {% if author.biography != "" %} +
+
+ {{ author.biography|safe }} +
+
+ {% endif %} {% endblock %}