Commits

Vlad Riscutia  committed 34a8570

Make menu easier to use on small screen

  • Participants
  • Parent commits 85ed0e9
  • Branches html5

Comments (0)

Files changed (1)

File tinkerer/themes/modern5/static/modern5.css_t

 header span { padding: 2px 20px 0; display: block; }
 
 nav { padding: 5px 0; }
+nav li.main-nav { padding: 10px 0; }
 
 div.documentwrapper { padding: 0 20px 10px; }
 div.related { padding: 20px 0 0; }
     header span { padding: 5px 40px 0; }
 
     nav { padding: 10px 0; }
+    nav ul { margin: 0 40px 0 20px; padding: 0; }
+    nav li.main-nav { margin: 0; padding: 0; }
+    nav li.main-nav a { padding: 0 20px; }
+    nav li.quicklink { padding: 0 0 0 10px; }
+    nav li.quicklink a { padding: 0; }
 
     div.documentwrapper { padding: 0 40px 20px; }
     div.related { padding: 40px 0 0; }
     div.archive_link { padding-top: 20px; text-align: center; }
 
     footer { padding: 10px 40px; }
-
-    nav ul { margin-right: 40px; padding: 0; }
-    nav li.main-nav { margin: 40px 0; }
-    nav li.main-nav a { padding: 0 40px; }
-    nav li.quicklink { padding: 0 0 0 10px; }
-    nav li.quicklink a { padding: 0; }
 }
 
 @media only screen and (min-width: 768px) {