header.css 629 B

123456789101112131415161718192021222324252627282930313233
  1. /**
  2. * @file
  3. * This file is used to style the header.
  4. *
  5. * It styles the header as a global component; it does not style individual
  6. * header items, such as a menu, which are styled by their own CSS files.
  7. */
  8. .layout-header {
  9. padding: 0;
  10. background: #fff;
  11. }
  12. .region-header {
  13. display: flex;
  14. flex-wrap: wrap;
  15. align-items: center;
  16. justify-content: space-between;
  17. padding: 0.75rem 1rem;
  18. }
  19. @media screen and (min-width: 48em) {
  20. .region-header {
  21. padding: 0 1rem;
  22. }
  23. }
  24. /* 77em == the max width of .container + 1em either side */
  25. @media screen and (min-width: 77em) {
  26. .region-header {
  27. padding: 0;
  28. }
  29. }