_links.scss 592 B

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