@@ -1531,9 +1531,8 @@ a.tooltip:hover::after {
1531
1531
position : sticky;
1532
1532
top : 0 ;
1533
1533
display : flex;
1534
- padding : 8px ;
1535
- padding-left : 48px ;
1536
- padding-bottom : 7px ;
1534
+ padding : 8px 8px 0 48px ;
1535
+ margin-bottom : 7px ;
1537
1536
background : var (--sidebar-background-color );
1538
1537
border-bottom : 1px solid var (--border-color );
1539
1538
}
@@ -1793,6 +1792,30 @@ However, it's not needed with smaller screen width because the doc/code block is
1793
1792
margin-top : 16px ;
1794
1793
}
1795
1794
1795
+ /* sidebar button opens modal
1796
+ use hamburger button */
1797
+ .src # sidebar-button > a : before , .sidebar-menu-toggle : before {
1798
+ content : url ('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" \
1799
+ viewBox= "0 0 22 22" fill="none" stroke="black">\
1800
+ <path d= "M3,5h16M3,11h16M3,17h16" stroke-width="2.75"/></svg>');
1801
+ opacity : 0.75 ;
1802
+ }
1803
+ .sidebar-menu-toggle : hover : before ,
1804
+ .sidebar-menu-toggle : active : before ,
1805
+ .sidebar-menu-toggle : focus : before {
1806
+ opacity : 1 ;
1807
+ }
1808
+
1809
+ /* src sidebar button opens a folder view */
1810
+ .src # sidebar-button > a : before {
1811
+ content : url ('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" \
1812
+ viewBox= "0 0 22 22" fill="none" stroke="black">\
1813
+ <path d= "M16,9v-4h-6v-1l-2,-2h-4l-2,2v16h13L21,9h-15L2,19" stroke-width="1.25"/>\
1814
+ <path d= "M15,7h-11v3" stroke-width="0.75"/>\
1815
+ <path d= "M3.75,10v1.25" stroke-width="0.375"/></svg>');
1816
+ opacity : 0.75 ;
1817
+ }
1818
+
1796
1819
/* Media Queries */
1797
1820
1798
1821
/* Make sure all the buttons line wrap at the same time */
@@ -1965,20 +1988,6 @@ in src-script.js and main.js
1965
1988
background : var (--main-background-color );
1966
1989
}
1967
1990
1968
- /* sidebar button opens modal
1969
- use hamburger button */
1970
- .src # sidebar-button > a : before , .sidebar-menu-toggle : before {
1971
- content : url ('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" \
1972
- viewBox= "0 0 22 22" fill="none" stroke="black">\
1973
- <path d= "M3,5h16M3,11h16M3,17h16" stroke-width="2.75"/></svg>');
1974
- opacity : 0.75 ;
1975
- }
1976
- .src # sidebar-button > a : hover : before , .sidebar-menu-toggle : hover : before ,
1977
- .src # sidebar-button > a : active : before , .sidebar-menu-toggle : active : before ,
1978
- .src # sidebar-button > a : focus : before , .sidebar-menu-toggle : focus : before {
1979
- opacity : 1 ;
1980
- }
1981
-
1982
1991
/* Display an alternating layout on tablets and phones */
1983
1992
.item-table , .item-row , .item-table > li , .item-table > li > div ,
1984
1993
.search-results > a , .search-results > a > div {
0 commit comments