aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergio Carlavilla Delgado <carlavilla@FreeBSD.org>2022-09-01 19:17:02 +0000
committerSergio Carlavilla Delgado <carlavilla@FreeBSD.org>2022-09-01 19:17:02 +0000
commitb68e44392bcd6420ec1b83e7fb63adac645db98f (patch)
tree8abc1e2b4d1ff957c474e92f74d71a7cd106e12e
parent2613d07976f9d8e73085053675dddbd15072404a (diff)
-rw-r--r--documentation/config/_default/config.toml2
-rw-r--r--documentation/themes/beastie/assets/styles/global.scss3
2 files changed, 3 insertions, 2 deletions
diff --git a/documentation/config/_default/config.toml b/documentation/config/_default/config.toml
index 770088c989..b14681a0c8 100644
--- a/documentation/config/_default/config.toml
+++ b/documentation/config/_default/config.toml
@@ -37,7 +37,7 @@ enableGitInfo = true
env-beastie = true
isOnline = true
skip-front-matter = true
- sectanchors = true
+ sectanchors = "after"
[outputs]
home = [ "HTML" ]
diff --git a/documentation/themes/beastie/assets/styles/global.scss b/documentation/themes/beastie/assets/styles/global.scss
index 765d81b672..77c1ece932 100644
--- a/documentation/themes/beastie/assets/styles/global.scss
+++ b/documentation/themes/beastie/assets/styles/global.scss
@@ -278,6 +278,7 @@ h4,
h5,
h6 {
margin: 0;
+ padding-bottom: .3rem;
}
h1,
@@ -334,7 +335,7 @@ h4 > .anchor::before,
h5 > .anchor::before,
h6 > .anchor::before {
visibility: hidden;
- margin-right: .3rem;
+ margin-left: .3rem;
content: "#";
color: var(--global-font-color);
}