aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2022-07-06 12:43:56 +0200
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2022-07-06 12:43:56 +0200
commitf2cace36820833b855a8617b4164e0728b0dabc2 (patch)
treeeccf60e229bcbc3cc9d61fb3882c9c74a2000bb9
parentae4c5387cb5e86ae89a2232dd3b27c159dfb6531 (diff)
downloadwebsite-f2cace36820833b855a8617b4164e0728b0dabc2.tar.gz
website-f2cace36820833b855a8617b4164e0728b0dabc2.zip
Fix gap within anchors and fixed headers
Ref: https://stackoverflow.com/a/24298427
-rw-r--r--assets/css/theme.css8
1 files changed, 8 insertions, 0 deletions
diff --git a/assets/css/theme.css b/assets/css/theme.css
index d4f06f0..d7f90f4 100644
--- a/assets/css/theme.css
+++ b/assets/css/theme.css
@@ -166,6 +166,14 @@ div.critical, div.critical {
padding: 3pt 7pt;
}
+[id]::before {
+ content: '';
+ display: block;
+ height: 75px;
+ margin-top: -75px;
+ visibility: hidden;
+}
+