Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Bardo committed Oct 7, 2016
2 parents 8194ce0 + dc01c7d commit 8267d05
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 4 deletions.
14 changes: 13 additions & 1 deletion .dev/sass/partials/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,25 @@ $entry-title-bg: rgba(0, 0, 0, 0.6) !default;

.site-header .site-title-wrapper {
float: left;
margin-left: 15px;
margin: 0 0 30px 15px;

@media #{$large-down} {
position: absolute;
z-index: 999999;
}

@media #{$medium-only} {
max-width: 90%;
z-index: 8;
position: relative;
}

@media #{$small-only} {
max-width: 75%;
z-index: 8;
position: relative;
}

}

.site-title {
Expand Down
8 changes: 8 additions & 0 deletions .dev/sass/partials/_hero.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
margin-right: 0;
}

body.home .hero {
padding: 150px 0;

@media #{$small-only} {
padding: 0;
}
}

.hero {
@extend .row;

Expand Down
4 changes: 3 additions & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ function lyrical_move_elements() {

remove_action( 'primer_after_header', 'primer_add_primary_navigation' );
remove_action( 'primer_after_header', 'primer_add_page_title' );
remove_action( 'primer_header', 'primer_add_site_title' );

add_action( 'primer_header', 'primer_add_primary_navigation', 5 );
add_action( 'primer_header', 'primer_add_site_title', 8 );
add_action( 'primer_header', 'primer_add_primary_navigation', 9 );

if ( ! is_front_page() || ! is_active_sidebar( 'hero' ) ) {

Expand Down
18 changes: 17 additions & 1 deletion style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -3112,11 +3112,21 @@ body.page-template-page-builder-no-header #primary {

.site-header .site-title-wrapper {
float: right;
margin-right: 15px; }
margin: 0 15px 30px 0; }
@media only screen and (max-width: 61.063em) {
.site-header .site-title-wrapper {
position: absolute;
z-index: 999999; } }
@media only screen and (min-width: 40.063em) and (max-width: 61em) {
.site-header .site-title-wrapper {
max-width: 90%;
z-index: 8;
position: relative; } }
@media only screen and (max-width: 40em) {
.site-header .site-title-wrapper {
max-width: 75%;
z-index: 8;
position: relative; } }

.site-title {
font-family: "Playfair Display", "Raleway", "Open Sans", "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
Expand Down Expand Up @@ -3249,6 +3259,12 @@ body.page-template-page-builder-no-header #primary {
.site-header-wrapper .hero {
margin-left: 0; }

body.home .hero {
padding: 150px 0; }
@media only screen and (max-width: 40em) {
body.home .hero {
padding: 0; } }

.hero {
padding-top: 55px; }
.hero:before, .hero:after {
Expand Down
18 changes: 17 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3112,11 +3112,21 @@ body.page-template-page-builder-no-header #primary {

.site-header .site-title-wrapper {
float: left;
margin-left: 15px; }
margin: 0 0 30px 15px; }
@media only screen and (max-width: 61.063em) {
.site-header .site-title-wrapper {
position: absolute;
z-index: 999999; } }
@media only screen and (min-width: 40.063em) and (max-width: 61em) {
.site-header .site-title-wrapper {
max-width: 90%;
z-index: 8;
position: relative; } }
@media only screen and (max-width: 40em) {
.site-header .site-title-wrapper {
max-width: 75%;
z-index: 8;
position: relative; } }

.site-title {
font-family: "Playfair Display", "Raleway", "Open Sans", "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
Expand Down Expand Up @@ -3249,6 +3259,12 @@ body.page-template-page-builder-no-header #primary {
.site-header-wrapper .hero {
margin-right: 0; }

body.home .hero {
padding: 150px 0; }
@media only screen and (max-width: 40em) {
body.home .hero {
padding: 0; } }

.hero {
padding-top: 55px; }
.hero:before, .hero:after {
Expand Down

0 comments on commit 8267d05

Please sign in to comment.