From e52d65c3a77aee993efadab4f023383f6d8f16fd Mon Sep 17 00:00:00 2001 From: Miguel Date: Sat, 15 Nov 2014 17:05:36 +0300 Subject: [PATCH] highlighting current post via CSS :hover pseudo-element --- forms.tmpl | 2 +- public/css/style.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/forms.tmpl b/forms.tmpl index c9305d2..15839dc 100644 --- a/forms.tmpl +++ b/forms.tmpl @@ -123,7 +123,7 @@ # for row in posts: # inc(count) -
+
#let profileUrl = c.req.makeUri("profile/", false) & xmlEncode(%userName) diff --git a/public/css/style.css b/public/css/style.css index ebc470d..c5420f3 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -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 */