layout-builder-fourcol-section.css
Same filename in other branches
/* * 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
- /*
- * 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));
- }
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.