aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorubq323 <ubq323>2021-06-19 10:11:29 +0000
committerubq323 <ubq323>2021-06-19 10:11:29 +0000
commitac17795f8401411362249611e3b6967b20eb40f8 (patch)
tree050ca217116904f6f9176aa2a189c0a3c05fe9d3
parentf713801e45320d4f9739d03689270c19ddc8ed88 (diff)
parent13fae0466c6d6863833fda6fef2754db9c56b12b (diff)
mergificate
-rw-r--r--apioforum/static/style.css6
-rw-r--r--apioforum/templates/base.html2
-rw-r--r--apioforum/templates/common.html2
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 4e28f45..573c9ce 100644
--- a/apioforum/templates/base.html
+++ b/apioforum/templates/base.html
@@ -20,7 +20,7 @@
<p><a href="{{url_for('index')}}">home</a></p>
{% if g.user %}
- <p><a href="{{url_for('user.view_user', username=g.user)}}">{{g.user}}</a></p>
+ <p><a class="username" href="{{url_for('user.view_user', username=g.user)}}">{{g.user}}</a></p>
{% if is_admin %}
<p><a href="{{url_for('admin.admin_page')}}">admin</a></p>
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 @@
<div class="post" id="post_{{post.id}}">
<div class="post-heading">
<span class="post-heading-a">
- <span class="post-heading-em">{{disp_user(post.author)}}</span>
+ {{disp_user(post.author)}}
{{ts(post.created)}}
{% if post.edited %}
(edited {{ts(post.updated)}})