From 2e0caa8e06f44325767485a425e00e401eb21ae6 Mon Sep 17 00:00:00 2001 From: Brendan Heywood Date: Thu, 25 Feb 2016 21:13:11 +1100 Subject: [PATCH] MDL-53050 mod_forum: Add anchor target highlight style --- mod/forum/styles.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/mod/forum/styles.css b/mod/forum/styles.css index 44a217c158c..c6867924b1d 100644 --- a/mod/forum/styles.css +++ b/mod/forum/styles.css @@ -120,6 +120,17 @@ span.unread { border-bottom: 1px solid #DDD; } +/* Forumpost hash anchor target */ +.path-mod-forum :target + :before { + display: block; + width: 4px; + position: absolute; + background: #0070a8; + left: -1px; + top: -1px; + bottom: -1px; +} + /* Discussion navigation */ .path-mod-forum .discussion-nav { margin: .5em 0;