mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
Website: update scroll-margin of headings on documentation pages. (#19098)
Changes: - Updated the `scroll-margin-top` property of headings on documentation pages to be consistent.
This commit is contained in:
parent
21b1aac24f
commit
162c9f0595
1 changed files with 6 additions and 4 deletions
|
|
@ -500,9 +500,6 @@
|
|||
}
|
||||
|
||||
[purpose='content'] {
|
||||
.markdown-heading {
|
||||
scroll-margin-top: 140px;
|
||||
}
|
||||
hr {
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
|
|
@ -514,6 +511,7 @@
|
|||
}
|
||||
h1 {
|
||||
padding-bottom: 16px;
|
||||
scroll-margin-top: 104px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
|
|
@ -521,10 +519,11 @@
|
|||
margin-top: 32px;
|
||||
padding-top: 52px;
|
||||
padding-bottom: 24px;
|
||||
|
||||
scroll-margin-top: 80px;
|
||||
&:first-of-type {
|
||||
border-top: none;
|
||||
padding-top: 24px;
|
||||
scroll-margin-top: 108px;
|
||||
margin-top: 0px;
|
||||
}
|
||||
}
|
||||
|
|
@ -534,11 +533,13 @@
|
|||
margin-top: 24px;
|
||||
margin-bottom: 40px;
|
||||
border-bottom: 1px dashed @core-fleet-black-25;
|
||||
scroll-margin-top: 104px;
|
||||
}
|
||||
|
||||
h4 {
|
||||
padding-bottom: 24px;
|
||||
margin-bottom: 0px;
|
||||
scroll-margin-top: 104px;
|
||||
}
|
||||
|
||||
h5 {
|
||||
|
|
@ -546,6 +547,7 @@
|
|||
font-weight: 700;
|
||||
font-family: @main-font;
|
||||
margin-bottom: 16px;
|
||||
scroll-margin-top: 104px;
|
||||
}
|
||||
pre + hr + h3 {
|
||||
padding-top: 0px;
|
||||
|
|
|
|||
Loading…
Reference in a new issue