style-child-theme-editor.scss 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. //@import "config-child-theme";
  14. /**
  15. * Base
  16. * - Reset the browser
  17. */
  18. @import "../../varia/sass/base/editor";
  19. /**
  20. * Elements
  21. * - Styles for basic HTML elemants
  22. */
  23. @import "../../varia/sass/elements/editor";
  24. /**
  25. * Blocks
  26. * - These styles replace key Gutenberg Block styles for fonts, colors, and
  27. * spacing with CSS-variables overrides
  28. */
  29. @import "../../varia/sass/blocks/editor";
  30. /**
  31. * Vendors
  32. * - Styles for 3rd party plugins and WP extensions
  33. */
  34. @import "../../varia/sass/vendors/editor";
  35. /**
  36. * Extras
  37. */
  38. .editor-post-title__input {
  39. text-align: center;
  40. }
  41. .wp-block-a8c-blog-posts .entry-title a {
  42. color: inherit;
  43. &:hover {
  44. color: #{map-deep-get($config-global, "color", "primary", "default")};
  45. }
  46. }
  47. .wp-block-a8c-blog-posts + .button {
  48. font-size: (strip-unit(map-deep-get($config-global, "font", "size", "base")) + 0em);
  49. }