highlighting current post via CSS :hover pseudo-element
This commit is contained in:
parent
eb769485e6
commit
e52d65c3a7
2 changed files with 3 additions and 3 deletions
|
|
@ -123,7 +123,7 @@
|
|||
# for row in posts:
|
||||
# inc(count)
|
||||
<a name="${%postId}"></a>
|
||||
<div>
|
||||
<div id="${%postId}">
|
||||
<div class="author">
|
||||
<div>
|
||||
#let profileUrl = c.req.makeUri("profile/", false) & xmlEncode(%userName)
|
||||
|
|
|
|||
|
|
@ -512,8 +512,8 @@ hr
|
|||
|
||||
/* highlighting current post */
|
||||
|
||||
.post.current {
|
||||
background-color: #fefff3;
|
||||
div:target {
|
||||
background: rgba(255, 255, 240, 0.25) !important;
|
||||
}
|
||||
|
||||
/* full-text search */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue