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

Improve alignfull and alignwide styles

parent cbf29c96
......@@ -41,13 +41,17 @@ h3,
.alignfull {
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 {
width: calc(100% + 20vw);
position: relative;
left: -10vw;
@include media-breakpoint-up(lg) {
.alignwide {
margin-left: -100px;
margin-right: -100px;
max-width: 1024px;
}
}
svg,
......@@ -62,17 +66,3 @@ object {
.top-banner {
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