From da7cd1f7d61644f51b4137ccda4e3a6c1b5a61b7 Mon Sep 17 00:00:00 2001 From: Thomas Schultz Date: Fri, 24 Jun 2016 14:47:14 -0400 Subject: [PATCH] Adjust anchor scroll. closes #1897. --- docs/_static/css/main.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/_static/css/main.css b/docs/_static/css/main.css index 1cc82f948563..6b2e6d0e1903 100644 --- a/docs/_static/css/main.css +++ b/docs/_static/css/main.css @@ -23,6 +23,14 @@ html { line-height: 1.4; } +*[id]:before { + display: block; + content: " "; + margin-top: -70px; + height: 70px; + visibility: hidden; +} + /* * Remove text-shadow in selection highlight: h5bp.com/i * These selection rule sets have to be separate.