You are here

layout-footer.css in Drupal 10

Same filename and directory in other branches
  1. 9 core/themes/olivero/css/layout/layout-footer.css

Grid system definition for the footer top and footer bottom layouts.

File

core/themes/olivero/css/layout/layout-footer.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. * @file
  9. * Grid system definition for the footer top and footer bottom layouts.
  10. */
  11. /*
  12. * Media query breakpoints.
  13. * Processed by postcss/postcss-custom-media.
  14. */
  15. /* Navigation related breakpoints */
  16. /* Grid related breakpoints */
  17. /* Grid shifts from 6 to 14 columns. */
  18. /* Width of the entire grid maxes out. */
  19. /**
  20. * Creates stacking context ensuring that child elements can never appear in
  21. * front of mobile navigation.
  22. */
  23. .site-footer {
  24. position: relative;
  25. z-index: 1;
  26. }
  27. .site-footer__inner {
  28. padding-top: var(--sp2);
  29. padding-bottom: var(--sp2)
  30. }
  31. @media (min-width: 75rem) {
  32. .site-footer__inner {
  33. padding-top: var(--sp4);
  34. padding-bottom: calc(13 * var(--sp))
  35. }
  36. }
  37. .region--footer_top__inner > *, .region--footer_bottom__inner > * {
  38. margin-bottom: var(--sp2)
  39. }
  40. @media (min-width: 43.75rem) {
  41. .region--footer_top__inner > *, .region--footer_bottom__inner > * {
  42. flex: 1;
  43. margin-bottom: 0
  44. }
  45. [dir="ltr"] .region--footer_top__inner > *:not(:last-child),[dir="ltr"] .region--footer_bottom__inner > *:not(:last-child) {
  46. margin-right: var(--sp2);
  47. }
  48. [dir="rtl"] .region--footer_top__inner > *:not(:last-child),[dir="rtl"] .region--footer_bottom__inner > *:not(:last-child) {
  49. margin-left: var(--sp2);
  50. }
  51. }
  52. @media (min-width: 43.75rem) {
  53. .region--footer_top__inner,
  54. .region--footer_bottom__inner {
  55. display: flex;
  56. flex-wrap: wrap
  57. }
  58. }