read-more.css

Same filename in other branches
  1. 11.x core/profiles/demo_umami/themes/umami/components/read-more/read-more.css

This file is used to style the more link.

File

core/profiles/demo_umami/themes/umami/components/read-more/read-more.css

View source
  1. /**
  2. * @file
  3. * This file is used to style the more link.
  4. */
  5. .read-more {
  6. position: relative;
  7. display: inline-block;
  8. box-sizing: border-box;
  9. padding-right: 20px; /* LTR */
  10. text-decoration: none;
  11. text-transform: uppercase;
  12. border-bottom: 1px solid transparent;
  13. background-color: inherit;
  14. }
  15. [dir="rtl"] .read-more {
  16. padding-right: unset;
  17. padding-left: 20px;
  18. }
  19. .read-more:focus,
  20. .read-more:hover {
  21. text-decoration: none;
  22. color: #008068;
  23. border-bottom: 1px solid #008068;
  24. background-color: inherit;
  25. }
  26. .read-more__icon {
  27. position: absolute;
  28. top: 50%;
  29. right: 0; /* LTR */
  30. width: 14px;
  31. height: 14px;
  32. margin-top: -7px;
  33. }
  34. [dir="rtl"] .read-more__icon {
  35. right: unset;
  36. left: 0;
  37. transform: rotate(180deg);
  38. }

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