Skip to content
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.

Commit

Permalink
Adjust alignfull margins
Browse files Browse the repository at this point in the history
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
  • Loading branch information
kjellr committed Oct 29, 2018
1 parent 2713bc2 commit 9be8cc3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions sass/blocks/_blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}

Expand Down
6 changes: 3 additions & 3 deletions style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}

Expand Down
6 changes: 3 additions & 3 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}

Expand Down

0 comments on commit 9be8cc3

Please sign in to comment.