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

Commit

Permalink
Reorganized modulation
Browse files Browse the repository at this point in the history
  • Loading branch information
danbru1989 committed Dec 17, 2019
1 parent ee6440e commit 80d7e0d
Show file tree
Hide file tree
Showing 64 changed files with 362 additions and 2,164 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
This is the custom Genesis starter theme for Brubaker Design Services. It provides a modular file structure and SASS partials for quick Wordpress developement. The Genesis Sample theme provided the foundation for this starter theme.

## Change Log
2.0.0 – Cleaned up unnessesary code and reorganized modulation.

1.2.0 – Removed Columns Block styles. Opted for default WP flexbox styles.

1.1.9 – Changed full width .content-sidebar-wrap to grid template "none".
Expand Down
2 changes: 1 addition & 1 deletion assets/css/admin.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/css/main.css

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion assets/scss/admin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
@import 'utilities/index';
@import 'base/color-palette';
@import 'base/font-sizes';
@import 'base/blocks/custom-block';



Expand Down
5 changes: 3 additions & 2 deletions assets/scss/components/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@

@import 'header/index';
@import 'navigation/index';
@import 'content-area/index';
@import 'body/index';
@import 'footer/index';

@import 'content/index';
@import 'entry/index';
@import 'sidebars/index';
@import 'widgets/index';
@import 'comments/index';
@import 'misc/index';
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ========== Content Sidebar Wrap ========== //
// ========== Base ========== //

.site-inner {
border-top: 1px solid transparent; // Prevents collapsing margin.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ========== Content Area ========== //

@import 'content-sidebar-wrap';
@import 'base';

@import 'layout--no-blocks';
// @import 'layout--blocked';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
// ========== Base ========== //

.entry-comments-link::before {
content: "\2014";
margin: 0 6px 0 2px;
}

.comment-respond,
.entry-comments,
.entry-pings {
Expand All @@ -22,4 +27,4 @@
.comment-form-cookies-consent label {
display: inline;
padding-left: 10px;
}
}
6 changes: 0 additions & 6 deletions assets/scss/components/content/_index.scss

This file was deleted.

16 changes: 0 additions & 16 deletions assets/scss/components/content/entry-footer/_entry-meta.scss

This file was deleted.

3 changes: 0 additions & 3 deletions assets/scss/components/content/entry-footer/_index.scss

This file was deleted.

10 changes: 0 additions & 10 deletions assets/scss/components/content/entry-header/_entry-meta.scss

This file was deleted.

25 changes: 0 additions & 25 deletions assets/scss/components/content/entry-header/_entry-title.scss

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions assets/scss/components/content/entry-header/_index.scss

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,3 @@
}
}

.entry-content > * {
@include space(margin, b);
max-width: 100%;

&:last-child {
margin-bottom: 0;
}
}
10 changes: 10 additions & 0 deletions assets/scss/components/entry/_entry-content.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// ========== Entry Content ========== //

.entry-content > * {
@include space(margin, b);
max-width: 100%;

&:last-child {
margin-bottom: 0;
}
}
11 changes: 11 additions & 0 deletions assets/scss/components/entry/_entry-footer.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// ========== Entry Footer ========== //

.entry-footer {
margin-top: 30px;
margin-bottom: 30px;

.entry-meta {
padding-top: 5px;
border-top: 2px solid $color--quaternary;
}
}
32 changes: 32 additions & 0 deletions assets/scss/components/entry/_entry-header.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// ========== Entry Headers ========== //



// Page Headers.
.page .entry-header,
.archive-description {
margin: 0 0 50px;
max-width: 100%;

.entry-title,
.archive-title {
margin: 0;
}
}



// Post Headers.
.post .entry-header {

.entry-title a {
color: $color--text-dark;
&:focus, &:hover {
color: $color--link-dark-hover;
}
}

.entry-meta {
margin-bottom: $mobile-spacing;
}
}
6 changes: 6 additions & 0 deletions assets/scss/components/entry/_index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// ========== Content ========== //

@import 'base';
@import 'entry-header';
@import 'entry-content';
@import 'entry-footer';
1 change: 0 additions & 1 deletion assets/scss/components/header/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@
width: 100%;
box-shadow: 0 0 10px $color--shadow;
z-index: 100;
@include media(ml) {position: fixed;}
}
2 changes: 1 addition & 1 deletion assets/scss/components/header/_index.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ========== Header ========== //

@import 'base';
@import 'title-area/index';
@import 'title-area';
64 changes: 64 additions & 0 deletions assets/scss/components/header/_title-area.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
// ========== Title Area ========== //



// Without Custom Logo.
.title-area {
text-align: center;
@include space(padding, all);

.site-title {
font-size: 30px;
font-weight: 700;
margin-bottom: 0;
a {
color: $color--text-dark;
&:hover, &:focus {
color: $color--link-dark-hover;
text-decoration: none;
}
}
}

.site-description {
border: 0;
clip: rect(0, 0, 0, 0);
height: 1px;
overflow: hidden;
position: absolute !important;
width: 1px;
word-wrap: normal !important;
}
}



// With Custom Logo.
.wp-custom-logo {

.title-area {
text-align: center;
padding-top: 30px;
padding-bottom: 30px;
@include media(ml) {padding-top: 10px; padding-bottom: 10px;}

img {
display: block;
width: 100%;
max-width: 350px;
height: auto;
margin: auto;
}
}

.site-title,
.site-description {
border: 0;
clip: rect(0, 0, 0, 0);
height: 1px;
overflow: hidden;
position: absolute !important;
width: 1px;
word-wrap: normal !important;
}
}
9 changes: 0 additions & 9 deletions assets/scss/components/header/title-area/_base.scss

This file was deleted.

6 changes: 0 additions & 6 deletions assets/scss/components/header/title-area/_index.scss

This file was deleted.

13 changes: 0 additions & 13 deletions assets/scss/components/header/title-area/_site-description.scss

This file was deleted.

31 changes: 0 additions & 31 deletions assets/scss/components/header/title-area/_site-logo.scss

This file was deleted.

14 changes: 0 additions & 14 deletions assets/scss/components/header/title-area/_site-title.scss

This file was deleted.

Loading

0 comments on commit 80d7e0d

Please sign in to comment.