Branch: refs/heads/master Author: Enrico Tröger enrico.troeger@uvena.de Committer: Enrico Tröger enrico.troeger@uvena.de Date: Sun, 09 Jan 2022 16:44:31 UTC Commit: ca4755d4f46d6a1471a610f9b97bc4bde1037649 https://github.com/geany/www.geany.org/commit/ca4755d4f46d6a1471a610f9b97bc4...
Log Message: ----------- Fix scrolling to link anchors by offsetting the navbar
Modified Paths: -------------- geany/static/css/main.css
Modified: geany/static/css/main.css 3 lines changed, 3 insertions(+), 0 deletions(-) =================================================================== @@ -60,6 +60,9 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { min-height: 40px; }
+/* add offset to anchor links to take the fixed navbar height into account */ +:target { scroll-margin-top: 60px; } + .carousel { margin-bottom: 10px; }
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).