From bda9bdfbc533d1139648a9d2430f6e7df61f34a3 Mon Sep 17 00:00:00 2001 From: curben <2809763-curben@users.noreply.gitlab.com> Date: Thu, 17 Oct 2019 11:16:06 +0100 Subject: [PATCH] fix(css): align badge to the left --- themes/chameleon/layout/layout.ejs | 2 +- themes/chameleon/source/css/typing.css | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/themes/chameleon/layout/layout.ejs b/themes/chameleon/layout/layout.ejs index 1e616fa..a3b3a9b 100644 --- a/themes/chameleon/layout/layout.ejs +++ b/themes/chameleon/layout/layout.ejs @@ -3,7 +3,7 @@ <%- partial('_partial/head', {}, { cache: true }) %> <%/* set /about page to use "home" page layout */%> <% if (is_current('about/index.html')) { %> - + <% } else {%> <% } %> diff --git a/themes/chameleon/source/css/typing.css b/themes/chameleon/source/css/typing.css index 243cf51..bf599e6 100644 --- a/themes/chameleon/source/css/typing.css +++ b/themes/chameleon/source/css/typing.css @@ -311,6 +311,11 @@ span.index-list-count:after { justify-content: center; } +/* align badge to the left */ +.about-body .article .article-entry img { + margin: auto 0 .5em; +} + .home { font-weight: lighter; line-height: 1.4;