You are here

layout.css in Drupal 10

This file is used to create generic layout styles.

More specific layout items may be found within their respective files, e.g. the layout for two columns is in the layout-2-cols.css file.

File

core/profiles/demo_umami/themes/umami/css/layout/layout.css
View source
  1. /**
  2. * @file
  3. * This file is used to create generic layout styles.
  4. *
  5. * More specific layout items may be found within their respective files, e.g.
  6. * the layout for two columns is in the layout-2-cols.css file.
  7. */
  8. .container {
  9. max-width: 1200px;
  10. margin: auto;
  11. }
  12. /* Add responsive side gutters to the outer layout container 'main' at smaller sizes */
  13. .main {
  14. padding: 0 4%;
  15. }
  16. /* Extra large + side margins */
  17. @media screen and (min-width: 80rem) { /* 1200px (large) + 80px (side margins) = 1280px */
  18. .main {
  19. padding: 0;
  20. }
  21. }