Skip to content
Myr

Adjust spacing of section headers to account for nav bar (fix #986)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Tolnay · committed by David Tolnay · parent 664b8e2 · Browse files · 1 file+14 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+14 added−4 removed

  • other:+14 added−4 removed

1 file+14 added−4 removed

modified:docs/public/css/base.scss+14 added-4 removed
70 unmodified lines
71}7273/* manual.liquid ******************************************/7475section {76 padding-top: 24px;77}7875h3 code {76 border: 0;77 font-size: 20px;78}7980section {81 /* Adjust spacing so that anchors are not hidden behind nav bar */82 position: relative;83 top: -50px;84 padding-top: 50px;85 margin-bottom: -50px;86 h2 {87 margin-top: 50px;88 }89 h3 {90 margin-top: 32px;91 }92}9394@media(max-width: 991px){95 #navcolumn {96 /* Put nav column above manual content */97 position: relative !important;
93 unmodified lines