File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 line-height : 1.5 ;
1111 }
1212
13+ /** Test-run Side-by-side ToC **/
14+
15+
16+ @media screen and (min-width : 60em ) {
17+ [role = navigation ]# toc ,
18+ [data-fill-with = "table-of-contents" ][role = navigation ] {
19+ position : fixed;
20+ top : 0 ; bottom : 0 ;
21+ left : 26px ;
22+ width : 30% ;
23+ overflow : auto;
24+ padding : 0 1em ;
25+ background : white;
26+ box-shadow : 3px 0 3px ;
27+ }
28+ body {
29+ padding-left : 40% !important ;
30+ padding-left : calc (26px + 4em + 30% ) !important ;
31+ }
32+ [role = navigation ]# toc h2 {
33+ margin-top : 1rem ;
34+ }
35+ }
36+ @media screen and (min-width : 80em ) {
37+ [role = navigation ]# toc ,
38+ [data-fill-with = "table-of-contents" ][role = navigation ] {
39+ width : 25.5em ;
40+ }
41+ body {
42+ padding-left : 31em !important ;
43+ padding-left : calc (26px + 29.5em ) !important ;
44+ }
45+ }
46+
1347/******************************************************************************/
1448/* Sectioning */
1549/******************************************************************************/
You can’t perform that action at this time.
0 commit comments