layout-2-col.css

Same filename and directory in other branches
  1. 10 core/profiles/demo_umami/themes/umami/css/layout/layout-2-col.css
  2. 11.x core/profiles/demo_umami/themes/umami/css/layout/layout-2-col.css
  3. 8.9.x core/profiles/demo_umami/themes/umami/css/layout/layout-2-col.css

This file is used to create the layout when the theme has 2 columns.

File

core/profiles/demo_umami/themes/umami/css/layout/layout-2-col.css

View source
  1. /**
  2. * @file
  3. * This file is used to create the layout when the theme has 2 columns.
  4. */
  5. /* Large */
  6. @media screen and (min-width: 60rem) { /* 960px */
  7. .two-columns .main {
  8. display: flex;
  9. flex-wrap: wrap;
  10. }
  11. .two-columns .main .layout-content,
  12. .two-columns .main .layout-sidebar {
  13. flex: 0 1 100%;
  14. }
  15. .two-columns .main .layout-content {
  16. flex: 0 1 72%;
  17. margin-right: 3%; /* LTR */
  18. }
  19. [dir="rtl"] .two-columns .main .layout-content {
  20. margin-right: 0;
  21. margin-left: 3%;
  22. }
  23. .two-columns .main .layout-sidebar {
  24. flex: 0 1 25%;
  25. }
  26. }

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