style-child-theme-editor.scss 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. html,
  38. body {
  39. font-weight: 300;
  40. }
  41. .wp-block-a8c-blog-posts {
  42. .entry-title a:hover {
  43. text-decoration: none;
  44. }
  45. .more-link {
  46. text-decoration-color: map-deep-get($config-global, "color", "primary", "hover");
  47. &:hover {
  48. color: inherit;
  49. }
  50. }
  51. .entry-meta {
  52. text-transform: uppercase;
  53. font-weight: 500;
  54. letter-spacing: .1em;
  55. }
  56. }
  57. .wp-block-a8c-blog-posts + .button {
  58. border-radius: 0;
  59. font-size: (strip-unit(map-deep-get($config-global, "font", "size", "sm")) + 0em);
  60. text-transform: uppercase;
  61. }