File tree Expand file tree Collapse file tree 2 files changed +55
-1
lines changed Expand file tree Collapse file tree 2 files changed +55
-1
lines changed Original file line number Diff line number Diff line change 1
1
/_build /
2
- /_static /
3
2
/_templates /
4
3
/ascii-scaffold-and-staples-two-bases-per-character.txt
Original file line number Diff line number Diff line change
1
+ /* Remove page margins and use full width */
2
+ div .document {
3
+ width : 100% !important ;
4
+ margin : 0 !important ;
5
+ padding : 0 !important ;
6
+ }
7
+
8
+ /* Fix for the whitespace at the top of the page */
9
+ body {
10
+ margin : 0 !important ;
11
+ padding : 0 !important ;
12
+ }
13
+
14
+ div .documentwrapper {
15
+ margin : 0 !important ;
16
+ padding : 0 !important ;
17
+ }
18
+
19
+ div .body {
20
+ margin : 0 !important ;
21
+ padding : 20px !important ;
22
+ max-width : none !important ;
23
+ min-width : auto !important ;
24
+ }
25
+
26
+ /* Configure sidebar to be fixed with its own scrollbar */
27
+ div .sphinxsidebar {
28
+ max-height : 100vh ; /* Use viewport height */
29
+ position : fixed; /* Make it stick when scrolling */
30
+ top : 0 ; /* Stick to top */
31
+ overflow-y : auto; /* Enable vertical scrolling */
32
+ width : 300px !important ; /* Set sidebar width */
33
+ box-sizing : border-box; /* Include padding in width calculation */
34
+ padding : 20px 10px ; /* Add padding */
35
+ margin : 0 !important ; /* Remove margin */
36
+ }
37
+
38
+ /* Make sure content properly adjusts to sidebar */
39
+ div .bodywrapper {
40
+ margin-left : 300px !important ; /* Should match sidebar width */
41
+ padding : 0 !important ;
42
+ }
43
+
44
+ /* Add proper mobile responsiveness */
45
+ @media screen and (max-width : 768px ) {
46
+ div .sphinxsidebar {
47
+ position : relative;
48
+ width : 100% !important ;
49
+ max-height : none;
50
+ }
51
+
52
+ div .bodywrapper {
53
+ margin-left : 0 !important ;
54
+ }
55
+ }
You can’t perform that action at this time.
0 commit comments