layout-builder-threecol-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 three-column layout section. */ .layout--threecol-section { display: grid; gap: var(--grid-gap); grid-template-columns: var(--layout-threecol-grid); } .layout--threecol-section > .layout__region--first { grid-column: var(--layout-threecol-grid__first); } .layout--threecol-section > .layout__region--second { grid-column: var(--layout-threecol-grid__second); } .layout--threecol-section > .layout__region--third { grid-column: var(--layout-threecol-grid__third); } @media (min-width: 62.5rem) { .layout--threecol-section--25-50-25 { --layout-threecol-grid: repeat(4, minmax(0, 1fr)); --layout-threecol-grid__second: span 2; } .layout--threecol-section--25-25-50 { --layout-threecol-grid: repeat(4, minmax(0, 1fr)); --layout-threecol-grid__third: span 2; } .layout--threecol-section--50-25-25 { --layout-threecol-grid: repeat(4, minmax(0, 1fr)); --layout-threecol-grid__first: span 2; } .layout--threecol-section--33-34-33 { --layout-threecol-grid: repeat(3, minmax(0, 1fr)); } }
File
-
core/
themes/ olivero/ css/ layout/ layout-builder-threecol-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 three-column layout section.
- */
-
- .layout--threecol-section {
- display: grid;
- gap: var(--grid-gap);
- grid-template-columns: var(--layout-threecol-grid);
- }
-
- .layout--threecol-section > .layout__region--first {
- grid-column: var(--layout-threecol-grid__first);
- }
-
- .layout--threecol-section > .layout__region--second {
- grid-column: var(--layout-threecol-grid__second);
- }
-
- .layout--threecol-section > .layout__region--third {
- grid-column: var(--layout-threecol-grid__third);
- }
-
- @media (min-width: 62.5rem) {
- .layout--threecol-section--25-50-25 {
- --layout-threecol-grid: repeat(4, minmax(0, 1fr));
- --layout-threecol-grid__second: span 2;
- }
-
- .layout--threecol-section--25-25-50 {
- --layout-threecol-grid: repeat(4, minmax(0, 1fr));
- --layout-threecol-grid__third: span 2;
- }
-
- .layout--threecol-section--50-25-25 {
- --layout-threecol-grid: repeat(4, minmax(0, 1fr));
- --layout-threecol-grid__first: span 2;
- }
-
- .layout--threecol-section--33-34-33 {
- --layout-threecol-grid: repeat(3, minmax(0, 1fr));
- }
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.