_links.scss 613 B

123456789101112131415161718192021222324252627282930313233
  1. // Default link styles
  2. a,
  3. .wp-block-navigation a {
  4. cursor: pointer;
  5. text-underline-offset: 0.15em;
  6. text-decoration: none;
  7. &:hover,
  8. &:focus {
  9. text-decoration-line: underline;
  10. }
  11. }
  12. //Links that appear in the main content area
  13. main.block-editor-block-list__layout a, // Needed for the post area
  14. .wp-block-post a {
  15. text-decoration-line: underline;
  16. &:hover,
  17. &:focus {
  18. text-decoration: none;
  19. }
  20. }
  21. // Select the focus states of all non-wpadmin and screen reader links
  22. a:not(.ab-item):not(.screen-reader-shortcut) {
  23. &:active,
  24. &:focus {
  25. outline: 1px dotted currentColor;
  26. text-decoration: none;
  27. }
  28. }