Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.97 KB | None | 0 0
  1. /*MOBILE-FIRST-GET-REKT*/
  2.  
  3. @media only screen and (min-width: 768px) and (max-width: 959px) {
  4.     body {
  5.         min-width: 768px;
  6.         background-size: cover;
  7.         background-repeat: repeat-y;
  8.         font-size: 79%;
  9.     }
  10.  
  11.         #nav a {
  12.           padding: 20% 3% 0 0;
  13.     }
  14.  
  15. }
  16. @media only screen and (max-width: 767px) {
  17.     body {
  18.         min-width: 300px;
  19.         background-size: cover;
  20.         background-repeat: repeat-y;
  21.         font-size: 70%;
  22.     }
  23.     #nav a {
  24.           padding: 0 1% 0 0;
  25.     }
  26.  
  27.     .contentBg {
  28.         padding: 5px;
  29.     }
  30.     .hide-on-mobile {
  31.     display: none;
  32. }
  33.  
  34. }
  35. @media only screen and (min-width: 480px) and (max-width: 767px) {
  36.     body {
  37.         min-width: 480px;
  38.         background-size: cover;
  39.         background-repeat: repeat-y;
  40.         font-size: 100%;
  41.     }
  42.     #nav a {
  43.         padding: 0 1% 0 0;
  44.     }
  45.  
  46.     .contentBg {
  47.         padding: 5px;
  48.     }
  49.     .hide-on-mobile {
  50.     display: none;
  51. }
  52.  
  53. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement