Skip to content

Instantly share code, notes, and snippets.

@mclanecreative
Last active December 31, 2015 02:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mclanecreative/7920201 to your computer and use it in GitHub Desktop.
Save mclanecreative/7920201 to your computer and use it in GitHub Desktop.
Urban Youth Workers Institute - Theme
-/*
Theme Name: UYWI-2014
Theme URI: http://uywi.org/
Description: Urban Youth Workers Institute - 2014
Author: Adam McLane
Author URI: http://theyouthcartel.com
Template: whitelight
Version: 0.4.6
*/
@import url("../whitelight/style.css");
/* =Theme customization starts here
--------------------------------------------------------------- */
/* =Navigation Customizations
--------------------------------------------------------------- */
.mini-cart {display: none !important;}
.nav li.current_page_item > a, .nav li.current_page_parent > a, .nav li.current-menu-ancestor > a, .nav li.current-cat > a, .nav li.current-menu-item > a {
background: none repeat scroll 0 0 #dcdcdc;
color: #df6f37 !important;
text-shadow: none;
}
/* These are the little arrows on the naviation */
#navigation .nav li.parent > a:after {
-moz-border-bottom-colors: none;
-moz-border-left-colors: none;
-moz-border-right-colors: none;
-moz-border-top-colors: none;
border-color: #dcdcdc rgba(0, 0, 0, 0) rgba(0, 0, 0, 0)!important ;
border-image: none;
border-style: solid;
border-width: 0.3em;
content: "";
display: block;
position: absolute;
right: 0.8751em;
top: 40%;
}
#navigation .nav li ul {
background: none repeat scroll 0 0 #dcdcdc !important;
border: medium none;
border-radius: 3px;
margin: -3px 0 0;
padding: 10px 15px;
position: absolute;
width: 180px;
z-index: 999;
}
.nav ul a {color:#df6f37 !important;}
#navigation .nav li.parent > a:after {
-moz-border-bottom-colors: none;
-moz-border-left-colors: none;
-moz-border-right-colors: none;
-moz-border-top-colors: none;
border-color: #dcdcdc rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) !important;
border-image: none;
border-style: solid;
border-width: 0.3em;
content: "";
display: block;
position: absolute;
right: 0.8751em;
top: 40%;
}
/* Not sure what this is for, something in the navigation */
#navigation .nav li.parent > a:after {
-moz-border-bottom-colors: none;
-moz-border-left-colors: none;
-moz-border-right-colors: none;
-moz-border-top-colors: none;
border-color: #dcdcdc rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) !important;
border-image: none;
border-style: solid;
border-width: 0.3em;
content: "";
display: block;
position: absolute;
right: 0.8751em;
top: 40%;
}
#navigation .nav li:hover > a {background:#dcdcdc;color:df6f37 !important;}
a.flex-active {
background: -moz-linear-gradient(center top , #dcdcdck 0%, #dcdcdc 100%) repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
}
#navigation .nav li ul li a {color:#df6f37 !important;}
#navigation .nav li.parent > a:hover {
color:#984218 !important;}
@media only screen and (max-width: 767px) {
/* iPhone landscape & down */
.sub-menu {display:none !important;}
}
/* = Slider Customizations
-------------------------------------------------------------- */
.flex-control-nav li a.flex-active {
background: -moz-linear-gradient(center top , #df6f37 0%, #df6f37 100%) repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
}
.controls-container .flex-control-nav li a.flex-active {
background: -moz-linear-gradient(center top , #df6f37 0%, #df6f37 100%) repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
}
/* = WooCommerce Store Customizations
-------------------------------------------------------------- */
.onsale {
background: none repeat scroll 0 0 #df6f37;
border-radius: 4px;
color: #FFFFFF;
font-size: 0.9em;
font-weight: bold;
line-height: 1;
padding: 5px 10px 4px;
text-transform: uppercase;
}
ul.products li.product a.button {
background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
color: white !important;
float: right;
font-size: 1em;
font-weight: normal;
margin: 0;
padding: 8px;
text-decoration: underline;
}
a.button, a.comment-reply-link, #commentform #submit, .submit, input[type="submit"], input.button, button.button {
background: -moz-linear-gradient(center top , #df6f37 0%, #df6f37 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
border: medium none;
border-radius: 5px;
box-shadow: none;
color: #FFFFFF !important;
cursor: pointer;
display: inline-block;
font-family: inherit;
font-size: 1em;
font-weight: bold;
margin: 5px;
padding: 6px 13px 5px;
text-align: center;
text-decoration: none;
}
a.button:hover,
a.comment-reply-link:hover,
#commentform #submit:hover,
.submit:hover,
input[type=submit]:hover,
input.button:hover,
button.button:hover {
text-decoration: none;
background: #cb7d17 !important;
}
.summary .price {
color: #df6f37 !important;
font-size: 1.6em;
font-weight: 700;
margin: 0 0 1em;
}
.single-product .summary .price {
color: #df6f37 !important;
font-size: 1.6em;
font-weight: 700;
}
a.button, a.comment-reply-link, #commentform #submit, .submit, input[type="submit"], input.button, button.button {
-webkit-box-shadow:none;
background-image:-webkit-linear-gradient(top, #df6f37, #df6f37);
/* = Blog page customizations
-------------------------------------------------------------- */
.blog-header {margin-bottom: 10px !important;}
/* = Event Calendar Pro customizations
-------------------------------------------------------------- */
.tribe-events-button {
background-color: #CDCDCD;
background-image: none;
border: 0 none;
border-radius: 3px;
box-shadow: none;
color: #FFFFFF;
cursor: pointer;
font-size: 1em !important;
font-weight: bold;
letter-spacing: 1px;
line-height: normal;
padding: 8px !important;
text-align: center;
text-decoration: none;
text-transform: uppercase;
}
.tribe-events-list .tribe-events-event-image img {
height: auto;
margin: 0;
padding: 0;
width:65% !important;
}
.tribe-events-nav-previous, .tribe-events-nav-next {display:none !important;}
.tribe-events-single .tribe-events-event-image {display:none !important;}
/* = General Options
-------------------------------------------------------------- */
.woo-pagination .page-numbers.current {
background: none repeat scroll 0 0 #df6f37;
border-color: #666;
color: #FFFFFF;
}
.custom .profile .headline_meta {display:none;}
.entry table {
width: 100%;
border: none !important;
margin-bottom: 1.2em;
}
/* Gravity Forms Support */
.gform_wrapper .top_label .gfield_label {
width: 100%;
}
.gform_wrapper .gfield_checkbox, .gform_wrapper .gfield_radio {
margin-left: 0px !important;
}
/* Hides selected page titles */
.page-id-4570 .type-page header h1 {display:none !important;}
/* The Well Shortcode */
.well-join {
border-top: 1px solid #e16f37;
background: #e16f37;
background: -webkit-gradient(linear, left top, left bottom, from(#e16f37), to(#e16f37));
background: -webkit-linear-gradient(top, #e16f37, #e16f37);
background: -moz-linear-gradient(top, #e16f37, #e16f37);
background: -ms-linear-gradient(top, #e16f37, #e16f37);
background: -o-linear-gradient(top, #e16f37, #e16f37);
padding: 5.5px 11px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
-webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
-moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
box-shadow: rgba(0,0,0,1) 0 1px 0;
text-shadow: rgba(0,0,0,.4) 0 1px 0;
color: white !important;
font-size: 15px;
font-family: Helvetica, Arial, Sans-Serif;
text-decoration: none;
vertical-align: middle;
}
.well-join:hover {
border-top-color: #b0b0b0;
background: #b0b0b0;
color: #ffffff !important;
text-decoration: none !important;
}
.well-join:active {
border-top-color: #1b435e;
background: #1b435e;
}
/* Gravity Forms */
body .gform_wrapper .gform_body .gform_fields .gfield input[type=text],
body .gform_wrapper .gform_body .gform_fields .gfield input[type=email],
body .gform_wrapper .gform_body .gform_fields .gfield input[type=tel],
body .gform_wrapper .gform_body .gform_fields .gfield input[type=url],
body .gform_wrapper .gform_body .gform_fields .gfield input[type=number],
body .gform_wrapper .gform_body .gform_fields .gfield input[type=password],
body .gform_wrapper .gform_body .gform_fields .gfield select,
body .gform_wrapper .gform_body .gform_fields .gfield textarea {
font-size:18px;
}
/* Member Dashboard Styling */
.custom #post-8994 h1 {display: none;}
/* Login form styling */
.loginwithajaxwidget-2, .lwa {width: 95% !important;}
.lwa td {
padding-top: 7px;
vertical-align: top;
border: none !important;
}
.lwa td, .lwa th {
border-spacing: 0;
padding: 0;
border: none !important;
}
.lwa table {
border-collapse: collapse;
border-spacing: 0;
margin: 0 !important;
width: 100% !important;
border: none !important;
}
.table, .entry table {
border: none !important;}
.entry table {
border: none !important;
}
.entry table td {border:none !important;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment