footer.css

Same filename in this branch
  1. 9 core/themes/olivero/css/components/footer.css
Same filename in other branches
  1. 8.9.x core/profiles/demo_umami/themes/umami/css/components/regions/footer/footer.css
  2. 10 core/profiles/demo_umami/themes/umami/css/components/regions/footer/footer.css
  3. 10 core/themes/olivero/css/components/footer.css
  4. 11.x core/profiles/demo_umami/themes/umami/css/components/regions/footer/footer.css
  5. 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 4%;
  10. text-align: center;
  11. color: #fff;
  12. background-color: #5f635d;
  13. font-size: 0.9rem;
  14. }
  15. /* Large */
  16. @media screen and (min-width: 60rem) { /* 960px */
  17. .footer {
  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. /* Extra large + side margins */
  29. @media screen and (min-width: 80rem) { /* 1200px (large) + 80px (side margins) = 1280px */
  30. .footer {
  31. padding: 2rem 0;
  32. }
  33. }
  34. .footer a {
  35. color: #fff;
  36. background-color: inherit;
  37. font-weight: 400;
  38. }
  39. .footer a:active,
  40. .footer a:focus,
  41. .footer a:hover {
  42. outline-color: #fff;
  43. background-color: #000;
  44. }

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