kellykamay

Untitled

Mar 16th, 2014
434
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.54 KB | None | 0 0
  1. /*MEDIA QUERIES*/
  2.  
  3. /* Smartphones (portrait and landscape) ----------- */
  4. @media only screen and (max-device-width : 480px) {
  5.     #logoHolder{
  6.         background: url(../img/flatbush-garden-logo2.jpg) left top no-repeat;
  7.         width: 320px;
  8.         height: 161px;
  9.     }  
  10.  
  11. }
  12.  
  13.  
  14. /* iPads (portrait and landscape) ----------- */
  15. @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
  16. /* Styles */
  17. }
  18.  
  19. /* iPads (landscape) ----------- */
  20. @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
  21. /* Styles */
  22. }
  23.  
  24. /* iPads (portrait) ----------- */
  25. @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
  26. /* Styles */
  27. }
  28.  
  29. /* Desktops and laptops ----------- */
  30. @media only screen and (max-width : 921px) {
  31.     #footerBox{
  32.         width: 100%;
  33.     }
  34.     #footerBox #footerContent{
  35.         width: 95%;
  36.         margin: 0 auto;
  37.     }
  38. }
  39. @media only screen and (max-width : 654px) {
  40.     #navBox ul li{
  41.         margin: 0 2%;
  42.     }
  43.  
  44. }
  45.  
  46. @media only screen and (min-width : 200px) and (max-width : 603px) {
  47.     #cm{
  48.         display: block;
  49.     }
  50.     #navBox ul{
  51.         display: none;
  52.         position: absolute;
  53.         background: #f7f7f7;
  54.         border: 1px solid #b1bb1c;
  55.         top: 12px;
  56.         left: 34px;
  57.         z-index: 10;
  58.  
  59.     }
  60.     #navBox ul{
  61.         text-align: left;
  62.         margin:0;
  63.         width: 133px;
  64.  
  65.     }
  66.     #navBox ul li{
  67.         display: block;
  68.         margin: 2px 6px 13px 6px;
  69.     }
  70.     #navBox ul li a{
  71.         display: block;
  72.         font-size: 16px;
  73.     }
  74.  
  75. }
  76.  
  77.  
  78.  
  79. /* Smartphones (portrait) ----------- */
  80. @media only screen and (max-device-width : 320px) {
  81.     #topSection{
  82.         height: 147px;
  83.     }
  84.     #logoHolder{
  85.         background: url(../img/flatbush-garden-logo3.jpg) left top no-repeat;
  86.         width: 240px;
  87.         height: 138px;
  88.     }
  89.  
  90. }
  91. @media only screen and (max-width : 366px) {
  92.     #homeBanner{
  93.         margin-top: 10px;
  94.     }
  95.    
  96. }
  97. @media only screen and (max-width : 503px) {
  98.     #homeBanner{
  99.         margin-top: 3px;
  100.     }
  101.    
  102. }
  103. @media only screen and (max-width : 380px) {
  104.     #homeBanner{
  105.         margin-top: 3px;
  106.     }
  107.    
  108. }
  109.  
  110. @media only screen and (max-device-width : 352px) {
  111.     #topSection{
  112.         height: 147px;
  113.     }
  114.  
  115.     #homeBanner{
  116.         margin-top: 9px;
  117.     }
  118.  
  119. }
  120. @media only screen and (max-width : 352px){
  121.     #topSection{
  122.         height: 147px;
  123.     }
  124.  
  125.     #homeBanner{
  126.         margin-top: 9px;
  127.     }
  128. }
  129.  
  130. @media only screen and (max-width : 320px) {
  131.     #topSection{
  132.         height: 147px;
  133.     }  
  134.  
  135.    
  136.     #footerBox #footerCopy {
  137.         float: none;
  138.         text-align: center;
  139.     }
  140.    
  141.     #footerBox #footerMenu {
  142.         float: none;
  143.         margin-bottom: 10px;
  144.         text-align: center;
  145.     }
  146.  
  147. }
Advertisement
Add Comment
Please, Sign In to add comment