From 19ac84ad1689a900c9779d088270d870c6a947ec Mon Sep 17 00:00:00 2001 From: Dot-Rar Date: Sat, 8 Feb 2020 23:00:29 +0000 Subject: [PATCH] fix avatars --- public/static/css/style.css | 9 --------- public/templates/includes/head.tmpl | 29 ++++++++++++++++++++++++----- 2 files changed, 24 insertions(+), 14 deletions(-) diff --git a/public/static/css/style.css b/public/static/css/style.css index ea08705..f0a7743 100644 --- a/public/static/css/style.css +++ b/public/static/css/style.css @@ -16,15 +16,6 @@ body { width: 100%; } -.avatar { - background: url("{{.avatar}}?size=32"); - width: 28px; - height: 29px; - display: block; - background-size: cover; - border-radius: 50%; -} - .nav-link { color: white !important; } diff --git a/public/templates/includes/head.tmpl b/public/templates/includes/head.tmpl index 11ddc7c..16e3e4b 100644 --- a/public/templates/includes/head.tmpl +++ b/public/templates/includes/head.tmpl @@ -13,17 +13,36 @@ + + - + - - - + + + - + {{end}} \ No newline at end of file