﻿@media all, only screen {

  .test-block{background:#FFF8F0}
  *{float:none}
  /* Container rules */
  #container {
    width:100%;
    margin:0 auto;
    max-width:660px;
  }
  @-webkit-viewport{width:device-width}
  @-moz-viewport{width:device-width}
  @-ms-viewport{width:device-width}
  @-o-viewport{width:device-width}
  @viewport{width:device-width}

  body,html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}}
@media only screen and (min-width:641px){
  .selector{padding:2px;margin:2px}
  body,html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}}
@media only screen and (orientation:portrait){
  .selector{padding:0;margin:0}
  aside,sidebar{display:none}
  body,html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}}
@media only screen and (orientation:landscape){
  .selector{padding:2px;margin:2px}
  aside,sidebar{display:none}
  body,html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}}
