layout-content-medium.css

Same filename and directory in other branches
  1. 10 core/themes/olivero/css/layout/layout-content-medium.css
  2. 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. }
  16. @media (min-width: 43.75rem) {
  17. .layout--content-medium,
  18. .layout--pass--content-medium > * {
  19. grid-column: 2 / 14;
  20. }
  21. }
  22. @media (min-width: 62.5rem) {
  23. .layout--content-medium,
  24. .layout--pass--content-medium > * {
  25. grid-column: 3 / 13;
  26. }
  27. }
  28. /*
  29. If .layout--content-medium is nested within itself, or an element that's inheriting the
  30. layout--content-medium styles from its parent region, go full width within its
  31. parent .grid-full.
  32. */
  33. @media (min-width: 43.75rem) {
  34. :is(.layout--pass--content-medium > *, .layout--content-medium) .layout--content-medium,
  35. :is(.layout--pass--content-medium > *, .layout--content-medium) .layout--pass--content-medium > * {
  36. grid-column: 1 / 13;
  37. }
  38. }
  39. @media (min-width: 62.5rem) {
  40. :is(.layout--pass--content-medium > *, .layout--content-medium) .layout--content-medium,
  41. :is(.layout--pass--content-medium > *, .layout--content-medium) .layout--pass--content-medium > * {
  42. grid-column: 1 / 11;
  43. }
  44. }

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