Nenhuma Descrição

editor.scss 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. html {
  2. font-family: var(--global--font-secondary);
  3. line-height: var(--global--line-height-body);
  4. }
  5. body {
  6. --wp--typography--line-height: var(--global--line-height-body);
  7. color: var(--global--color-primary);
  8. background-color: var(--global--color-background);
  9. font-family: var(--global--font-secondary);
  10. font-size: var(--global--font-size-base);
  11. font-weight: normal;
  12. -moz-osx-font-smoothing: grayscale;
  13. -webkit-font-smoothing: antialiased;
  14. }
  15. // Links styles
  16. .wp-block a {
  17. color: var(--wp--style--color--link, var(--global--color-primary));
  18. &:hover {
  19. text-decoration-style: dotted;
  20. }
  21. &:focus {
  22. outline: 2px solid var(--wp--style--color--link, var(--global--color-primary));
  23. text-decoration: none;
  24. }
  25. }
  26. // Enforce the custom link color even if a custom background color has been set.
  27. // The extra specificity here is required to override the background color styles.
  28. .has-background {
  29. // Target both current level and nested block.
  30. .has-link-color a,
  31. &.has-link-color a {
  32. color: var(--wp--style--color--link, var(--global--color-primary));
  33. }
  34. }
  35. button,
  36. a {
  37. cursor: pointer;
  38. }