Text color and stuff
This commit is contained in:
parent
afbd01aa62
commit
3b0b6ed653
|
@ -226,9 +226,14 @@ pre > code {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.post__id:link { color: black; }
|
||||||
|
|
||||||
.post__id:link::first-letter { text-decoration: underline; }
|
.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 {
|
.post__date, .post__author, .post__body {
|
||||||
margin: 1em 0.5em;
|
margin: 1em 0.5em;
|
||||||
|
|
|
@ -42,8 +42,9 @@
|
||||||
<% for my $remark (@{$remarks}) { =%>
|
<% for my $remark (@{$remarks}) { =%>
|
||||||
<article class="post">
|
<article class="post">
|
||||||
<h4 class="post__title">
|
<h4 class="post__title">
|
||||||
<%= link_to $remark->{'date'}, single_remark =>
|
<span>
|
||||||
{remark_id => $remark->{'id'}} %>
|
<%= $remark->{'date'} %>
|
||||||
|
</span>
|
||||||
<%= link_to "#$remark->{'id'}", single_remark =>
|
<%= link_to "#$remark->{'id'}", single_remark =>
|
||||||
{remark_id => $remark->{'id'}}, (class => 'post__id') %>
|
{remark_id => $remark->{'id'}}, (class => 'post__id') %>
|
||||||
</h4>
|
</h4>
|
||||||
|
|
|
@ -5,9 +5,9 @@
|
||||||
<% for my $thread (@{$threads}) { =%>
|
<% for my $thread (@{$threads}) { =%>
|
||||||
<article class="post">
|
<article class="post">
|
||||||
<h3 class="post__title">
|
<h3 class="post__title">
|
||||||
<%= link_to single_thread => {thread_id => $thread->{'id'}}, begin %>
|
<span>
|
||||||
<%= $thread->{'title'} %>
|
<%= $thread->{'title'} %>
|
||||||
<% end %>
|
</span>
|
||||||
<%= link_to "#$thread->{'id'}", single_thread =>
|
<%= link_to "#$thread->{'id'}", single_thread =>
|
||||||
{thread_id => $thread->{'id'}}, (class => 'post__id') %>
|
{thread_id => $thread->{'id'}}, (class => 'post__id') %>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user