From 77886579f4f552070bd9ea3a959f7a1ab49e7221 Mon Sep 17 00:00:00 2001 From: spikecodes <19519553+spikecodes@users.noreply.github.com> Date: Mon, 7 Dec 2020 11:20:24 -0800 Subject: [PATCH] Link Post Titles --- static/style.css | 8 ++++---- templates/post.html | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/static/style.css b/static/style.css index bfa9127..0ae23cf 100644 --- a/static/style.css +++ b/static/style.css @@ -193,6 +193,10 @@ span { font-weight: bold; } +.post_title { + font-size: 18px; +} + .post_score { margin-top: 1em; color: aqua; @@ -208,10 +212,6 @@ span { margin: 5px; } -.post_right > a { - color: aqua; -} - .post_right > p { opacity: 0.75; font-size: 16px; diff --git a/templates/post.html b/templates/post.html index 5c6874e..e719d14 100644 --- a/templates/post.html +++ b/templates/post.html @@ -17,12 +17,12 @@ u/{{ post.author }} {{ post.time }} -

+ {{ post.title }} {% if post.flair.0 != "" %} {{ post.flair.0 }} {% endif %} -

+ {% if post.post_type == "image" %} {% else if post.post_type == "video" %}