Text color and stuff
This commit is contained in:
parent
afbd01aa62
commit
3b0b6ed653
|
@ -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;
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue