File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212
1313/** Test-run Side-by-side ToC **/
1414
15+ /*
16+ @media screen and (min-width: 78em) {
17+ #back-to-top {
18+ display: none;
19+ }
1520
16- @media screen and ( min-width : 60 em ) {
21+ nav#toc,
1722 [role=navigation]#toc,
18- [data-fill-with = "table-of-contents" ][role = navigation ] {
23+ [data-fill-with="table-of-contents"][role=navigation],
24+ body > .toc {
1925 position: fixed;
2026 top: 0; bottom: 0;
21- left : 26 px ;
22- width : 30 % ;
27+ left: 0 ;
28+ width: 23.5em ;
2329 overflow: auto;
30+ margin: 0;
2431 padding: 0 1em;
25- background : white;
26- box-shadow : 3px 0 3px ;
32+ padding-left: 42px;
33+ padding-left: calc(1em + 26px);
34+ background: inherit;
35+ background-color: #F8F8F8;
36+ z-index: 1;
2737 }
2838 body {
29- padding-left : 40% !important ;
30- padding-left : calc (26px + 4em + 30% ) !important ;
39+ padding-left: 28em !important;
3140 }
32- [role = navigation ]# toc h2 {
41+ nav#toc h2,
42+ [role=navigation]#toc h2,
43+ [data-fill-with="table-of-contents"][role=navigation] h2,
44+ body > .toc h2 {
3345 margin-top: 1rem;
3446 }
3547 }
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- }
48+ */
4649
4750/******************************************************************************/
4851/* Sectioning */
You can’t perform that action at this time.
0 commit comments