From 9be8cc3acdc932feca8aeda5bf03915dc6bdba8e Mon Sep 17 00:00:00 2001 From: Kjell Reigstad Date: Mon, 29 Oct 2018 14:26:41 -0400 Subject: [PATCH] Adjust alignfull margins To properly align to the left of the text and to the right of items that are floated right. Matches up with the treatment we use in the editor stylesheet. Tiny piece of #236 --- sass/blocks/_blocks.scss | 6 +++--- style-rtl.css | 6 +++--- style.css | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sass/blocks/_blocks.scss b/sass/blocks/_blocks.scss index 19d75b34..e245377c 100644 --- a/sass/blocks/_blocks.scss +++ b/sass/blocks/_blocks.scss @@ -42,9 +42,9 @@ margin-right: auto; @include media(tablet) { - margin-left: calc(1 * (100vw / 12)); - margin-right: calc(1 * (100vw / 12)); - max-width: calc(10 * (100vw / 12)); + margin-left: calc(2 * (100vw / 12)); + margin-right: calc(2 * (100vw / 12)); + max-width: calc(8 * (100vw / 12)); } } diff --git a/style-rtl.css b/style-rtl.css index 263b5b10..8208158d 100644 --- a/style-rtl.css +++ b/style-rtl.css @@ -2715,9 +2715,9 @@ body.page .main-navigation { @media only screen and (min-width: 768px) { .entry-content > *.alignwide, .entry-summary > *.alignwide { - margin-right: calc(1 * (100vw / 12)); - margin-left: calc(1 * (100vw / 12)); - max-width: calc(10 * (100vw / 12)); + margin-right: calc(2 * (100vw / 12)); + margin-left: calc(2 * (100vw / 12)); + max-width: calc(8 * (100vw / 12)); } } diff --git a/style.css b/style.css index 7de1435f..ef82b421 100644 --- a/style.css +++ b/style.css @@ -2715,9 +2715,9 @@ body.page .main-navigation { @media only screen and (min-width: 768px) { .entry-content > *.alignwide, .entry-summary > *.alignwide { - margin-left: calc(1 * (100vw / 12)); - margin-right: calc(1 * (100vw / 12)); - max-width: calc(10 * (100vw / 12)); + margin-left: calc(2 * (100vw / 12)); + margin-right: calc(2 * (100vw / 12)); + max-width: calc(8 * (100vw / 12)); } }