Skip to content

Commit

Permalink
Add style for full width page and single to close #1
Browse files Browse the repository at this point in the history
  • Loading branch information
madalingorbanescu committed Nov 11, 2019
1 parent ab742cd commit ba756b0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions assets/scss/pages/_single.scss
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@
.entry-thumbnail__container {
background-color: var(--current-light-secondary);
}

&[class*="full-width"] {
--theme-content-width-normal: var(--theme-content-width-wide);
}
}

.post-password-form {
Expand Down
4 changes: 4 additions & 0 deletions style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -4595,6 +4595,10 @@ body.archive, body.blog, body.search {
.page .entry-thumbnail__container {
background-color: var(--current-light-secondary); }

.single[class*="full-width"],
.page[class*="full-width"] {
--theme-content-width-normal: var(--theme-content-width-wide); }

.post-password-form input[type="submit"] {
width: 100%;
margin-top: var(--theme-spacing-small); }
Expand Down
4 changes: 4 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4595,6 +4595,10 @@ body.archive, body.blog, body.search {
.page .entry-thumbnail__container {
background-color: var(--current-light-secondary); }

.single[class*="full-width"],
.page[class*="full-width"] {
--theme-content-width-normal: var(--theme-content-width-wide); }

.post-password-form input[type="submit"] {
width: 100%;
margin-top: var(--theme-spacing-small); }
Expand Down

0 comments on commit ba756b0

Please sign in to comment.