diff --git a/tinyweb_forum/handlers.py b/tinyweb_forum/handlers.py index 16d0d18..4d8f6a6 100644 --- a/tinyweb_forum/handlers.py +++ b/tinyweb_forum/handlers.py @@ -19,16 +19,41 @@ def esc(s): FORUM_CSS = """ -""" +.forum-actions { margin: 0.5rem 0; } +a.forum-action, a.forum-action-inline { + color: #5a7880; text-decoration: none; border-bottom: none; font-size: 0.85rem; +} +a.forum-action:hover, a.forum-action-inline:hover { color: #90b4ac; border-bottom: none; } +p.meta { font-size: 0.85rem; color: #3a5560; } +.forum-form input[type=text], .forum-form input[type=url] { font-family: inherit; } +.forum .post { border-left-color: rgba(40, 70, 65, 0.3); } +""" class ForumHandlers: @@ -326,7 +351,7 @@ class ForumHandlers: if p["parent_id"]: parent_ref = f' ↪ reply' posts_html += ( - f'