layout-footer.css 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. * @file
  9. * Grid system definition for the footer top and footer bottom layouts.
  10. */
  11. /**
  12. * Creates stacking context ensuring that child elements can never appear in
  13. * front of mobile navigation.
  14. */
  15. .site-footer {
  16. position: relative;
  17. z-index: 1;
  18. }
  19. .site-footer__inner {
  20. padding-top: 2.25rem;
  21. padding-bottom: 2.25rem;
  22. }
  23. @media (min-width: 75rem) {
  24. .site-footer__inner {
  25. padding-top: 4.5rem;
  26. padding-bottom: 14.625rem;
  27. }
  28. }
  29. .region--footer_top__inner > *,
  30. .region--footer_bottom__inner > * {
  31. margin-bottom: 2.25rem;
  32. }
  33. @media (min-width: 43.75rem) {
  34. .region--footer_top__inner > *,
  35. .region--footer_bottom__inner > * {
  36. flex: 1;
  37. margin-bottom: 0;
  38. }
  39. [dir="ltr"] .region--footer_top__inner > *:not(:last-child),
  40. [dir="ltr"] .region--footer_bottom__inner > *:not(:last-child) {
  41. margin-right: 2.25rem;
  42. }
  43. [dir="rtl"] .region--footer_top__inner > *:not(:last-child),
  44. [dir="rtl"] .region--footer_bottom__inner > *:not(:last-child) {
  45. margin-left: 2.25rem;
  46. }
  47. }
  48. @media (min-width: 43.75rem) {
  49. .region--footer_top__inner,
  50. .region--footer_bottom__inner {
  51. display: flex;
  52. flex-wrap: wrap;
  53. }
  54. }