From b28ad32262106118864a245a3fea1d949a227d75 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Sun, 7 Nov 2021 16:09:17 +0100 Subject: [PATCH] offset links by header --- home/_includes/features.html | 3 ++- home/styles/index.css | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/home/_includes/features.html b/home/_includes/features.html index 160510b9..cc2fc6c7 100644 --- a/home/_includes/features.html +++ b/home/_includes/features.html @@ -2,7 +2,8 @@
-

{{ include.data.header.title }}

+ +

{{ include.data.header.title }}

{{ include.data.header.text }}

diff --git a/home/styles/index.css b/home/styles/index.css index d404f489..a55eead3 100644 --- a/home/styles/index.css +++ b/home/styles/index.css @@ -24,3 +24,10 @@ @apply text-gray-900 } } + +a.anchor { + display: block; + position: relative; + top: -72px; + visibility: hidden; +}