Permalink
Browse files

add another index color

  • Loading branch information...
xiaocang committed Jan 11, 2019
1 parent 516029d commit 2e3d6782b1bf5c43d149fabe961b7fb09c84a2c5
Showing with 6 additions and 1 deletion.
  1. +3 −1 layout/index.swig
  2. +3 −0 source/css/index.css
@@ -28,7 +28,9 @@

<tr class="blog-table">
<td>{{ post.date | date("Y-m-d") }}</td>
<td><a class="post-list-item" href="{{ url_for(post.path) }}">{{ post.title | escape }}</a></td>
<td {% if post.layout === 'life' %}class="alt-body"{% endif %}>
<a class="post-list-item" href="{{ url_for(post.path) }}">{{ post.title | escape }}</a>
</td>
</tr>
{% endfor %}

@@ -83,6 +83,9 @@ a:hover {
.main-body a, .main-body a:visited {
color: rgb(220, 0, 0);
}
.alt-body a, .alt-body a:visited {
color: #0012ff;
}
.main-body a:hover {
color: rgb(10, 10, 10);
}

0 comments on commit 2e3d678

Please sign in to comment.