From 1930ade3f7652c5c350af9e2eff1d70a5beac1e8 Mon Sep 17 00:00:00 2001 From: Robin Malley Date: Fri, 25 Nov 2022 04:07:38 +0000 Subject: [PATCH] Add a border around author biographies --- assets/style.css | 1 + src/pages/author_index.etlua.in | 10 +++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/assets/style.css b/assets/style.css index 6634735..48bd49f 100644 --- a/assets/style.css +++ b/assets/style.css @@ -32,6 +32,7 @@ p,.tag-list{margin-bottom:0px} } .column-0{margin-right:5px} .label-inline{margin:0.5rem} +.biography{border:1px solid #9b4dca} @media (prefers-color-scheme: dark){ body, input, select, textarea, pre, code{ diff --git a/src/pages/author_index.etlua.in b/src/pages/author_index.etlua.in index 81bf62f..243f5fd 100644 --- a/src/pages/author_index.etlua.in +++ b/src/pages/author_index.etlua.in @@ -20,9 +20,13 @@ -
- <%- bio %> -
+<% if bio ~= "" then %> +
+
+ <%- bio %> +
+
+<% end %>
<% if #stories == 0 then %> This author has not made any pastes yet.