feed.pcss.css

Same filename in other branches
  1. 9 core/themes/olivero/css/components/feed.pcss.css
  2. 10 core/themes/olivero/css/components/feed.pcss.css

RSS feed.

File

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

View source
  1. /**
  2. * @file
  3. * RSS feed.
  4. */
  5. @import "../base/media-queries.pcss.css";
  6. .feed-icon {
  7. display: flex;
  8. align-items: center;
  9. text-decoration: none;
  10. color: var(--color-text-neutral-soft);
  11. &:hover {
  12. color: var(--color--primary-50);
  13. }
  14. @media (--max-nav) {
  15. flex-direction: row-reverse;
  16. justify-content: flex-end;
  17. }
  18. }
  19. .feed-icon__label {
  20. flex-shrink: 0;
  21. letter-spacing: 0.08em;
  22. font-size: var(--font-size-xxs);
  23. font-weight: 600;
  24. }
  25. .feed-icon__icon {
  26. display: flex;
  27. flex-shrink: 0;
  28. align-items: center;
  29. justify-content: center;
  30. width: var(--sp1-5);
  31. height: var(--sp1-5);
  32. margin-inline-start: var(--sp0-5);
  33. color: var(--color--white);
  34. border-radius: 2px;
  35. background-color: var(--color--primary-50);
  36. & svg {
  37. vertical-align: top;
  38. fill: currentColor;
  39. }
  40. @media (--max-nav) {
  41. margin-inline: 0 var(--sp0-5);
  42. }
  43. }

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