Skip to content

Instantly share code, notes, and snippets.

@vinacode
Created July 1, 2014 02:31
Show Gist options
  • Save vinacode/14575d20b6822f8040d6 to your computer and use it in GitHub Desktop.
Save vinacode/14575d20b6822f8040d6 to your computer and use it in GitHub Desktop.
Customizr-style.css
/*
Theme Name: Quang Huc Corporation theme
Theme URI: http://htxquanghuc.com
Description: A child theme for the Customizr WordPress theme. This child theme simply includes 2 files : style.css to add your custom css and functions.php where you can extend Customizr's core code. In order to keep your code as clean and flexible as possible, try to use Customizr's hooks API for your customizations. Do something awesome and have fun !
Author: Duan Le
Author URI: http://htxquanghuc.com
Template: customizr
Version: 1.0.0
*/
/* Your awesome customizations start right here !
-------------------------------------------------------------- */
@font-face{font-family:RobotoMedium;font-style:normal;font-weight:400;src:url(fonts/Roboto_Medium.eot);src:url(fonts/Roboto_Medium.eot?#iefix) format('embedded-opentype'),url(fonts/Roboto_Medium.woff) format('woff'),url(fonts/Roboto_Medium.ttf) format('truetype')}
/* @font-face{font-family:RobotoRegular;font-style:normal;font-weight:400;src:url(fonts/Roboto_Regular.eot);src:url(fonts/Roboto_Regular.eot?#iefix) format('embedded-opentype'),url(fonts/Roboto_Regular.woff) format('woff'),url(fonts/Roboto_Regular.ttf) format('truetype')} */
@font-face{font-family:RobotoLight;font-style:normal;font-weight:400;src:url(fonts/Roboto_Light.eot);src:url(fonts/Roboto_Light.eot?#iefix) format('embedded-opentype'),url(fonts/Roboto_Light.woff) format('woff'),url(fonts/Roboto_Light.ttf) format('truetype')}
/* @font-face{font-family:RobotoThin;font-style:normal;font-weight:400;src:url(fonts/Roboto_Thin.eot);src:url(fonts/Roboto_Thin.eot?#iefix) format('embedded-opentype'),url(fonts/Roboto_Thin.woff) format('woff'),url(fonts/Roboto_Thin.ttf) format('truetype')} */
body {
margin: 0;
font-family:RobotoLight,Arial,sans-serif !important;
font-size: 14px;
line-height: 20px;
}
.navbar-wrapper .navbar h2.site-description {
font-size: 18px;
padding-top: 0px;
line-height: 20px;
font-style: italic;
color: #f78c40;
float: right;
}
.navbar .navbar-inner {
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
background: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.navbar .nav>li>a {
padding: 15px 20px !important;
font-size: 18px;
text-transform: uppercase;
}
.navbar .nav .dropdown-menu>li{
padding-top: 8px;
padding-bottom: 8px;
}
.navbar .nav .dropdown-menu>li>a {
font-size: 14px;
text-transform: uppercase;
}
.navbar .nav .dropdown-menu>li:last-child{
border: none;
}
.tc-hover-menu.nav ul {
top: 45px;
}
.navbar .nav>li>a:first-letter {
font-size: 18px;
}
.navbar-search-form {
float: left;
}
.breadcrumbs {
margin-bottom: 12px;
}
header.search-header .row-fluid .span8 {
width: 100%;
display: inline-block;
}
header.search-header .row-fluid .span4 {
width: 70%;
margin-top: 20px;
}
footer#footer .colophon a.back-to-top {
color: #f78c40;
font-size: 16px;
}
.nav-search-box {
margin: 0 0 20px;
float: center;
width: 34%;
}
/********** WooCommerce Settings Start *******/
.woocommerce div.product span.price, .woocommerce div.product p.price, .woocommerce #content div.product span.price, .woocommerce #content div.product p.price, .woocommerce-page div.product span.price, .woocommerce-page div.product p.price, .woocommerce-page #content div.product span.price, .woocommerce-page #content div.product p.price {
color: #85ad74;
font-size: 2.25em;
font-weight: bold;
margin: 20px 0px;
}
.woocommerce .shop_table .quantity .minus{
border-top-left-radius: 0;
border-top-right-radius: 0;
bottom: 0 !important;
right: 0;
}
.woocommerce .quantity .minus, .woocommerce #content .quantity .minus, .woocommerce-page .quantity .minus, .woocommerce-page #content .quantity .minus {
border-top-left-radius: 0;
border-top-right-radius: 0;
bottom: 10px;
right: 0;
}
.woocommerce div.product form.cart .button, .woocommerce #content div.product form.cart .button, .woocommerce-page div.product form.cart .button, .woocommerce-page #content div.product form.cart .button {
color: #fff;
text-shadow: none !important;
background-color: #ee7c2a;
background-image: -moz-linear-gradient(top,#f78c40,#e16309);
background-image: -webkit-gradient(linear,0 0,0 100%,from(#f78c40),to(#e16309));
background-image: -webkit-linear-gradient(top,#f78c40,#e16309);
background-image: -o-linear-gradient(top,#f78c40,#e16309);
background-image: linear-gradient(to bottom,#f78c40,#e16309);
background-repeat: repeat-x;
border-color: #e16309 #e16309 #984306;
border-color: rgba(0,0,0,.1)rgba(0,0,0,.1)rgba(0,0,0,.25);
padding: 7px;
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}
.woocommerce button.single_add_to_cart_button:hover {
background: #ee7c2a !important;
background: -webkit-gradient(linear,left top,left bottom,from(#ee7c2a),to(#bc580f));
background: -webkit-linear-gradient(#ee7c2a,#bc580f);
background: -moz-linear-gradient(center top,#ee7c2a 0%,#bc580f 100%);
background: -moz-gradient(center top,#ee7c2a 0%,#bc580f 100%);
color: #ffffff;
text-shadow: 0 -1px 0 rgba(0,0,0,0.6);
}
.woocommerce input.checkout-button, .woocommerce form.checkout input.button {
color: #fff !important;
text-shadow: none !important;
}
.woocommerce input.checkout-button:hover, .woocommerce form.checkout input.button:hover {
background: #ee7c2a !important;
}
.woocommerce-page form .form-row input.input-text{
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
width: 100%;
margin: 0;
outline: 0;
line-height: 1em;
height: 2.5em;
}
.woocommerce p {
font-size: 18px;
margin-bottom: 20px;
}
.woocommerce h2 {
font-size: 30px;
}
.woocommerce ul.bacs_details h3{
font-size: 18px;
}
.woocommerce ul.bacs_details {
font-size: 17px;
}
.woocommerce ul.order_details li {
font-size: 16px;
}
.woocommerce ul.order_details li.method {
margin: 70px 0 0px;
}
.woocommerce .price del>span.amount {
font-size: 1.5em;
margin-right: 20px;
}
.woocommerce .price ins>span.amount {
font-size: 1.3em;
}
.woocommerce ul.products li.product h3, .woocommerce-page ul.products li.product h3 {
padding: .5em 0;
margin: 0;
font-size: 1em;
}
.woocommerce .order_details li strong, .woocommerce-page .order_details li strong {
display: block;
font-size: 1.4em;
text-transform: none;
line-height: 1.5em;
border-top: 1px dashed #dfdbdf;
margin-top: 10px;
}
.woocommerce .widget_shopping_cart_content a.checkout {
margin-top: 10px;
}
/********** WooCommerce Settings End *******/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment