footer.pcss.css

Same filename in other branches
  1. 10 core/themes/olivero/css/components/footer.pcss.css
  2. 11.x core/themes/olivero/css/components/footer.pcss.css

Footer regions.

File

core/themes/olivero/css/components/footer.pcss.css

View source
  1. /**
  2. * @file
  3. * Footer regions.
  4. */
  5. @import "../base/variables.pcss.css";
  6. .site-footer {
  7. position: relative; /* stack above left social bar */
  8. color: var(--color--gray-50);
  9. background: linear-gradient(180deg, var(--color--gray-5) 0%, var(--color--gray-8) 100%);
  10. & .menu {
  11. margin-inline-start: 0;
  12. list-style: none;
  13. & ul {
  14. margin-inline-start: var(--sp);
  15. }
  16. & li {
  17. margin-block-end: var(--sp0-5);
  18. }
  19. }
  20. & a {
  21. color: inherit;
  22. &:hover {
  23. text-decoration: none;
  24. }
  25. }
  26. }
  27. @media (--nav) {
  28. body:not(.is-always-mobile-nav) .site-footer {
  29. border-inline-start: solid var(--content-left) var(--color--black);
  30. }
  31. }

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