Alves: Recompile styles with fixed .alignfull logic, update footer styles to prevent horiz scrolling.

This commit is contained in:
Allan Cole 2019-08-22 12:12:28 -04:00
parent a3924a3498
commit 2d22539863
3 changed files with 52 additions and 31 deletions

View file

@ -355,7 +355,6 @@ blockquote p {
* 4. Footer & Footer Widgets
*/
.site-footer {
@extend %responsive-alignfull;
margin: 0 auto;
display: block;
padding-left: $spacing_horizontal;
@ -372,7 +371,7 @@ blockquote p {
#footer-widgets {
border-bottom: 1px solid #{map-deep-get($config-global, "color", "border", "light")};
@extend %responsive-alignwide;
@extend %responsive-alignwide-nested;
display: flex;
flex-wrap: nowrap;
flex: 1 0 100%;
@ -398,7 +397,7 @@ blockquote p {
}
#footer-info-wrapper {
@extend %responsive-alignwide;
@extend %responsive-alignwide-nested;
display: flex;
margin: 0 auto;
padding-top: ($baseline-unit * .75);

View file

@ -3205,7 +3205,7 @@ img#wpstats {
}
}
.entry-content > .alignwide, .entry-content > .alignwide.wp-block-jetpack-gif, .entry-content > .alignwide.wp-block-jetpack-tiled-gallery, #masthead, .site-footer #footer-widgets, .site-footer #footer-info-wrapper {
.entry-content > .alignwide, .entry-content > .alignwide.wp-block-jetpack-gif, .entry-content > .alignwide.wp-block-jetpack-tiled-gallery, #masthead, .site-footer #footer-info-wrapper {
width: calc(100% + 256px);
max-width: calc(100% - 32px);
margin-right: auto;
@ -3213,41 +3213,41 @@ img#wpstats {
}
@media only screen and (min-width: 560px) {
.entry-content > .alignwide, .entry-content > .alignwide.wp-block-jetpack-gif, .entry-content > .alignwide.wp-block-jetpack-tiled-gallery, #masthead, .site-footer #footer-widgets, .site-footer #footer-info-wrapper {
.entry-content > .alignwide, .entry-content > .alignwide.wp-block-jetpack-gif, .entry-content > .alignwide.wp-block-jetpack-tiled-gallery, #masthead, .site-footer #footer-info-wrapper {
width: calc(calc( 560px - 32px) + 256px);
max-width: calc(100% - 32px);
}
}
@media only screen and (min-width: 640px) {
.entry-content > .alignwide, .entry-content > .alignwide.wp-block-jetpack-gif, .entry-content > .alignwide.wp-block-jetpack-tiled-gallery, #masthead, .site-footer #footer-widgets, .site-footer #footer-info-wrapper {
.entry-content > .alignwide, .entry-content > .alignwide.wp-block-jetpack-gif, .entry-content > .alignwide.wp-block-jetpack-tiled-gallery, #masthead, .site-footer #footer-info-wrapper {
width: calc(calc( 640px - 32px) + 256px);
max-width: calc(100% - 32px);
}
}
@media only screen and (min-width: 782px) {
.entry-content > .alignwide, .entry-content > .alignwide.wp-block-jetpack-gif, .entry-content > .alignwide.wp-block-jetpack-tiled-gallery, #masthead, .site-footer #footer-widgets, .site-footer #footer-info-wrapper {
.entry-content > .alignwide, .entry-content > .alignwide.wp-block-jetpack-gif, .entry-content > .alignwide.wp-block-jetpack-tiled-gallery, #masthead, .site-footer #footer-info-wrapper {
width: calc(calc( 782px - 32px) + 256px);
max-width: calc(100% - 32px);
}
}
@media only screen and (min-width: 1024px) {
.entry-content > .alignwide, .entry-content > .alignwide.wp-block-jetpack-gif, .entry-content > .alignwide.wp-block-jetpack-tiled-gallery, #masthead, .site-footer #footer-widgets, .site-footer #footer-info-wrapper {
.entry-content > .alignwide, .entry-content > .alignwide.wp-block-jetpack-gif, .entry-content > .alignwide.wp-block-jetpack-tiled-gallery, #masthead, .site-footer #footer-info-wrapper {
width: calc(calc( 782px - 32px) + 256px);
max-width: calc(100% - 32px);
}
}
@media only screen and (min-width: 1280px) {
.entry-content > .alignwide, .entry-content > .alignwide.wp-block-jetpack-gif, .entry-content > .alignwide.wp-block-jetpack-tiled-gallery, #masthead, .site-footer #footer-widgets, .site-footer #footer-info-wrapper {
.entry-content > .alignwide, .entry-content > .alignwide.wp-block-jetpack-gif, .entry-content > .alignwide.wp-block-jetpack-tiled-gallery, #masthead, .site-footer #footer-info-wrapper {
width: calc(calc( 782px - 32px) + 256px);
max-width: calc(100% - 32px);
}
}
.entry-content > .alignwide [class*="inner-container"] > .alignwide, .entry-content > .alignfull [class*="inner-container"] > .alignwide {
.entry-content > .alignwide [class*="inner-container"] > .alignwide, .entry-content > .alignfull [class*="inner-container"] > .alignwide, .site-footer #footer-widgets {
width: calc(100% + 256px);
max-width: 100%;
margin-right: auto;
@ -3255,42 +3255,53 @@ img#wpstats {
}
@media only screen and (min-width: 560px) {
.entry-content > .alignwide [class*="inner-container"] > .alignwide, .entry-content > .alignfull [class*="inner-container"] > .alignwide {
.entry-content > .alignwide [class*="inner-container"] > .alignwide, .entry-content > .alignfull [class*="inner-container"] > .alignwide, .site-footer #footer-widgets {
width: calc(calc( 560px - 32px) + 256px);
max-width: 100%;
}
}
@media only screen and (min-width: 640px) {
.entry-content > .alignwide [class*="inner-container"] > .alignwide, .entry-content > .alignfull [class*="inner-container"] > .alignwide {
.entry-content > .alignwide [class*="inner-container"] > .alignwide, .entry-content > .alignfull [class*="inner-container"] > .alignwide, .site-footer #footer-widgets {
width: calc(calc( 640px - 32px) + 256px);
max-width: 100%;
}
}
@media only screen and (min-width: 782px) {
.entry-content > .alignwide [class*="inner-container"] > .alignwide, .entry-content > .alignfull [class*="inner-container"] > .alignwide {
.entry-content > .alignwide [class*="inner-container"] > .alignwide, .entry-content > .alignfull [class*="inner-container"] > .alignwide, .site-footer #footer-widgets {
width: calc(calc( 782px - 32px) + 256px);
max-width: 100%;
}
}
@media only screen and (min-width: 1024px) {
.entry-content > .alignwide [class*="inner-container"] > .alignwide, .entry-content > .alignfull [class*="inner-container"] > .alignwide {
.entry-content > .alignwide [class*="inner-container"] > .alignwide, .entry-content > .alignfull [class*="inner-container"] > .alignwide, .site-footer #footer-widgets {
width: calc(calc( 782px - 32px) + 256px);
max-width: 100%;
}
}
@media only screen and (min-width: 1280px) {
.entry-content > .alignwide [class*="inner-container"] > .alignwide, .entry-content > .alignfull [class*="inner-container"] > .alignwide {
.entry-content > .alignwide [class*="inner-container"] > .alignwide, .entry-content > .alignfull [class*="inner-container"] > .alignwide, .site-footer #footer-widgets {
width: calc(calc( 782px - 32px) + 256px);
max-width: 100%;
}
}
.entry-content > .alignfull, .entry-content > .alignfull.wp-block-jetpack-gif, .entry-content > .alignfull.wp-block-jetpack-tiled-gallery, .site-footer {
/* Letting the box-model do all the work here. */
.entry-content > .alignfull, .entry-content > .alignfull.wp-block-jetpack-gif, .entry-content > .alignfull.wp-block-jetpack-tiled-gallery {
margin-right: -16px;
margin-left: -16px;
width: calc(100% + 32px);
/* Letting the box-model do most of the work here. */
}
@media only screen and (min-width: 560px) {
.entry-content > .alignfull, .entry-content > .alignfull.wp-block-jetpack-gif, .entry-content > .alignfull.wp-block-jetpack-tiled-gallery {
margin-right: inherit;
margin-left: inherit;
width: inherit;
}
}
.entry-content > .alignright {

View file

@ -3210,7 +3210,7 @@ img#wpstats {
}
}
.entry-content > .alignwide, .entry-content > .alignwide.wp-block-jetpack-gif, .entry-content > .alignwide.wp-block-jetpack-tiled-gallery, #masthead, .site-footer #footer-widgets, .site-footer #footer-info-wrapper {
.entry-content > .alignwide, .entry-content > .alignwide.wp-block-jetpack-gif, .entry-content > .alignwide.wp-block-jetpack-tiled-gallery, #masthead {
width: calc(100% + 256px);
max-width: calc(100% - 32px);
margin-left: auto;
@ -3218,41 +3218,41 @@ img#wpstats {
}
@media only screen and (min-width: 560px) {
.entry-content > .alignwide, .entry-content > .alignwide.wp-block-jetpack-gif, .entry-content > .alignwide.wp-block-jetpack-tiled-gallery, #masthead, .site-footer #footer-widgets, .site-footer #footer-info-wrapper {
.entry-content > .alignwide, .entry-content > .alignwide.wp-block-jetpack-gif, .entry-content > .alignwide.wp-block-jetpack-tiled-gallery, #masthead {
width: calc(calc( 560px - 32px) + 256px);
max-width: calc(100% - 32px);
}
}
@media only screen and (min-width: 640px) {
.entry-content > .alignwide, .entry-content > .alignwide.wp-block-jetpack-gif, .entry-content > .alignwide.wp-block-jetpack-tiled-gallery, #masthead, .site-footer #footer-widgets, .site-footer #footer-info-wrapper {
.entry-content > .alignwide, .entry-content > .alignwide.wp-block-jetpack-gif, .entry-content > .alignwide.wp-block-jetpack-tiled-gallery, #masthead {
width: calc(calc( 640px - 32px) + 256px);
max-width: calc(100% - 32px);
}
}
@media only screen and (min-width: 782px) {
.entry-content > .alignwide, .entry-content > .alignwide.wp-block-jetpack-gif, .entry-content > .alignwide.wp-block-jetpack-tiled-gallery, #masthead, .site-footer #footer-widgets, .site-footer #footer-info-wrapper {
.entry-content > .alignwide, .entry-content > .alignwide.wp-block-jetpack-gif, .entry-content > .alignwide.wp-block-jetpack-tiled-gallery, #masthead {
width: calc(calc( 782px - 32px) + 256px);
max-width: calc(100% - 32px);
}
}
@media only screen and (min-width: 1024px) {
.entry-content > .alignwide, .entry-content > .alignwide.wp-block-jetpack-gif, .entry-content > .alignwide.wp-block-jetpack-tiled-gallery, #masthead, .site-footer #footer-widgets, .site-footer #footer-info-wrapper {
.entry-content > .alignwide, .entry-content > .alignwide.wp-block-jetpack-gif, .entry-content > .alignwide.wp-block-jetpack-tiled-gallery, #masthead {
width: calc(calc( 782px - 32px) + 256px);
max-width: calc(100% - 32px);
}
}
@media only screen and (min-width: 1280px) {
.entry-content > .alignwide, .entry-content > .alignwide.wp-block-jetpack-gif, .entry-content > .alignwide.wp-block-jetpack-tiled-gallery, #masthead, .site-footer #footer-widgets, .site-footer #footer-info-wrapper {
.entry-content > .alignwide, .entry-content > .alignwide.wp-block-jetpack-gif, .entry-content > .alignwide.wp-block-jetpack-tiled-gallery, #masthead {
width: calc(calc( 782px - 32px) + 256px);
max-width: calc(100% - 32px);
}
}
.entry-content > .alignwide [class*="inner-container"] > .alignwide, .entry-content > .alignfull [class*="inner-container"] > .alignwide {
.entry-content > .alignwide [class*="inner-container"] > .alignwide, .entry-content > .alignfull [class*="inner-container"] > .alignwide, .site-footer #footer-widgets, .site-footer #footer-info-wrapper {
width: calc(100% + 256px);
max-width: 100%;
margin-left: auto;
@ -3260,42 +3260,53 @@ img#wpstats {
}
@media only screen and (min-width: 560px) {
.entry-content > .alignwide [class*="inner-container"] > .alignwide, .entry-content > .alignfull [class*="inner-container"] > .alignwide {
.entry-content > .alignwide [class*="inner-container"] > .alignwide, .entry-content > .alignfull [class*="inner-container"] > .alignwide, .site-footer #footer-widgets, .site-footer #footer-info-wrapper {
width: calc(calc( 560px - 32px) + 256px);
max-width: 100%;
}
}
@media only screen and (min-width: 640px) {
.entry-content > .alignwide [class*="inner-container"] > .alignwide, .entry-content > .alignfull [class*="inner-container"] > .alignwide {
.entry-content > .alignwide [class*="inner-container"] > .alignwide, .entry-content > .alignfull [class*="inner-container"] > .alignwide, .site-footer #footer-widgets, .site-footer #footer-info-wrapper {
width: calc(calc( 640px - 32px) + 256px);
max-width: 100%;
}
}
@media only screen and (min-width: 782px) {
.entry-content > .alignwide [class*="inner-container"] > .alignwide, .entry-content > .alignfull [class*="inner-container"] > .alignwide {
.entry-content > .alignwide [class*="inner-container"] > .alignwide, .entry-content > .alignfull [class*="inner-container"] > .alignwide, .site-footer #footer-widgets, .site-footer #footer-info-wrapper {
width: calc(calc( 782px - 32px) + 256px);
max-width: 100%;
}
}
@media only screen and (min-width: 1024px) {
.entry-content > .alignwide [class*="inner-container"] > .alignwide, .entry-content > .alignfull [class*="inner-container"] > .alignwide {
.entry-content > .alignwide [class*="inner-container"] > .alignwide, .entry-content > .alignfull [class*="inner-container"] > .alignwide, .site-footer #footer-widgets, .site-footer #footer-info-wrapper {
width: calc(calc( 782px - 32px) + 256px);
max-width: 100%;
}
}
@media only screen and (min-width: 1280px) {
.entry-content > .alignwide [class*="inner-container"] > .alignwide, .entry-content > .alignfull [class*="inner-container"] > .alignwide {
.entry-content > .alignwide [class*="inner-container"] > .alignwide, .entry-content > .alignfull [class*="inner-container"] > .alignwide, .site-footer #footer-widgets, .site-footer #footer-info-wrapper {
width: calc(calc( 782px - 32px) + 256px);
max-width: 100%;
}
}
.entry-content > .alignfull, .entry-content > .alignfull.wp-block-jetpack-gif, .entry-content > .alignfull.wp-block-jetpack-tiled-gallery, .site-footer {
/* Letting the box-model do all the work here. */
.entry-content > .alignfull, .entry-content > .alignfull.wp-block-jetpack-gif, .entry-content > .alignfull.wp-block-jetpack-tiled-gallery {
margin-left: -16px;
margin-right: -16px;
width: calc(100% + 32px);
/* Letting the box-model do most of the work here. */
}
@media only screen and (min-width: 560px) {
.entry-content > .alignfull, .entry-content > .alignfull.wp-block-jetpack-gif, .entry-content > .alignfull.wp-block-jetpack-tiled-gallery {
margin-left: inherit;
margin-right: inherit;
width: inherit;
}
}
.entry-content > .alignright {