layout.css

Same filename in this branch
  1. 11.x core/profiles/demo_umami/themes/umami/css/layout/layout.css
  2. 11.x core/themes/olivero/css/layout/layout.css
  3. 11.x core/themes/claro/css/layout/layout.css
Same filename in other branches
  1. 7.x themes/stark/layout.css
  2. 7.x themes/bartik/css/layout.css
  3. 9 core/profiles/demo_umami/themes/umami/css/layout/layout.css
  4. 9 core/themes/olivero/css/layout/layout.css
  5. 9 core/themes/seven/css/layout/layout.css
  6. 9 core/themes/claro/css/layout/layout.css
  7. 9 core/themes/bartik/css/layout.css
  8. 9 core/modules/ckeditor5/tests/modules/ckeditor5_test/css/layout.css
  9. 8.9.x core/profiles/demo_umami/themes/umami/css/layout/layout.css
  10. 8.9.x core/themes/seven/css/layout/layout.css
  11. 8.9.x core/themes/claro/css/layout/layout.css
  12. 8.9.x core/themes/stark/css/layout.css
  13. 8.9.x core/themes/bartik/css/layout.css
  14. 10 core/profiles/demo_umami/themes/umami/css/layout/layout.css
  15. 10 core/themes/olivero/css/layout/layout.css
  16. 10 core/themes/claro/css/layout/layout.css
  17. 10 core/modules/ckeditor5/tests/modules/ckeditor5_test/css/layout.css
.layout--two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.simple-box {
  padding: 0.5rem;
  background: #ccc;
}

.simple-box-title,
.simple-box-description {
  background: #fff;
}

File

core/modules/ckeditor5/tests/modules/ckeditor5_test/css/layout.css

View source
  1. .layout--two-col {
  2. display: grid;
  3. grid-template-columns: 1fr 1fr;
  4. }
  5. .simple-box {
  6. padding: 0.5rem;
  7. background: #ccc;
  8. }
  9. .simple-box-title,
  10. .simple-box-description {
  11. background: #fff;
  12. }

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