diff options
author | 2022-07-06 12:43:56 +0200 | |
---|---|---|
committer | 2022-07-06 12:43:56 +0200 | |
commit | f2cace36820833b855a8617b4164e0728b0dabc2 (patch) | |
tree | eccf60e229bcbc3cc9d61fb3882c9c74a2000bb9 | |
parent | ae4c5387cb5e86ae89a2232dd3b27c159dfb6531 (diff) | |
download | website-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.css | 8 |
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; +} + |