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/bartik/css/layout.css
  5. 9 core/modules/ckeditor5/tests/modules/ckeditor5_test/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
/*
 * DO NOT EDIT THIS FILE.
 * See the following change record for more information,
 * https://www.drupal.org/node/3084859
 * @preserve
 */

/**
 * Add spacing to top and bottom of pages.
 */

.page-content {
  margin-top: 1.5rem;
  margin-bottom: 5rem;
}

@media screen and (min-width: 38em) {
  .page-content {
    margin-top: 2rem;
  }
}

/**
 * Add color to layout icons.
 */

.layout-icon__region {
  fill: #f5f5f2;
  stroke: #666;
}

File

core/themes/claro/css/layout/layout.css

View source
  1. /*
  2. * DO NOT EDIT THIS FILE.
  3. * See the following change record for more information,
  4. * https://www.drupal.org/node/3084859
  5. * @preserve
  6. */
  7. /**
  8. * Add spacing to top and bottom of pages.
  9. */
  10. .page-content {
  11. margin-top: 1.5rem;
  12. margin-bottom: 5rem;
  13. }
  14. @media screen and (min-width: 38em) {
  15. .page-content {
  16. margin-top: 2rem;
  17. }
  18. }
  19. /**
  20. * Add color to layout icons.
  21. */
  22. .layout-icon__region {
  23. fill: #f5f5f2;
  24. stroke: #666;
  25. }

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