layout-content-medium.pcss.css
Same filename in other branches
Grid system definition for the content wide layout.
File
-
core/
themes/ olivero/ css/ layout/ layout-content-medium.pcss.css
View source
- /**
- * @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;
- }
- }
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.