Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

layout-builder-fourcol-section.css

/*
 * DO NOT EDIT THIS FILE.
 * See the following change record for more information,
 * https://www.drupal.org/node/3084859
 * @preserve
 */

/*
 * @file
 * Provides the layout styles for four-column layout section.
 */

.layout--fourcol-section {
  display: grid;
  gap: var(--grid-gap);
  grid-template-columns: var(--layout-fourcol-grid);
}

/* Two column layout. */

@media (min-width: 43.75rem) {
  .layout--fourcol-section {
    --layout-fourcol-grid: repeat(2, minmax(0, 1fr));
  }
}

/* Four column layout. */

@media (min-width: 62.5rem) {
  .layout--fourcol-section {
    --layout-fourcol-grid: repeat(4, minmax(0, 1fr));
  }
}

File

core/themes/olivero/css/layout/layout-builder-fourcol-section.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. * Provides the layout styles for four-column layout section.
  10. */
  11. .layout--fourcol-section {
  12. display: grid;
  13. gap: var(--grid-gap);
  14. grid-template-columns: var(--layout-fourcol-grid);
  15. }
  16. /* Two column layout. */
  17. @media (min-width: 43.75rem) {
  18. .layout--fourcol-section {
  19. --layout-fourcol-grid: repeat(2, minmax(0, 1fr));
  20. }
  21. }
  22. /* Four column layout. */
  23. @media (min-width: 62.5rem) {
  24. .layout--fourcol-section {
  25. --layout-fourcol-grid: repeat(4, minmax(0, 1fr));
  26. }
  27. }

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal