twocol.css

Same filename in this branch
  1. 11.x core/themes/stable9/layouts/layout_discovery/twocol/twocol.css
Same filename and directory in other branches
  1. 9 core/themes/stable9/layouts/layout_discovery/twocol/twocol.css
  2. 9 core/modules/layout_discovery/layouts/twocol/twocol.css
  3. 10 core/themes/stable9/layouts/layout_discovery/twocol/twocol.css
  4. 10 core/modules/layout_discovery/layouts/twocol/twocol.css
  5. 8.9.x core/modules/layout_discovery/layouts/twocol/twocol.css
/*
 * @file
 * Provides the layout styles for layout_twocol.
 */

.layout--twocol {
  display: flex;
  flex-wrap: wrap;
}

.layout--twocol > .layout__region {
  flex: 0 1 100%;
}

@media screen and (min-width: 40em) {
  .layout--twocol > .layout__region--first,
  .layout--twocol > .layout__region--second {
    flex: 0 1 50%;
  }
}

File

core/modules/layout_discovery/layouts/twocol/twocol.css

View source
  1. /*
  2. * @file
  3. * Provides the layout styles for layout_twocol.
  4. */
  5. .layout--twocol {
  6. display: flex;
  7. flex-wrap: wrap;
  8. }
  9. .layout--twocol > .layout__region {
  10. flex: 0 1 100%;
  11. }
  12. @media screen and (min-width: 40em) {
  13. .layout--twocol > .layout__region--first,
  14. .layout--twocol > .layout__region--second {
  15. flex: 0 1 50%;
  16. }
  17. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.