diff --git a/static/css/main.css b/static/css/main.css index e94d312..948ad30 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -737,8 +737,9 @@ figcaption { /** Avatars **/ .avatar { + background-position: center; + background-size: cover; border-radius: 100%; - text-align: center; /* for alt-text */ } .avatar.small { diff --git a/templates/base.html.tera b/templates/base.html.tera index db40f8d..0fd1047 100644 --- a/templates/base.html.tera +++ b/templates/base.html.tera @@ -1,3 +1,5 @@ +{% import "macros" as macros %} +
@@ -33,8 +35,8 @@ {{ "Log Out" | _ }} - -{{ user.name }} @{{ user.username }} diff --git a/templates/macros.html.tera b/templates/macros.html.tera index e8ed7f4..6ac6a4f 100644 --- a/templates/macros.html.tera +++ b/templates/macros.html.tera @@ -52,7 +52,7 @@ {% macro comment(comm) %}
{{ author.summary | safe }} diff --git a/templates/users/header.html.tera b/templates/users/header.html.tera index c466e40..eded30e 100644 --- a/templates/users/header.html.tera +++ b/templates/users/header.html.tera @@ -1,6 +1,6 @@