[PHP-WEBMASTER] [web-php] master: Add scroll padding for anchor links (#1214)

Author: Pavel Djundik (xPaw)
Committer: GitHub (web-flow)
Pusher: saundefined
Date: 2025-01-27T15:33:11+03:00

Commit: Add scroll padding for anchor links (#1214) · php/web-php@5f61eca · GitHub
Raw diff: https://github.com/php/web-php/commit/5f61eca86e63b9b5440d7f4962089f62beb6ac7f.diff

Add scroll padding for anchor links (#1214)

Changed paths:
  M styles/theme-base.css

Diff:

diff --git a/styles/theme-base.css b/styles/theme-base.css
index f2308f58e7..12f900e9a7 100644
--- a/styles/theme-base.css
+++ b/styles/theme-base.css
@@ -18,6 +18,7 @@
   --dark-magenta-color: #793862;
   --medium-magenta-color: #AE508D;
   --light-magenta-color: #CF82B1;
+ scroll-padding-top: 4rem;
}

.clearfix {