Created
December 1, 2013 01:12
-
-
Save jamesmm77/7727419 to your computer and use it in GitHub Desktop.
Modified home page css from the Agency Pro Genesis child theme for the Genesis Featured Widget Amplified.
Replaces lines 1108 to 1286 in the style.css from Agency Pro. Allows you to use the Genesis Featured Widget Amplified in the Home Middle widget of Agency Pro.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Home Page | |
--------------------------------------------- */ | |
.agency-pro-home .content .widget { | |
background: #fff; | |
margin-bottom: 80px; | |
margin-bottom: 8rem; | |
padding: 40px; | |
padding: 4rem; | |
} | |
.agency-pro-home .content .featured-content, | |
.agency-pro-home .content .featuredpost { | |
padding: 0; | |
} | |
.agency-pro-home .content .featured-content .widget-title, | |
.agency-pro-home .content .featuredpost .widget-title { | |
color: #fff; | |
text-align: center; | |
margin: -40px 0 0; | |
margin: -4rem 0 0; | |
padding-bottom: 20px; | |
padding-bottom: 2rem; | |
} | |
.agency-pro-home .content .featured-content .widget-title::before, | |
.agency-pro-home .content .featured-content .widget-title::after, | |
.agency-pro-home .content .featuredpost .widget-title::before, | |
.agency-pro-home .content .featuredpost .widget-title::after { | |
content: " "; | |
display: inline-block; | |
border-top: 2px solid #fff; | |
padding-bottom: 4px; | |
width: 15%; | |
} | |
.agency-pro-home .content .featured-content .widget-title::before, | |
.agency-pro-home .content .featuredpost .widget-title::before { | |
margin-right: 12px; | |
margin-right: 1.2rem; | |
} | |
.agency-pro-home .content .featured-content .widget-title::after, | |
.agency-pro-home .content .featuredpost .widget-title::after { | |
margin-left: 12px; | |
margin-left: 1.2rem; | |
} | |
.agency-pro-home .content .featured-content article ~ .widget-title, | |
.agency-pro-home .content .featuredpost div.entry ~ .widget-title { | |
clear: both; | |
color: #333333; | |
margin: 0; | |
padding: 20px 0; | |
padding: 2rem 0; | |
} | |
.agency-pro-home .content .featured-content article ~ .widget-title:before, | |
.agency-pro-home .content .featured-content article ~ .widget-title:after, | |
.agency-pro-home .content .featuredpost div.entry ~ .widget-title:before, | |
.agency-pro-home .content .featuredpost div.entry ~ .widget-title:after { | |
border-color: #333333; | |
} | |
.agency-pro-home .content .featured-content article ~ ul, | |
.agency-pro-home .content .featured-content .more-from-category, | |
.agency-pro-home .content .featuredpost div.entry ~ ul, | |
.agency-pro-home .content .featuredpost .more-from-category { | |
margin-bottom: 40px; | |
margin-bottom: 4rem; | |
text-align: center; | |
} | |
.agency-pro-home .content .featured-content .entry, | |
.agency-pro-home .content .featuredpost .entry { | |
border-radius: 0; | |
margin: 0; | |
padding: 0; | |
position: relative; | |
} | |
.agency-pro-home .content .featured-content .entry-image, | |
.agency-pro-home .content .featuredpost img { | |
display: block; | |
margin-bottom: 0; | |
} | |
.agency-pro-home .content .featured-content .entry-header, | |
.agency-pro-home .content .featuredpost h2 { | |
padding: 40px 40px 0; | |
} | |
.agency-pro-home .content .featured-content .entry-content, | |
.agency-pro-home .content .featuredpost p { | |
padding: 0 40px; | |
} | |
.agency-pro-home .content .featured-content .entry-content p, | |
.agency-pro-home .content .featuredpost p { | |
margin-bottom: 40px; | |
margin-bottom: 4rem; | |
} | |
.agency-pro-home .featured-content a:hover, | |
.agency-pro-home .featuredpost a:hover { | |
color: #d7c603; | |
} | |
.agency-pro-home .featuredpost .entry { | |
background: none; | |
float: left; | |
width: 33.33333333%; | |
} | |
.agency-pro-home .featuredpost img.entry-image, | |
.agency-pro-home .featuredpost img { | |
margin: 0; | |
} | |
.home-top .wrap { | |
color: #fff; | |
font-family: 'Spinnaker', sans-serif; | |
padding: 15% 0; | |
text-align: center; | |
} | |
.home-top .widget-title { | |
color: #fff; | |
font-size: 60px; | |
font-size: 6rem; | |
line-height: 1; | |
} | |
.home-top .button { | |
background-color: #fff; | |
border-radius: 50px; | |
color: #333; | |
text-transform: uppercase; | |
} | |
.home-top .widget .button:hover { | |
background-color: #333; | |
color: #fff; | |
} | |
.home-middle { | |
padding: 10% 0 5%; | |
} | |
.home-middle .featuredpost img.entry-image, | |
.home-middle .featuredpost img { | |
left: 0; | |
position: absolute; | |
} | |
.home-middle .featuredpost img:hover { | |
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=10)"; | |
filter: alpha(opacity=10); | |
-moz-opacity: 0.1; | |
-khtml-opacity: 0.1; | |
opacity: 0.1; | |
} | |
.home-middle .featuredpost .entry { | |
background-color: #333; | |
color: #fff; | |
} | |
.home-middle .featuredpost .entry { | |
min-height: 380px; | |
} | |
.home-middle .featuredpost .entry-title a, | |
.home-middle .featuredpost h2 a { | |
color: #fff; | |
} | |
.home-bottom { | |
padding: 5% 0 10%; | |
} | |
.home-bottom .featuredpost .entry { | |
min-height: 320px; | |
} | |
.home-bottom .featuredpost .post:nth-of-type(3n+1), | |
.home-middle .featuredpost .post:nth-of-type(3n+1) { | |
clear: left; | |
} | |
.home-bottom .featuredpost .entry:hover { | |
background-color: #333; | |
color: #fff; | |
} | |
.home-bottom .featuredpost .entry:hover .entry-title a { | |
color: #fff; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment