layout.css

Same filename in this branch
  1. 9 core/profiles/demo_umami/themes/umami/css/layout/layout.css
  2. 9 core/themes/olivero/css/layout/layout.css
  3. 9 core/themes/seven/css/layout/layout.css
  4. 9 core/themes/claro/css/layout/layout.css
  5. 9 core/themes/bartik/css/layout.css
Same filename in other branches
  1. 7.x themes/stark/layout.css
  2. 7.x themes/bartik/css/layout.css
  3. 8.9.x core/profiles/demo_umami/themes/umami/css/layout/layout.css
  4. 8.9.x core/themes/seven/css/layout/layout.css
  5. 8.9.x core/themes/claro/css/layout/layout.css
  6. 8.9.x core/themes/stark/css/layout.css
  7. 8.9.x core/themes/bartik/css/layout.css
  8. 10 core/profiles/demo_umami/themes/umami/css/layout/layout.css
  9. 10 core/themes/olivero/css/layout/layout.css
  10. 10 core/themes/claro/css/layout/layout.css
  11. 10 core/modules/ckeditor5/tests/modules/ckeditor5_test/css/layout.css
  12. 11.x core/profiles/demo_umami/themes/umami/css/layout/layout.css
  13. 11.x core/themes/olivero/css/layout/layout.css
  14. 11.x core/themes/claro/css/layout/layout.css
  15. 11.x 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.