highlighting current post via CSS :hover pseudo-element

This commit is contained in:
Miguel 2014-11-15 17:05:36 +03:00
commit e52d65c3a7
2 changed files with 3 additions and 3 deletions

View file

@ -123,7 +123,7 @@
# for row in posts: # for row in posts:
# inc(count) # inc(count)
<a name="${%postId}"></a> <a name="${%postId}"></a>
<div> <div id="${%postId}">
<div class="author"> <div class="author">
<div> <div>
#let profileUrl = c.req.makeUri("profile/", false) & xmlEncode(%userName) #let profileUrl = c.req.makeUri("profile/", false) & xmlEncode(%userName)

View file

@ -512,8 +512,8 @@ hr
/* highlighting current post */ /* highlighting current post */
.post.current { div:target {
background-color: #fefff3; background: rgba(255, 255, 240, 0.25) !important;
} }
/* full-text search */ /* full-text search */