File tree 1 file changed +32
-6
lines changed
lib/rdoc/generator/template/darkfish/css
1 file changed +32
-6
lines changed Original file line number Diff line number Diff line change @@ -219,19 +219,17 @@ nav a:hover {
219
219
# navigation-toggle {
220
220
z-index : 1000 ;
221
221
font-size : 2em ;
222
- position : absolute;
222
+ display : block;
223
+ position : fixed;
224
+ top : 10px ;
225
+ left : 20px ;
223
226
}
224
227
225
228
# navigation-toggle [aria-expanded = "true" ] {
226
229
top : 10px ;
227
230
left : 250px ;
228
231
}
229
232
230
- # navigation-toggle [aria-expanded = "false" ] {
231
- top : 10px ;
232
- left : 20px ;
233
- }
234
-
235
233
nav ul li details {
236
234
position : relative;
237
235
padding-right : 1.5em ; /* Add space for the marker on the right */
@@ -265,6 +263,7 @@ main {
265
263
font-size : 16px ;
266
264
line-height : 1.6 ;
267
265
color : var (--text-color );
266
+ box-sizing : border-box;
268
267
}
269
268
270
269
@media (min-width : 1024px ) {
@@ -715,4 +714,31 @@ main .attribute-access-type {
715
714
font-family : var (--font-code );
716
715
}
717
716
717
+ @media (max-width : 480px ) {
718
+ nav {
719
+ width : 100% ;
720
+ }
721
+
722
+ main {
723
+ margin : 1em auto;
724
+ padding : 0 1em ;
725
+ max-width : 100% ;
726
+ }
727
+
728
+ # navigation-toggle {
729
+ right : 10px ;
730
+ left : auto;
731
+ }
732
+
733
+ # navigation-toggle [aria-expanded = "true" ] {
734
+ left : auto;
735
+ }
736
+
737
+ table {
738
+ display : block;
739
+ overflow-x : auto;
740
+ white-space : nowrap;
741
+ }
742
+ }
718
743
/* @end */
744
+
You can’t perform that action at this time.
0 commit comments