From 6405b4f64ef472fdcfc09075bf1f22054b27b3a0 Mon Sep 17 00:00:00 2001 From: Nathan Hare Date: Sun, 27 Sep 2015 07:42:16 -0400 Subject: [PATCH 1/3] Adjust anchor links to display in correct position --- assets/css/main.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/assets/css/main.scss b/assets/css/main.scss index d134715..0757bc4 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -80,3 +80,9 @@ code { .inline { display: inline; } +:target:before { + content: ""; + display: block; + height: 60px; /* fixed header height*/ + margin: -60px 0 0; /* negative fixed header height */ +} From 01b4d13f4b8e0be61ffb8fbf14b696896306c1cc Mon Sep 17 00:00:00 2001 From: Nathan Hare Date: Mon, 5 Oct 2015 12:43:24 -0400 Subject: [PATCH 2/3] Change comment to provide more information --- assets/css/main.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/css/main.scss b/assets/css/main.scss index 0757bc4..7f4e86b 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -80,9 +80,9 @@ code { .inline { display: inline; } -:target:before { +:target:before { // Adjust anchor link location to no cover titles with header content: ""; display: block; - height: 60px; /* fixed header height*/ - margin: -60px 0 0; /* negative fixed header height */ + height: 60px; + margin: -60px 0 0; } From eda8adece5d43813138a3538b61d84344758aac7 Mon Sep 17 00:00:00 2001 From: Nathan Hare Date: Mon, 5 Oct 2015 12:44:26 -0400 Subject: [PATCH 3/3] Fix typo in comment --- assets/css/main.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/css/main.scss b/assets/css/main.scss index 7f4e86b..492fb36 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -80,7 +80,7 @@ code { .inline { display: inline; } -:target:before { // Adjust anchor link location to no cover titles with header +:target:before { // Adjust anchor link location to not cover titles with header content: ""; display: block; height: 60px;