From 6405b4f64ef472fdcfc09075bf1f22054b27b3a0 Mon Sep 17 00:00:00 2001 From: Nathan Hare Date: Sun, 27 Sep 2015 07:42:16 -0400 Subject: [PATCH] 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 */ +}