From 13fae0466c6d6863833fda6fef2754db9c56b12b Mon Sep 17 00:00:00 2001 From: ubq323 Date: Sat, 19 Jun 2021 09:38:06 +0000 Subject: possibly it is nicer if all username links look the same --- apioforum/static/style.css | 6 +++++- apioforum/templates/base.html | 2 +- apioforum/templates/common.html | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/apioforum/static/style.css b/apioforum/static/style.css index c4a6d40..07936d2 100644 --- a/apioforum/static/style.css +++ b/apioforum/static/style.css @@ -17,9 +17,13 @@ body { font-family: sans-serif; word-wrap: break-word; } .post:last-of-type { border-bottom: 1px solid black; } .post-heading { font-size: smaller; } -.post-heading,.post-heading .username,.post-heading a:visited { +.post-heading,a.username { color: hsl(0,0%,25%); } +a.username { + font-weight: bold; + text-decoration: underline; +} .post-heading-em { font-weight: bold; } .post-content * { margin-bottom: 8px; margin-top: 8px; } .post-content > *:first-child { margin-top: 2px } diff --git a/apioforum/templates/base.html b/apioforum/templates/base.html index 3eb112e..ad4c3b2 100644 --- a/apioforum/templates/base.html +++ b/apioforum/templates/base.html @@ -19,7 +19,7 @@

home

{% if g.user %} -

{{g.user}}

+

{{g.user}}

{% if is_admin %}

admin

diff --git a/apioforum/templates/common.html b/apioforum/templates/common.html index c484a9d..3db9974 100644 --- a/apioforum/templates/common.html +++ b/apioforum/templates/common.html @@ -6,7 +6,7 @@
- {{disp_user(post.author)}} + {{disp_user(post.author)}} {{ts(post.created)}} {% if post.edited %} (edited {{ts(post.updated)}}) -- cgit v1.2.3