You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
764 B
40 lines
764 B
10 months ago
|
/**
|
||
|
* @file
|
||
|
* Grid system definition for the content wide layout.
|
||
|
*/
|
||
|
|
||
|
@import "../base/media-queries.pcss.css";
|
||
|
|
||
|
.layout--content-medium,
|
||
|
.layout--pass--content-medium > * {
|
||
|
grid-column: 1 / 7;
|
||
|
width: 100%;
|
||
|
|
||
|
@media (--grid-md) {
|
||
|
grid-column: 2 / 14;
|
||
|
}
|
||
|
|
||
|
@media (--lg) {
|
||
|
grid-column: 3 / 13;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
If .layout--content-medium is nested within itself, or an element that's inheriting the
|
||
|
layout--content-medium styles from its parent region, go full width within its
|
||
|
parent .grid-full.
|
||
|
*/
|
||
|
.layout--pass--content-medium > *,
|
||
|
.layout--content-medium {
|
||
|
& .layout--content-medium,
|
||
|
& .layout--pass--content-medium > * {
|
||
|
@media (--grid-md) {
|
||
|
grid-column: 1 / 13;
|
||
|
}
|
||
|
|
||
|
@media (--lg) {
|
||
|
grid-column: 1 / 11;
|
||
|
}
|
||
|
}
|
||
|
}
|