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