File tree Expand file tree Collapse file tree 1 file changed +34
-1
lines changed
lib/rdoc/generator/template/darkfish/css Expand file tree Collapse file tree 1 file changed +34
-1
lines changed Original file line number Diff line number Diff line change @@ -219,7 +219,8 @@ 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;
223
224
}
224
225
225
226
# navigation-toggle [aria-expanded = "true" ] {
@@ -265,6 +266,7 @@ main {
265
266
font-size : 16px ;
266
267
line-height : 1.6 ;
267
268
color : var (--text-color );
269
+ box-sizing : border-box;
268
270
}
269
271
270
272
@media (min-width : 1024px ) {
@@ -715,4 +717,35 @@ main .attribute-access-type {
715
717
font-family : var (--font-code );
716
718
}
717
719
720
+ @media (max-width : 480px ) {
721
+ nav {
722
+ width : 100% ;
723
+ }
724
+
725
+ main {
726
+ margin : 1em auto;
727
+ padding : 0 1em ;
728
+ max-width : 100% ;
729
+ }
730
+
731
+ # navigation-toggle {
732
+ top : 10px ;
733
+ right : 10px ;
734
+ }
735
+
736
+ # navigation-toggle [aria-expanded = "true" ] {
737
+ left : auto;
738
+ }
739
+
740
+ # navigation-toggle [aria-expanded = "false" ] {
741
+ left : auto;
742
+ }
743
+
744
+ table {
745
+ display : block;
746
+ overflow-x : auto;
747
+ white-space : nowrap;
748
+ }
749
+ }
718
750
/* @end */
751
+
You can’t perform that action at this time.
0 commit comments