Advertisement
Guest User

Untitled

a guest
Dec 5th, 2013
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 6.54 KB | None | 0 0
  1. @import url("../peddlar/style.css");
  2.  
  3. /* Below you can write your style */
  4.  
  5.  
  6.  
  7. /* <GENERAL> */
  8.  
  9. .home {
  10.     /*background: #FFF !important;*/
  11. }
  12.  
  13. #header #logo {
  14.     margin-top: 0 !important;
  15. }
  16.  
  17. @media only screen and (max-width: 800px) {
  18.     #header {
  19.         text-align: center !important;
  20.     }
  21.     #header a#logo {
  22.         float: none !important;
  23.         margin-left: auto !important;
  24.         margin-right: auto !important;
  25.     }
  26.  
  27.     #header .site-description + .nav.cart {
  28.         margin-top: 0 !important;
  29.     }
  30. }
  31.  
  32. /* Make nav background white for all styles */
  33. #navigation {
  34.     background-color: #FFF !important;
  35.     }
  36.  
  37.     /* Remove border from selected menu item */
  38.     #navigation ul.nav > li.current_page_item > a {
  39.         box-shadow: none !important;
  40.         color: #e0434b !important;
  41.     }
  42.  
  43.     #navigation ul.nav li.current_page_parent > a {
  44.         box-shadow: none !important;
  45.     }
  46.  
  47.     #navigation ul.nav > li > a {
  48.         color: #484848 !important;
  49.     }
  50.  
  51.     #navigation ul.nav > li > a:hover {
  52.         box-shadow: none !important;
  53.         color: #db767b !important;
  54. }
  55.  
  56. @media only screen and (min-width: 800px) {
  57. .home #navigation {
  58.     background-color: #FFF !important;
  59. }
  60.  
  61. /* Display telephone in white */
  62. .footer-shop-content .button {
  63.     color: #FFF !important;
  64. }
  65.  
  66. @media only screen and (min-width: 800px) {
  67.     #header .cart-contents {
  68.         top: 2.6em !important;
  69.     }
  70.  
  71.     #navigation {
  72.         margin-bottom: 0px !important;
  73.         }
  74.  
  75.         #navigation .widget_product_search {
  76.             display: block !important;
  77.             float: left !important;
  78.             margin-top: 35px !important;
  79.             margin-bottom: 35px !important;
  80.             width: 100% !important;
  81.         }
  82.  
  83.         #navigation .yith-ajaxsearchform-container {
  84.             background-color: #f1f1f1;
  85.             clear: none;
  86.             display: block !important;
  87.             float: left !important;
  88.             margin-top: 35px !important;
  89.             margin-bottom: 35px !important;
  90.             margin-left: 2.083333333333333%;
  91.             margin-right: 2.083333333333333%;
  92.             width: 100% !important;
  93.             width: 100% !important;
  94.             color: #db767b;
  95.             }
  96.  
  97.             #yith-ajaxsearchform {
  98.                 background: url('images/ico-search-mod.png') no-repeat right;
  99.                 background-color: #f1f1f1;
  100.                 box-sizing: border-box;
  101.                 position: relative;
  102.                 border-color: #d5d5d5;
  103.                 border-width: 0px;
  104.                 border-style: solid;
  105.                 -webkit-border-radius: 0.236em;
  106.                 border-radius: 0.236em;
  107.                 margin: 0;
  108.             }
  109.  
  110.             #yith-s {
  111.                 box-sizing: border-box;
  112.                 margin: 0;
  113.                 /*border: 1px solid #a3cb9e;*/
  114.                 border: 0;
  115.                 -webkit-border-radius: 0.236em;
  116.                 background-color: #f1f1f1;
  117.                 border-radius: 0.236em;
  118.                 /*background: none;*/
  119.                 color: #db767b;
  120.                 font-size: 1em;
  121.                 line-height: 1;
  122.                 padding: 1.416em;
  123.                 width: 100%;
  124.                 -webkit-appearance: textfield;
  125.                 -webkit-rtl-ordering: logical;
  126.                 -webkit-user-select: text;
  127.                 cursor: auto;
  128.                 /*-webkit-box-shadow: 0px 0px 5px #484848;  
  129.                 -moz-box-shadow: 0px 0px 5px #484848;  
  130.                 box-shadow: 0px 0px 5px #484848;*/
  131.             }
  132.  
  133.                 #yith-s:focus {
  134.                     -webkit-box-shadow: 0px 0px 5px #db767b;  
  135.                     -moz-box-shadow: 0px 0px 5px #db767b;  
  136.                     box-shadow: 0px 0px 5px #db767b;
  137.                     -webkit-box-shadow: 0;  
  138.                     -moz-box-shadow: 0;
  139.                     /*box-shadow: 0;*/
  140.                     outline: 0;
  141.                     border: 0;
  142.                     background: none;
  143.                 }
  144.  
  145.             #yith-searchsubmit {
  146.                 display: none !important;
  147.                 top: 1em;
  148.                 right: 1em;
  149.                 position: absolute;
  150.                 border: none;
  151.                 overflow: hidden;
  152.                 margin: 0;
  153.                 height: 1.618em;
  154.                 width: 1.618em;
  155.                 background: url('../peddlar/images/ico-search.png') no-repeat center;
  156.                 background-size: 16px 16px;
  157.                 border-radius: 0;
  158.                 -moz-border-radius: 0;
  159.                 -webkit-border-radius: 0;
  160.                 box-shadow: none;
  161.                 -moz-box-shadow: none;
  162.                 -webkit-box-shadow: none;
  163.                 opacity: 0.2;
  164.                 filter: alpha(opacity=@opacity * 100);
  165.                 text-indent: -99em;
  166.                 display: inline-block;
  167.                 padding: .875em 1.416em;
  168.                 color: white;
  169.                 text-align: center;
  170.                 text-decoration: none;
  171.                 font-size: 1em;
  172.             }
  173.  
  174.         #navigation .yith-ajaxsearchform-container div label.screen-reader-text {
  175.             display: none;
  176.         }
  177.     }
  178.  
  179.  
  180.  
  181.     #content {
  182.         padding-top: 35px !important;
  183.     }
  184.  
  185.     #content.home {
  186.         padding-top: 0px !important;
  187.     }
  188. }
  189.  
  190.  
  191. /* </GENERAL> */
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199. /* <HOMEPAGE> */
  200.  
  201. .homepage-product-category {
  202.     float: left;
  203.     margin-left: 20px !important;
  204.     margin-right: 20px !important;
  205.     text-align: center !important;
  206.     width: 28%;
  207. }
  208.  
  209.  
  210.  
  211.  
  212. @media only screen and (max-width: 800px) {
  213.     .feature {
  214.         text-align: center !important;
  215.         margin-left: auto !important;
  216.         margin-right: auto !important;
  217.     }
  218.  
  219. }
  220.  
  221.  
  222. @media only screen and (min-width: 800px) {
  223.     .feature-title {
  224.         margin-top: -200px !important;
  225.     }
  226.  
  227.     .feature-content {
  228.         margin-top: 150px !important;
  229.     }
  230. }
  231.  
  232.  
  233.  
  234. /* </HOMEPAGE> */
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243. /* <WOOCOMMERCE> */
  244.  
  245.  
  246.  
  247.     /* <WOOCOMMERCE - PRODUCTLIST> */
  248.     @media only screen and (min-width: 800px) {
  249.  
  250.         /* Make products title visible */
  251.         ul.products li.product .product-details {
  252.             opacity: 1 !important;
  253.         }
  254.  
  255.         ul.products li.product .product-details {
  256.             background: none !important;
  257.             border: none !important;
  258.             float: right !important;
  259.             margin-left: 239px !important;
  260.             padding: 0 !important;
  261.             text-align: left !important;
  262.             width: 100% !important;
  263.             }
  264.  
  265.             ul.products.list li.product h3 {
  266.                 color: #000 !important;
  267.                 font-size: 100% !important;
  268.                 margin-left: 0 !important;
  269.                 width: 100% !important;
  270.             }
  271.  
  272.             ul.products.list li.product .price {
  273.                 margin-left: 0 !important;
  274.                 width: 100% !important;
  275.         }
  276.  
  277.         ul.products.list li.product div[itemprop="description"] {
  278.             margin-top: 55px !important;
  279.             width: 77.36% !important;
  280.         }
  281.  
  282.         ul.products.list li.product .gridlist-buttonwrap {
  283.             width: 77.36% !important;
  284.         }
  285.     }
  286.  
  287.     /* Hide ordering buttons */
  288.     .layout-full .woocommerce-result-count, .layout-full .woocommerce-ordering, .layout-full .woocommerce_ordering {
  289.         display: none !important;
  290.     }
  291.  
  292.     /* Hide grid/list button */
  293.     .gridlist-toggle {
  294.         display: none !important;
  295.     }
  296.  
  297. /* Make product image smaller */
  298. ul.products.list li.product img {
  299.     width: 200px !important;
  300. }
  301.  
  302. ul.products li.product .button {
  303.     color: #FFF !important;
  304. }
  305.  
  306. ul.products li.product .button:hover {
  307.     background-color: #e0434b !important;
  308. }
  309.  
  310. ul.products li.product .product-details .price {
  311.     color: #66ba5c !important;
  312.     font-size: 1em !important;
  313. }
  314.  
  315.  
  316.  
  317.  
  318.  
  319.     /* <WOOCOMMERCE PRODUCT PAGE> */
  320.     @media only screen and (min-width: 800px) {
  321.         .single-product .images {
  322.             width: 20% !important;
  323.         }
  324.  
  325.         .single-product .summary {
  326.             width: 78% !important;
  327.         }
  328.  
  329.     }
  330.  
  331.  
  332. /* </WOOCOMMERCE> */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement