layout-content-medium.css

Same filename and directory in other branches
  1. 10 core/themes/olivero/css/layout/layout-content-medium.css
  2. 11.x core/themes/olivero/css/layout/layout-content-medium.css
  3. 9 core/themes/olivero/css/layout/layout-content-medium.css

Grid system definition for the content wide layout.

File

core/themes/olivero/css/layout/layout-content-medium.css

View source
  1. /*
  2. * DO NOT EDIT THIS FILE.
  3. * See the following change record for more information,
  4. * https://www.drupal.org/node/3084859
  5. * @preserve
  6. */
  7. /**
  8. * @file
  9. * Grid system definition for the content wide layout.
  10. */
  11. .layout--content-medium,
  12. .layout--pass--content-medium > * {
  13. grid-column: 1 / 7;
  14. width: 100%;
  15. @media (min-width: 43.75rem) {
  16. grid-column: 2 / 14;
  17. }
  18. @media (min-width: 62.5rem) {
  19. grid-column: 3 / 13;
  20. }
  21. }
  22. /*
  23. If .layout--content-medium is nested within itself, or an element that's inheriting the
  24. layout--content-medium styles from its parent region, go full width within its
  25. parent .grid-full.
  26. */
  27. .layout--pass--content-medium > *,
  28. .layout--content-medium {
  29. & .layout--content-medium,
  30. & .layout--pass--content-medium > * {
  31. @media (min-width: 43.75rem) {
  32. grid-column: 1 / 13;
  33. }
  34. @media (min-width: 62.5rem) {
  35. grid-column: 1 / 11;
  36. }
  37. }
  38. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.