threecol_section.css
Same filename in this branch
Same filename and directory in other branches
- 10 core/profiles/demo_umami/themes/umami/layouts/threecol_section/threecol_section.css
- 10 core/themes/stable9/layouts/layout_builder/threecol_section/threecol_section.css
- 10 core/modules/layout_builder/layouts/threecol_section/threecol_section.css
- 11.x core/profiles/demo_umami/themes/umami/layouts/threecol_section/threecol_section.css
- 11.x core/themes/stable9/layouts/layout_builder/threecol_section/threecol_section.css
- 11.x core/modules/layout_builder/layouts/threecol_section/threecol_section.css
- 9 core/profiles/demo_umami/themes/umami/layouts/threecol_section/threecol_section.css
- 9 core/themes/stable9/layouts/layout_builder/threecol_section/threecol_section.css
- 9 core/themes/stable/layouts/threecol_section/threecol_section.css
- 9 core/modules/layout_builder/layouts/threecol_section/threecol_section.css
/*
* @file
* Provides the layout styles for three-column layout section.
*/
.layout--threecol-section {
display: flex;
flex-wrap: wrap;
}
.layout--threecol-section > .layout__region {
flex: 0 1 100%;
}
@media screen and (min-width: 40em) {
.layout--threecol-section--25-50-25 > .layout__region--first,
.layout--threecol-section--25-50-25 > .layout__region--third,
.layout--threecol-section--25-25-50 > .layout__region--first,
.layout--threecol-section--25-25-50 > .layout__region--second,
.layout--threecol-section--50-25-25 > .layout__region--second,
.layout--threecol-section--50-25-25 > .layout__region--third {
flex: 0 1 25%;
}
.layout--threecol-section--25-50-25 > .layout__region--second,
.layout--threecol-section--25-25-50 > .layout__region--third,
.layout--threecol-section--50-25-25 > .layout__region--first {
flex: 0 1 50%;
}
.layout--threecol-section--33-34-33 > .layout__region--first,
.layout--threecol-section--33-34-33 > .layout__region--third {
flex: 0 1 33%;
}
.layout--threecol-section--33-34-33 > .layout__region--second {
flex: 0 1 34%;
}
}
File
-
core/
themes/ stable/ layouts/ threecol_section/ threecol_section.css
View source
- /*
- * @file
- * Provides the layout styles for three-column layout section.
- */
-
- .layout--threecol-section {
- display: flex;
- flex-wrap: wrap;
- }
-
- .layout--threecol-section > .layout__region {
- flex: 0 1 100%;
- }
-
- @media screen and (min-width: 40em) {
- .layout--threecol-section--25-50-25 > .layout__region--first,
- .layout--threecol-section--25-50-25 > .layout__region--third,
- .layout--threecol-section--25-25-50 > .layout__region--first,
- .layout--threecol-section--25-25-50 > .layout__region--second,
- .layout--threecol-section--50-25-25 > .layout__region--second,
- .layout--threecol-section--50-25-25 > .layout__region--third {
- flex: 0 1 25%;
- }
- .layout--threecol-section--25-50-25 > .layout__region--second,
- .layout--threecol-section--25-25-50 > .layout__region--third,
- .layout--threecol-section--50-25-25 > .layout__region--first {
- flex: 0 1 50%;
- }
- .layout--threecol-section--33-34-33 > .layout__region--first,
- .layout--threecol-section--33-34-33 > .layout__region--third {
- flex: 0 1 33%;
- }
- .layout--threecol-section--33-34-33 > .layout__region--second {
- flex: 0 1 34%;
- }
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.