Add scroll spy

This commit is contained in:
Jeremy Thomas
2018-04-11 01:14:29 +01:00
parent 96f2164883
commit 077763cb74
5 changed files with 209 additions and 15 deletions

View File

@@ -9612,6 +9612,10 @@ label.panel-block:hover {
margin-bottom: 0.5em;
}
.bd-category-list li.is-past a, .bd-anchors-list li.is-past a {
color: #b5b5b5;
}
.bd-category-list li.is-current a, .bd-anchors-list li.is-current a {
color: #3273dc;
}
@@ -9676,9 +9680,11 @@ label.panel-block:hover {
padding-top: calc(1.5rem - 1px);
}
.bd-anchors.is-pinned {
position: fixed;
top: 0;
@media screen and (min-width: 769px), print {
.bd-anchors.is-pinned {
position: fixed;
top: 0;
}
}
.bd-anchors-title {
@@ -9692,6 +9698,10 @@ label.panel-block:hover {
margin-top: 1em;
}
.bd-anchors-list a {
color: #363636;
}
@media screen and (max-width: 1087px) {
.bd-lead,
.bd-side {