Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Michael Iseard
Kudos-Website
Commits
bbe094ed
Commit
bbe094ed
authored
Oct 12, 2020
by
Michael Iseard
Browse files
Improve alignfull and alignwide styles
parent
cbf29c96
Changes
1
Hide whitespace changes
Inline
Side-by-side
resources/assets/styles/common/_global.scss
View file @
bbe094ed
...
...
@@ -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
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment