Skip to content

Commit

Permalink
Inner pages padding.
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagonoronha committed Jun 6, 2017
1 parent 0f1ea9e commit 2ef700c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
*** Deli Changelog ***

2017.06.06 - version 2.0.7
* Tweak - Remove homepage top padding.

2017.04.24 - version 2.0.6
* Added separate changelog.txt file.

Expand Down
3 changes: 3 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,9 @@ table.cart td.actions {
.widget_recent_entries ul li:before, .widget_pages ul li:before {
content: "\f15c" !important; }

body:not(.page-template-template-homepage) .site-main {
padding: 2.618em; }

.page-template-template-homepage:not(.has-post-thumbnail) .site-main,
.page-template-template-homepage .site-main {
padding-top: 0; }
Expand Down
4 changes: 4 additions & 0 deletions style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,10 @@ table.cart {
}

// Homepage template
body:not(.page-template-template-homepage) .site-main {
padding: 2.618em;
}

.page-template-template-homepage {
&:not(.has-post-thumbnail) .site-main,
.site-main {
Expand Down

0 comments on commit 2ef700c

Please sign in to comment.