Advertisement
grappler

Mobile Design 1.9.2-3

Apr 4th, 2013
1,943
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 6.03 KB | None | 0 0
  1. /* =Responsive (Mobile) Design
  2. -------------------------------------------------------------- */
  3. @media screen and (max-width: 980px) {
  4.  
  5.     body {}
  6.  
  7.     .grid,
  8.     .grid-right {
  9.         float: none;
  10.     }
  11.  
  12.     .copyright,
  13.     .scroll-top,
  14.     .powered {
  15.         float: left;
  16.     }
  17.  
  18.     #featured-image .fluid-width-video-wrapper {
  19.         margin: 20px 0 0 0;
  20.     }
  21.  
  22.     .front-page  #widgets {
  23.         margin-top: 40px;
  24.     }
  25.  
  26.     .top-widget,
  27.     .front-page  .top-widget {
  28.         margin-top: 0 !important;
  29.     }
  30.  
  31.     .hide-980 {
  32.         display: none;
  33.     }
  34.  
  35.     .show-980 {
  36.         display: block;
  37.     }
  38.  
  39. }
  40.  
  41. @media screen and (max-width: 650px) {
  42.  
  43.     body {}
  44.  
  45.     #logo {
  46.         float: none;
  47.         margin: 0;
  48.         text-align: center;
  49.     }
  50.  
  51.     .grid,
  52.     .grid-right {
  53.         float: none;
  54.     }
  55.  
  56.     #featured-image .fluid-width-video-wrapper {
  57.         margin: 20px 0 0 0;
  58.     }
  59.    
  60.     .top-widget {
  61.         float: none;
  62.         margin: 0 auto 10px auto;
  63.         position: relative;
  64.         text-align: center;
  65.         width: auto;
  66.     }
  67.    
  68.     .top-widget .widget-title {
  69.         text-align: center;
  70.     }
  71.    
  72.     .js .sub-header-menu {
  73.         display: none;
  74.     }
  75.    
  76.     .js .main-nav {
  77.         position: relative;
  78.         height: 30px;
  79.         background-color: #585858;
  80.         background-image: -webkit-gradient(linear, left top, left bottom, from(#585858), to(#3d3d3d));
  81.         background-image: -webkit-linear-gradient(top, #585858, #3d3d3d);
  82.         background-image: -moz-linear-gradient(top, #585858, #3d3d3d);
  83.         background-image: -ms-linear-gradient(top, #585858, #3d3d3d);
  84.         background-image: -o-linear-gradient(top, #585858, #3d3d3d);
  85.         background-image: linear-gradient(top, #585858, #3d3d3d);
  86.         clear: both;
  87.         filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#585858, endColorstr=#3d3d3d);
  88.         margin: 0 auto;
  89.     }
  90.    
  91.     .js .main-nav .menu {
  92.         display: none;
  93.         position: absolute;
  94.         width: 100%;
  95.         top: 30px;
  96.         z-index: 1000;
  97.     }
  98.    
  99.     .js .main-nav .menu ul {
  100.         margin-top: 1px;
  101.     }
  102.    
  103.     .js .main-nav .menu li {
  104.         float: none;
  105.         background-color: #fff;
  106.         border: none;
  107.     }
  108.    
  109.     .js .main-nav .menu li a {
  110.         color: #444;
  111.         font-size: 13px;
  112.         font-weight: normal;
  113.         height: 45px;
  114.         line-height: 45px;
  115.         padding: 0 15px;
  116.         border: none;
  117.         border-bottom: 1px solid #f5f5f5;
  118.         text-shadow: none;
  119.         text-align: left;
  120.     }
  121.    
  122.     .js .main-nav .menu li.current_page_item,
  123.     .js .menu .current_page_item a,
  124.     .js .menu .current-menu-item a {
  125.         background-color: #f5f5f5;
  126.     }
  127.    
  128.     .js .main-nav .menu li li:hover {
  129.         background: none!important;
  130.     }
  131.    
  132.     .js .main-nav .menu li li a {
  133.         position: relative;
  134.         padding: 0 10px 0 30px;
  135.     }
  136.    
  137.     .js .main-nav .menu li li li a {
  138.         position: relative;
  139.         padding: 0 10px 0 40px;
  140.     }
  141.    
  142.     .js .main-nav .menu li a:hover,
  143.     .js .main-nav .menu li li a:hover {
  144.         background-image: none;
  145.         filter: none;
  146.         background-color: #f5f5f5!important;
  147.     }
  148.    
  149.     .js .main-nav .menu li li a::before {
  150.         content: '\2013';
  151.         position: absolute;
  152.         top: 0;
  153.         left: 20px;
  154.     }
  155.    
  156.     .js .main-nav .menu li li li a::before {
  157.         content: '\2013';
  158.         position: absolute;
  159.         top: 0;
  160.         left: 20px;
  161.     }
  162.    
  163.     .js .main-nav .menu li li li a::after {
  164.         content: '\2013';
  165.         position: absolute;
  166.         top: 0;
  167.         left: 30px;
  168.     }
  169.    
  170.     .js .main-nav .menu li ul {
  171.         position: static;
  172.         visibility: visible;
  173.         background-color: #fff;
  174.     }
  175.    
  176.     .js .main-nav #responsive_current_menu_item {
  177.         position: absolute;
  178.         display: block;
  179.         top: 5px;
  180.         left: 15px;
  181.         color: #fff;
  182.         font-weight: 700;
  183.     }
  184.    
  185.     .js .main-nav a#responsive_menu_button {
  186.         position: absolute;
  187.         display: block;
  188.         top: 0;
  189.         left: 100%;
  190.         height: 30px;
  191.         width: 23px;
  192.         margin-left: -30px;
  193.         background: url('images/select-icons.png') 0 5px no-repeat;
  194.     }
  195.    
  196.     .js .main-nav a#responsive_menu_button.responsive-toggle-open {
  197.         background: url('images/select-icons.png') 0 -46px no-repeat;
  198.     }
  199.        
  200.    
  201.     .top-menu,
  202.     .footer-menu li {
  203.         float: none;
  204.         font-size: 11px;
  205.         text-align: center;
  206.     }
  207.    
  208.     .tinynav {
  209.         display: block;
  210.     }
  211.    
  212.     .sb-holder {
  213.         display: block;
  214.     }
  215.    
  216.     #author-meta {
  217.         padding: 20px;
  218.     }
  219.    
  220.     .hide-650 {
  221.         display: none;
  222.     }
  223.    
  224.     .show-650 {
  225.         display: block;
  226.     }
  227.    
  228.     #footer {
  229.         text-align: center;
  230.     }
  231.  
  232.     #footer .social-icons {
  233.         padding-bottom: 10px;
  234.         text-align: center;
  235.     }
  236. }
  237.  
  238. @media screen and (max-width: 480px) {
  239.  
  240.     body {}
  241.  
  242.     #logo {
  243.         float: none;
  244.         text-align: center;
  245.     }
  246.  
  247.     .grid,
  248.     .grid-right {
  249.         float: none;
  250.     }
  251.    
  252.     #featured-image .fluid-width-video-wrapper {
  253.         margin: 20px 0 0 0;
  254.     }
  255.    
  256.     .featured-title {
  257.         font-size: 40px;
  258.         padding: 40px 20px 0 20px
  259.     }
  260.    
  261.     .featured-subtitle {
  262.         font-size: 24px;
  263.     }
  264.    
  265.     .navigation .next,
  266.     .navigation .previous {
  267.         display: block;
  268.         margin: 0 auto;
  269.         text-align: center;
  270.     }
  271.    
  272.     .menu ul,
  273.     .menu li,
  274.     .top-menu,
  275.     .footer-menu li,
  276.     .sub-header-menu li {
  277.         float: none;
  278.         text-align: center;
  279.         text-rendering: optimizeSpeed;
  280.     }
  281.    
  282.     .hide-480 {
  283.         display: none;
  284.     }
  285.    
  286.     .show-480 {
  287.         display: block;
  288.     }
  289.    
  290.     #footer {
  291.         text-align: center;
  292.     }
  293.  
  294.     #footer .social-icons {
  295.         text-align: center;
  296.     }
  297. }
  298.  
  299. @media screen and (max-width: 320px) {
  300.    
  301.     body {}
  302.    
  303.     #featured p {
  304.         font-size: 12px;
  305.         line-height: 1.5em;
  306.     }
  307.  
  308.     .featured-title {
  309.         font-size: 35px;
  310.     }
  311.    
  312.     .featured-subtitle {
  313.         font-size: 15px;
  314.     }
  315.  
  316.     .call-to-action a.button {
  317.         font-size: 14px;
  318.         padding: 7px 17px;
  319.     }
  320.  
  321.     .hide-320 {
  322.         display: none;
  323.     }
  324.    
  325.     .show-320 {
  326.         display: block;
  327.     }
  328. }
  329.  
  330. @media screen and (max-width: 240px) {
  331.    
  332.     body {}
  333.    
  334.     #featured p {
  335.         font-size: 11px;
  336.         line-height: 1.5em;
  337.     }
  338.  
  339.     .featured-title {
  340.         font-size: 20px;
  341.     }
  342.    
  343.     .featured-subtitle {
  344.         font-size: 11px;
  345.     }
  346.  
  347.     .call-to-action a.button {
  348.         font-size: 12px;
  349.         padding: 5px 15px;
  350.     }
  351.    
  352.     .top-widget area,
  353.     .top-widget select,
  354.     .top-widget textarea,
  355.     .top-widget input[type="text"],
  356.     .top-widget input[type="password"],
  357.     .top-widget input[type="email"] {
  358.         width: 75%;
  359.     }
  360.    
  361.     .widget-title,
  362.     .widget-title-home h3 {
  363.         font-size: 14px;
  364.         height: 13px;
  365.         line-height: 13px;
  366.         text-align: left;
  367.     }
  368.    
  369.     .hide-240 {
  370.         display: none;
  371.     }
  372.    
  373.     .show-240 {
  374.         display: block;
  375.     }
  376. }
  377.  
  378. /*The last 29 days of the month are the hardest."- Nikola Tesla*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement