layout-content-medium.css
Same filename in other branches
Grid system definition for the content wide layout.
File
-
core/
themes/ olivero/ css/ layout/ layout-content-medium.css
View source
- /*
- * DO NOT EDIT THIS FILE.
- * See the following change record for more information,
- * https://www.drupal.org/node/3084859
- * @preserve
- */
-
- /**
- * @file
- * Grid system definition for the content wide layout.
- */
-
- .layout--content-medium,
- .layout--pass--content-medium > * {
- -ms-grid-column: 1;
- -ms-grid-column-span: 6;
- grid-column: 1 / 7;
- width: 100%;
- }
-
- @media (min-width: 43.75rem) {
-
- .layout--content-medium,
- .layout--pass--content-medium > * {
- -ms-grid-column: 2;
- -ms-grid-column-span: 12;
- grid-column: 2 / 14;
- }
- }
-
- @media (min-width: 62.5rem) {
-
- .layout--content-medium,
- .layout--pass--content-medium > * {
- -ms-grid-column: 3;
- -ms-grid-column-span: 10;
- 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.
- */
-
- @media (min-width: 43.75rem) {
-
- .layout--pass--content-medium > * .layout--content-medium,
- .layout--content-medium .layout--content-medium,
- .layout--pass--content-medium > * .layout--pass--content-medium > *,
- .layout--content-medium .layout--pass--content-medium > * {
- -ms-grid-column: 1;
- -ms-grid-column-span: 12;
- grid-column: 1 / 13;
- }
- }
-
- @media (min-width: 62.5rem) {
-
- .layout--pass--content-medium > * .layout--content-medium,
- .layout--content-medium .layout--content-medium,
- .layout--pass--content-medium > * .layout--pass--content-medium > *,
- .layout--content-medium .layout--pass--content-medium > * {
- -ms-grid-column: 1;
- -ms-grid-column-span: 10;
- grid-column: 1 / 11;
- }
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.