layout-content-medium.css in Drupal 10
Same filename and directory in other branches
Grid system definition for the content wide layout.
File
core/themes/olivero/css/layout/layout-content-medium.cssView 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.
- */
-
- /*
- * Media query breakpoints.
- * Processed by postcss/postcss-custom-media.
- */
-
- /* Navigation related breakpoints */
-
- /* Grid related breakpoints */
-
- /* Grid shifts from 6 to 14 columns. */
-
- /* Width of the entire grid maxes out. */
-
- .layout--content-medium,
- .layout--pass--content-medium > * {
- grid-column: 1 / 7;
- width: 100%
- }
-
- @media (min-width: 43.75rem) {
-
- .layout--content-medium,
- .layout--pass--content-medium > * {
- grid-column: 2 / 14
- }
- }
-
- @media (min-width: 62.5rem) {
-
- .layout--content-medium,
- .layout--pass--content-medium > * {
- 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--pass--content-medium > * .layout--pass--content-medium > *,
- .layout--content-medium .layout--content-medium,
- .layout--content-medium .layout--pass--content-medium > * {
- grid-column: 1 / 13
- }
- }
-
- @media (min-width: 62.5rem) {
-
- .layout--pass--content-medium > * .layout--content-medium,
- .layout--pass--content-medium > * .layout--pass--content-medium > *,
- .layout--content-medium .layout--content-medium,
- .layout--content-medium .layout--pass--content-medium > * {
- grid-column: 1 / 11
- }
- }