Advertisement
Guest User

Untitled

a guest
May 29th, 2019
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.77 KB | None | 0 0
  1. @media screen and ( max-width: 500px ) {
  2.     #mw-head {
  3.         position: static !important; /* stylelint-disable-line declaration-no-important */
  4.         margin-top: 0.5em;
  5.     }
  6.  
  7.     /* Move the panel to the bottom and display it as in-line lists */
  8.     div#mw-navigation > div#mw-panel {
  9.             display: table;
  10.             position: static;
  11.             table-layout: fixed;
  12.             width: 100%;
  13.             overflow: hidden;
  14.             font-size: 150%;
  15.  
  16.             .portal {
  17.                 display: block;
  18.                 width: 100%;
  19.             }
  20.  
  21.             ul li {
  22.                 list-style: none;
  23.             }
  24.     }
  25.  
  26.     /* Hide the logo and tabs */
  27.     div#p-logo {
  28.         display: none;
  29.     }
  30.  
  31.     /* Rearrange various page elements to fill the now-available space */
  32.     body #footer {
  33.         margin-left: 0;
  34.         padding-top: 0;
  35.  
  36.         /* don't need these in the footer either... */
  37.         #footer-info-lastmod,
  38.         #footer-info-viewcount {
  39.             display: none;
  40.         }
  41.     }
  42.  
  43.     div#p-personal {
  44.         display: table;
  45.         position: relative;
  46.         width: 100%;
  47.         top: inherit;
  48.         left: inherit;
  49.         right: inherit;
  50.  
  51.         ul {
  52.             padding-left: 0;
  53.         }
  54.     }
  55.  
  56.     div#right-navigation {
  57.         position: absolute;
  58.         top: inherit;
  59.         right: 0;
  60.         margin-top: 0;
  61.         float: none;
  62.     }
  63.  
  64.     div#left-navigation {
  65.         position: absolute;
  66.         top: inherit;
  67.         margin: 0;
  68.         display: block;
  69.         float: none;
  70.     }
  71.  
  72.     div#p-namespaces,
  73.     div#p-views,
  74.     div#p-variants {
  75.         position: relative;
  76.         top: 2.5em;
  77.     }
  78.  
  79.     div#p-namespaces {
  80.         padding-left: 0;
  81.     }
  82.  
  83.     div#p-cactions {
  84.         top: 2.5em;
  85.         float: right;
  86.     }
  87.  
  88.     div#p-search {
  89.         float: none;
  90.         position: absolute;
  91.         right: 0;
  92.         width: 100vw;
  93.         margin: 0;
  94.     }
  95.  
  96.     div#simpleSearch {
  97.         margin: 0 3em;
  98.         width: 80vw;
  99.         padding: 0;
  100.     }
  101.  
  102.     .vectorMenu .menu {
  103.         left: inherit;
  104.         right: -1px;
  105.     }
  106.  
  107.     div#content {
  108.         /* Hide the 1px blue border on the left side */
  109.         border-left: 0;
  110.         margin-left: 0;
  111.     }
  112. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement