File tree Expand file tree Collapse file tree 1 file changed +6
-18
lines changed Expand file tree Collapse file tree 1 file changed +6
-18
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ table thead td {
3737 font-weight : 700 ;
3838}
3939.sidebar {
40- position : fixed ;
40+ position : absolute ;
4141 left : 0 ;
4242 top : 0 ;
4343 bottom : 0 ;
@@ -99,6 +99,7 @@ table thead td {
9999}
100100.page-wrapper {
101101 position : absolute;
102+ overflow-y : auto;
102103 left : 315px ;
103104 right : 0 ;
104105 top : 0 ;
@@ -133,14 +134,7 @@ table thead td {
133134 left : 0 ;
134135 bottom : 0 ;
135136 padding-right : 15px ;
136- }
137- @media only screen and (max-width : 400px ) {
138- .page {
139- /* Only prevent horizontal scrolling on screens with less than 100px for the content
140- A better way would be to somehow prevent horizontal scrolling all the time, but this causes scrolling problems on iOS Safari.
141- Also, would be better to only enable horizontal scrolling when it is needed (content does not fit on page) but I have no idea how to do that. */
142- overflow-x : hidden;
143- }
137+ overflow-y : auto;
144138}
145139.content {
146140 margin-left : auto;
@@ -163,7 +157,7 @@ table thead td {
163157}
164158.menu-bar i {
165159 position : relative;
166- padding : 0 10px ;
160+ margin : 0 10px ;
167161 z-index : 10 ;
168162 line-height : 50px ;
169163 -webkit-transition : color 0.5s ;
@@ -211,7 +205,7 @@ table thead td {
211205 font-size : 2.5em ;
212206 text-align : center;
213207 text-decoration : none;
214- position : fixed ;
208+ position : absolute ;
215209 top : 50px /* Height of menu-bar */ ;
216210 bottom : 0 ;
217211 margin : 0 ;
@@ -250,13 +244,7 @@ table thead td {
250244.nav-chapters : hover {
251245 text-decoration : none;
252246}
253- .sidebar-hidden .previous {
254- left : 0 ;
255- }
256- .sidebar-visible .nav-chapters .previous {
257- left : 300px ;
258- }
259- .sidebar-visible .mobile-nav-chapters .previous {
247+ .previous {
260248 left : 0 ;
261249}
262250.next {
You can’t perform that action at this time.
0 commit comments