footer.css

Same filename in other branches
  1. 9 core/profiles/demo_umami/themes/umami/css/components/regions/footer/footer.css
  2. 9 core/themes/olivero/css/components/footer.css
  3. 10 core/profiles/demo_umami/themes/umami/css/components/regions/footer/footer.css
  4. 10 core/themes/olivero/css/components/footer.css
  5. 11.x core/profiles/demo_umami/themes/umami/css/components/regions/footer/footer.css
  6. 11.x core/themes/olivero/css/components/footer.css

This file is used to style the footer.

It styles the footer as a global component; it does not style individual footer items, such as a menu, which are styled by their own CSS files.

File

core/profiles/demo_umami/themes/umami/css/components/regions/footer/footer.css

View source
  1. /**
  2. * @file
  3. * This file is used to style the footer.
  4. *
  5. * It styles the footer as a global component; it does not style individual
  6. * footer items, such as a menu, which are styled by their own CSS files.
  7. */
  8. .footer {
  9. padding: 2rem 1rem;
  10. text-align: center;
  11. color: #fff;
  12. background-color: #5f635d;
  13. font-size: 0.9rem;
  14. }
  15. @media screen and (min-width: 60rem) {
  16. .footer {
  17. padding: 1rem 1rem 0;
  18. text-align: left; /* LTR */
  19. }
  20. [dir="rtl"] .footer {
  21. text-align: right;
  22. }
  23. .region-footer {
  24. display: flex;
  25. justify-content: space-between;
  26. }
  27. }
  28. .footer a {
  29. color: #fff;
  30. background-color: inherit;
  31. font-weight: 400;
  32. }
  33. .footer a:active,
  34. .footer a:focus,
  35. .footer a:hover {
  36. outline-color: #fff;
  37. background-color: #000;
  38. }

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