From ba756b058de824fcdeb3e4f104f6dfdddf6d0cfb Mon Sep 17 00:00:00 2001 From: madalingorbanescu Date: Mon, 11 Nov 2019 10:02:56 +0200 Subject: [PATCH] Add style for full width page and single to close #1 --- assets/scss/pages/_single.scss | 4 ++++ style-rtl.css | 4 ++++ style.css | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/assets/scss/pages/_single.scss b/assets/scss/pages/_single.scss index 08c8be5..7b67214 100644 --- a/assets/scss/pages/_single.scss +++ b/assets/scss/pages/_single.scss @@ -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 { diff --git a/style-rtl.css b/style-rtl.css index 3611a7f..eb0dfee 100644 --- a/style-rtl.css +++ b/style-rtl.css @@ -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); } diff --git a/style.css b/style.css index 8dd507b..a91222e 100644 --- a/style.css +++ b/style.css @@ -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); }