From b2d119e2085d724c32b0e0d072389a61f07c6921 Mon Sep 17 00:00:00 2001 From: Evonne Cheung Date: Tue, 3 Mar 2020 11:14:34 +1300 Subject: [PATCH] Stylesheet: Fix the target link for section headers The earlier fix resulted in section headers to not be displayed any more. --- source/mahara/static/mahara.css_t | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/source/mahara/static/mahara.css_t b/source/mahara/static/mahara.css_t index 5f90f52..f5694d3 100644 --- a/source/mahara/static/mahara.css_t +++ b/source/mahara/static/mahara.css_t @@ -465,6 +465,19 @@ a.incognito:hover { visibility: hidden; } +.section:target { + position: static; + visibility: visible; + top: 0; +} + +.section::before { + content: ''; + display: block; + height: 120px + margin-top: -120px; + visibility: hidden; +} /* -- Buttons --------------------------------------------------------------- */ .btn, .btn-default { -- GitLab