-
-
Notifications
You must be signed in to change notification settings - Fork 269
Expand file tree
/
Copy path_container.scss
More file actions
31 lines (25 loc) · 628 Bytes
/
_container.scss
File metadata and controls
31 lines (25 loc) · 628 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
.quarkdown .container {
display: inline-block;
&.fullwidth, &.full-column-span {
display: block;
}
&:not(.fullwidth):not(.clip > .container) :only-child {
margin: 0;
}
// When the container has an explicit inline margin, the default margins of children
// that don't carry their own inline margin are suppressed.
&[style*="margin"] > :not([style*="margin"]) {
margin-left: 0 !important;
margin-right: 0 !important;
&:first-child {
margin-top: 0 !important;
}
&:last-child {
margin-bottom: 0 !important;
}
}
> .stack {
width: 100%;
height: 100%;
}
}