Link Post Titles

This commit is contained in:
spikecodes 2020-12-07 11:20:24 -08:00
parent 293a4d5c50
commit 77886579f4
2 changed files with 6 additions and 6 deletions

View File

@ -193,6 +193,10 @@ span {
font-weight: bold; font-weight: bold;
} }
.post_title {
font-size: 18px;
}
.post_score { .post_score {
margin-top: 1em; margin-top: 1em;
color: aqua; color: aqua;
@ -208,10 +212,6 @@ span {
margin: 5px; margin: 5px;
} }
.post_right > a {
color: aqua;
}
.post_right > p { .post_right > p {
opacity: 0.75; opacity: 0.75;
font-size: 16px; font-size: 16px;

View File

@ -17,12 +17,12 @@
<a class="post_author" href="/u/{{ post.author }}">u/{{ post.author }}</a> <a class="post_author" href="/u/{{ post.author }}">u/{{ post.author }}</a>
<span class="datetime">{{ post.time }}</span> <span class="datetime">{{ post.time }}</span>
</h4> </h4>
<h3 class="post_title"> <a href="{{ post.url }}" class="post_title">
{{ post.title }} {{ post.title }}
{% if post.flair.0 != "" %} {% if post.flair.0 != "" %}
<small style="color:{{ post.flair.2 }}; background:{{ post.flair.1 }}">{{ post.flair.0 }}</small> <small style="color:{{ post.flair.2 }}; background:{{ post.flair.1 }}">{{ post.flair.0 }}</small>
{% endif %} {% endif %}
</h3> </a>
{% if post.post_type == "image" %} {% if post.post_type == "image" %}
<img class="post_media" src="{{ post.media }}"/> <img class="post_media" src="{{ post.media }}"/>
{% else if post.post_type == "video" %} {% else if post.post_type == "video" %}