Text color and stuff

This commit is contained in:
swag 2023-05-24 21:57:54 -04:00
parent afbd01aa62
commit 3b0b6ed653
3 changed files with 11 additions and 5 deletions

View File

@ -226,9 +226,14 @@ pre > code {
white-space: nowrap;
}
.post__id:link { color: black; }
.post__id:link::first-letter { text-decoration: underline; }
.post__id:active { border: inset; }
.post__id:active {
color: black;
border: inset;
}
.post__date, .post__author, .post__body {
margin: 1em 0.5em;

View File

@ -42,8 +42,9 @@
<% for my $remark (@{$remarks}) { =%>
<article class="post">
<h4 class="post__title">
<%= link_to $remark->{'date'}, single_remark =>
{remark_id => $remark->{'id'}} %>
<span>
<%= $remark->{'date'} %>
</span>
<%= link_to "#$remark->{'id'}", single_remark =>
{remark_id => $remark->{'id'}}, (class => 'post__id') %>
</h4>

View File

@ -5,9 +5,9 @@
<% for my $thread (@{$threads}) { =%>
<article class="post">
<h3 class="post__title">
<%= link_to single_thread => {thread_id => $thread->{'id'}}, begin %>
<span>
<%= $thread->{'title'} %>
<% end %>
</span>
<%= link_to "#$thread->{'id'}", single_thread =>
{thread_id => $thread->{'id'}}, (class => 'post__id') %>
</h3>