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:
|
# 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)
|
||||||
|
|
|
||||||
|
|
@ -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 */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue