You are here

layout-content-medium.css in Drupal 10

Same filename and directory in other branches
  1. 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. /*
  12. * Media query breakpoints.
  13. * Processed by postcss/postcss-custom-media.
  14. */
  15. /* Navigation related breakpoints */
  16. /* Grid related breakpoints */
  17. /* Grid shifts from 6 to 14 columns. */
  18. /* Width of the entire grid maxes out. */
  19. .layout--content-medium,
  20. .layout--pass--content-medium > * {
  21. grid-column: 1 / 7;
  22. width: 100%
  23. }
  24. @media (min-width: 43.75rem) {
  25. .layout--content-medium,
  26. .layout--pass--content-medium > * {
  27. grid-column: 2 / 14
  28. }
  29. }
  30. @media (min-width: 62.5rem) {
  31. .layout--content-medium,
  32. .layout--pass--content-medium > * {
  33. grid-column: 3 / 13
  34. }
  35. }
  36. /*
  37. If .layout--content-medium is nested within itself, or an element that's inheriting the
  38. layout--content-medium styles from its parent region, go full width within its
  39. parent .grid-full.
  40. */
  41. @media (min-width: 43.75rem) {
  42. .layout--pass--content-medium > * .layout--content-medium,
  43. .layout--pass--content-medium > * .layout--pass--content-medium > *,
  44. .layout--content-medium .layout--content-medium,
  45. .layout--content-medium .layout--pass--content-medium > * {
  46. grid-column: 1 / 13
  47. }
  48. }
  49. @media (min-width: 62.5rem) {
  50. .layout--pass--content-medium > * .layout--content-medium,
  51. .layout--pass--content-medium > * .layout--pass--content-medium > *,
  52. .layout--content-medium .layout--content-medium,
  53. .layout--content-medium .layout--pass--content-medium > * {
  54. grid-column: 1 / 11
  55. }
  56. }