mirror of
https://github.com/10h30/trestle.git
synced 2026-07-11 18:56:07 +09:00
modified CSS, added fancybox to required plugins in functions.php, added button colors
This commit is contained in:
Binary file not shown.
+7
-1
@@ -93,6 +93,12 @@ function trestle_register_required_plugins() {
|
||||
'required' => true,
|
||||
),
|
||||
|
||||
array(
|
||||
'name' => 'FancyBox for WordPress',
|
||||
'slug' => 'fancybox-for-wordpress',
|
||||
'required' => true,
|
||||
),
|
||||
|
||||
array(
|
||||
'name' => 'Genesis Featured Widget Amplified',
|
||||
'slug' => 'genesis-featured-widget-amplified',
|
||||
@@ -277,7 +283,7 @@ add_action( 'init', 'trestle_nav_modifications' );
|
||||
* Footer
|
||||
===========================================*/
|
||||
function trestle_custom_footer($output) {
|
||||
return $output . '<p>[footer_childtheme_link before=""] by <a href="http://mightyminnow.com">MIGHTYminnow</a></p>';
|
||||
return $output . '<p class="mm">[footer_childtheme_link before=""] by <a href="http://mightyminnow.com">MIGHTYminnow</a></p>';
|
||||
}
|
||||
add_filter( 'genesis_footer_output', 'trestle_custom_footer' );
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 10 KiB |
@@ -326,6 +326,15 @@ img {
|
||||
/* Forms
|
||||
--------------------------------------------- */
|
||||
|
||||
input,
|
||||
select,
|
||||
textarea,
|
||||
button,
|
||||
.button {
|
||||
padding: 16px 24px;
|
||||
padding: 1.6rem 2.4rem;
|
||||
}
|
||||
|
||||
input,
|
||||
select,
|
||||
textarea {
|
||||
@@ -334,10 +343,6 @@ textarea {
|
||||
border-radius: 3px;
|
||||
box-shadow: 1px 1px 3px #eee inset;
|
||||
color: #999;
|
||||
font-size: 14px;
|
||||
font-size: 1.4rem;
|
||||
padding: 16px;
|
||||
padding: 1.6rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@@ -367,8 +372,6 @@ input[type="submit"],
|
||||
box-shadow: none;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
padding: 16px 24px;
|
||||
padding: 1.6rem 2.4rem;
|
||||
text-transform: uppercase;
|
||||
width: auto;
|
||||
}
|
||||
@@ -397,6 +400,40 @@ input[type="search"]::-webkit-search-results-button {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Button Colors */
|
||||
.red {
|
||||
background-color: #f15123;
|
||||
border-color: #f15123;
|
||||
}
|
||||
|
||||
.red:hover {
|
||||
background-color: #333;
|
||||
border-color: #333;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
.blue {
|
||||
background-color: #0971B2;
|
||||
border-color: #0971B2;
|
||||
}
|
||||
|
||||
.blue:hover {
|
||||
background-color: #333;
|
||||
border-color: #333;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
.green {
|
||||
background-color: #00A476;
|
||||
border-color: #00A476;
|
||||
}
|
||||
|
||||
.green:hover {
|
||||
background-color: #333;
|
||||
border-color: #333;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
/* Tables
|
||||
--------------------------------------------- */
|
||||
|
||||
@@ -968,7 +1005,8 @@ Site Navigation
|
||||
|
||||
.genesis-nav-menu .sub-menu a,
|
||||
.genesis-nav-menu ul a {
|
||||
border-top: 1px solid #eee;
|
||||
border: 1px solid #eee;
|
||||
border-bottom: none;
|
||||
padding: 10px 20px;
|
||||
padding: 1rem 2rem;
|
||||
position: relative;
|
||||
@@ -1034,7 +1072,8 @@ Site Navigation
|
||||
|
||||
.nav-primary a:hover,
|
||||
.nav-primary .current-menu-item > a,
|
||||
.nav-primary .current_page_item > a {
|
||||
.nav-primary .current_page_item > a,
|
||||
.nav-primary .current_page_ancestor > a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@@ -1057,8 +1096,10 @@ Site Navigation
|
||||
}
|
||||
|
||||
.nav-primary .sub-menu a:hover,
|
||||
.nav-primary ul ul a:hover {
|
||||
color: #333;
|
||||
.nav-primary ul ul a:hover,
|
||||
.nav-primary ul ul .current_page_item > a,
|
||||
.nav-primary ul ul .current_page_ancestor > a {
|
||||
color: #222;
|
||||
}
|
||||
|
||||
/* Secondary Navigation
|
||||
@@ -1100,13 +1141,18 @@ Content Area
|
||||
.entry-content ol,
|
||||
.entry-content p,
|
||||
.entry-content ul,
|
||||
.ez-home-container-area ol,
|
||||
.ez-home-container-area p,
|
||||
.ez-home-container-area ul,
|
||||
.quote-caption {
|
||||
margin-bottom: 26px;
|
||||
margin-bottom: 2.6rem;
|
||||
}
|
||||
|
||||
.entry-content ol,
|
||||
.entry-content ul {
|
||||
.entry-content ul,
|
||||
.ez-home-container-area ol,
|
||||
.ez-home-container-area ul {
|
||||
margin-left: 40px;
|
||||
margin-left: 4rem;
|
||||
}
|
||||
@@ -1124,10 +1170,6 @@ Content Area
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.entry-content .search-form {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.entry-meta {
|
||||
color: #999;
|
||||
font-size: 14px;
|
||||
@@ -1386,6 +1428,11 @@ Site Footer
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.site-footer a:before,
|
||||
.site-footer a:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.site-footer p {
|
||||
margin-bottom: .75em;
|
||||
}
|
||||
@@ -1404,12 +1451,26 @@ General Components
|
||||
padding-right: 115px;
|
||||
}
|
||||
|
||||
/* FancyBox for Wordpress */
|
||||
#fancybox-wrap * {
|
||||
-webkit-box-sizing: content-box !important;
|
||||
-moz-box-sizing: content-box !important;
|
||||
-ms-box-sizing: content-box !important;
|
||||
box-sizing: content-box !important;
|
||||
}
|
||||
|
||||
.search-form input[type="submit"] {
|
||||
float: right;
|
||||
max-width: 108px;
|
||||
margin-right: -115px;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
Specific Pages
|
||||
---------------------------------------------------------------------------------------------------- */
|
||||
|
||||
|
||||
/*
|
||||
Media Queries
|
||||
---------------------------------------------------------------------------------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user