style-child-theme-editor.scss 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /**
  2. * These styles should be loaded by the Block Editor only
  3. */
  4. /**
  5. * Abstracts
  6. * - Mixins, variables and functions
  7. */
  8. @import "../../varia/sass/abstracts/imports";
  9. /**
  10. * Child Theme Name
  11. */
  12. @import "config-child-theme-deep";
  13. /**
  14. * Base
  15. * - Reset the browser
  16. */
  17. @import "../../varia/sass/base/editor";
  18. /**
  19. * Elements
  20. * - Styles for basic HTML elemants
  21. */
  22. @import "../../varia/sass/elements/editor";
  23. /**
  24. * Blocks
  25. * - These styles replace key Gutenberg Block styles for fonts, colors, and
  26. * spacing with CSS-variables overrides
  27. */
  28. @import "../../varia/sass/blocks/editor";
  29. /**
  30. * Vendors
  31. * - Styles for 3rd party plugins and WP extensions
  32. */
  33. @import "../../varia/sass/vendors/editor";
  34. /**
  35. * Extras
  36. */
  37. .wp-block-a8c-blog-posts {
  38. .cat-links a,
  39. .more-link,
  40. .entry-meta a {
  41. text-decoration: none;
  42. &:hover {
  43. text-decoration: underline;
  44. }
  45. }
  46. .entry-title a:hover,
  47. .more-link:hover {
  48. color: inherit;
  49. }
  50. }
  51. .wp-block-a8c-blog-posts + .button {
  52. font-size: (strip-unit(map-deep-get($config-global, "font", "size", "sm")) + 0em);
  53. }