Commit bbe094ed authored by Michael Iseard's avatar Michael Iseard
Browse files

Improve alignfull and alignwide styles

parent cbf29c96
...@@ -41,13 +41,17 @@ h3, ...@@ -41,13 +41,17 @@ h3,
.alignfull { .alignfull {
width: 100vw; width: 100vw;
margin-left: calc(50% - 50vw); max-width: 100vw;
margin-left: calc(-100vw / 2 + 100% / 2);
margin-right: calc(-100vw / 2 + 100% / 2);
} }
.alignwide { @include media-breakpoint-up(lg) {
width: calc(100% + 20vw); .alignwide {
position: relative; margin-left: -100px;
left: -10vw; margin-right: -100px;
max-width: 1024px;
}
} }
svg, svg,
...@@ -62,17 +66,3 @@ object { ...@@ -62,17 +66,3 @@ object {
.top-banner { .top-banner {
background-color: var(--kudos-page-theme) !important; background-color: var(--kudos-page-theme) !important;
} }
main.wrapper {
display: grid;
grid-template-columns: 1fr unquote("min(65ch, 100%)") 1fr;
> * {
grid-column: 2;
}
.full-bleed {
width: 100%;
grid-column: 1 / 4;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment