From 32e5e6af4ba5c8017865fadd6be1b4eee92756fb Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Tue, 13 Oct 2015 23:27:01 -0700 Subject: [PATCH] Revert "Adjust spacing of section headers to account for nav bar (fix #986)" This reverts commit 73b8413d10751c7be3e54d83ea338b3e895bdda3. The fix for #986 caused #988. --- docs/public/css/base.scss | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/docs/public/css/base.scss b/docs/public/css/base.scss index 9661c66..ffef3de 100644 --- a/docs/public/css/base.scss +++ b/docs/public/css/base.scss @@ -72,25 +72,15 @@ body { /* manual.liquid ******************************************/ +section { + padding-top: 24px; +} + h3 code { border: 0; font-size: 20px; } -section { - /* Adjust spacing so that anchors are not hidden behind nav bar */ - position: relative; - top: -50px; - padding-top: 50px; - margin-bottom: -50px; - h2 { - margin-top: 50px; - } - h3 { - margin-top: 32px; - } -} - @media(max-width: 991px){ #navcolumn { /* Put nav column above manual content */ -- 2.40.0