File tree Expand file tree Collapse file tree 2 files changed +12
-18
lines changed Expand file tree Collapse file tree 2 files changed +12
-18
lines changed Original file line number Diff line number Diff line change 1
- .breadcrumbs-container {
2
- padding-top : 2rem ;
3
- }
4
-
5
1
.breadcrumbs {
6
- max-width : var (--doc-max-width );
7
2
flex : 1 1 ;
8
3
padding : 0 ;
9
4
line-height : var (--nav-line-height );
12
7
font-size : calc (16 / var (--rem-base ) * 1rem );
13
8
}
14
9
10
+ .breadcrumbs-container {
11
+ padding : 20px 0 ;
12
+ background-color : var (--body-background-color );
13
+ border-bottom : 1px solid var (--nav-panel-divider-color );
14
+ }
15
+
15
16
@media screen and (min-width : 1024px ) {
16
17
.breadcrumbs {
17
18
max-width : var (--doc-max-width--desktop );
18
19
min-width : 0 ;
19
20
}
20
21
.breadcrumbs-container {
21
- position : fixed ;
22
+ position : sticky ;
22
23
top : 83px ;
23
- padding : 1rem 0 ;
24
- right : var (--toc-width--widescreen );
25
- left : var (--nav-width );
26
- margin-left : 3rem ;
27
- margin-right : 3rem ;
28
- background-color : var (--body-background-color );
29
- border-bottom : 1px solid var (--nav-panel-divider-color );
24
+ padding : 20px 20px ;
25
+ margin : 0 -1rem ;
30
26
z-index : 99 ;
31
27
}
32
- .doc {
33
- padding-top : 60px ;
34
- }
35
28
}
36
29
37
30
a + .breadcrumbs {
@@ -43,6 +36,7 @@ a + .breadcrumbs {
43
36
flex-wrap : wrap;
44
37
list-style : none;
45
38
padding : 0 ;
39
+ margin : 0 ;
46
40
}
47
41
48
42
.breadcrumbs li {
Original file line number Diff line number Diff line change 1
1
<article class =" doc" >
2
- {{> article-latest }}
3
2
{{> breadcrumbs }}
3
+ {{> article-latest }}
4
4
{{ #with page.title }}
5
5
<h1 id =" page-title" class =" page" >{{{ this }}} </h1 >
6
6
{{ /with }}
10
10
{{{ page.contents }}}
11
11
{{> nav-section-summary }}
12
12
{{> pagination }}
13
- </article >
13
+ </article >
You can’t perform that action at this time.
0 commit comments