File tree 4 files changed +103
-99
lines changed
4 files changed +103
-99
lines changed Original file line number Diff line number Diff line change 1
1
header {
2
2
text-align : center;
3
3
}
4
+
4
5
p .author , p .subtitle , p .date {
5
6
font-style : italic;
6
7
font-size : 1.5rem ;
@@ -20,21 +21,20 @@ h1.unnumbered {
20
21
border-top-style : none;
21
22
}
22
23
23
- div .row-scrollable {
24
- height : 100vh ;
24
+ @media (min-width : 768px ) {
25
+ .col-toc {
26
+ position : sticky;
27
+ position : -webkit-sticky;
28
+ top : 0 ;
29
+ height : 100vh ;
30
+ overflow-y : scroll;
31
+ }
25
32
}
26
33
27
- div .col-toc {
28
- height : 100% ;
29
- overflow-y : scroll;
34
+ .col-toc {
30
35
font-size : 90% ;
31
36
}
32
37
33
- div .col-body {
34
- height : 100% ;
35
- overflow-y : scroll;
36
- }
37
-
38
38
div .dedication {
39
39
text-align : center;
40
40
font-style : italic;
@@ -48,6 +48,7 @@ div.sourceCode {
48
48
padding : 0.5em ;
49
49
background-color : # FCFCFC ;
50
50
}
51
+
51
52
/* Outlines for text output. */
52
53
pre .text {
53
54
border-style : solid;
Original file line number Diff line number Diff line change 1
1
header {
2
2
text-align : center;
3
3
}
4
+
4
5
p .author , p .subtitle , p .date {
5
6
font-style : italic;
6
7
font-size : 1.5rem ;
@@ -20,21 +21,20 @@ h1.unnumbered {
20
21
border-top-style : none;
21
22
}
22
23
23
- div .row-scrollable {
24
- height : 100vh ;
24
+ @media (min-width : 768px ) {
25
+ .col-toc {
26
+ position : sticky;
27
+ position : -webkit-sticky;
28
+ top : 0 ;
29
+ height : 100vh ;
30
+ overflow-y : scroll;
31
+ }
25
32
}
26
33
27
- div .col-toc {
28
- height : 100% ;
29
- overflow-y : scroll;
34
+ .col-toc {
30
35
font-size : 90% ;
31
36
}
32
37
33
- div .col-body {
34
- height : 100% ;
35
- overflow-y : scroll;
36
- }
37
-
38
38
div .dedication {
39
39
text-align : center;
40
40
font-style : italic;
@@ -48,6 +48,7 @@ div.sourceCode {
48
48
padding : 0.5em ;
49
49
background-color : # FCFCFC ;
50
50
}
51
+
51
52
/* Outlines for text output. */
52
53
pre .text {
53
54
border-style : solid;
You can’t perform that action at this time.
0 commit comments