style-child-theme-editor.scss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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. .wp-block-a8c-blog-posts {
  30. .entry-title a {
  31. &:active,
  32. &:focus,
  33. &:hover {
  34. text-decoration: none;
  35. }
  36. }
  37. .cat-links a,
  38. .more-link,
  39. .entry-meta a {
  40. text-decoration: none;
  41. &:active,
  42. &:focus,
  43. &:hover {
  44. text-decoration: underline;
  45. }
  46. }
  47. &.image-alignbehind article {
  48. .entry-title a {
  49. &:active,
  50. &:focus,
  51. &:hover {
  52. text-decoration: underline;
  53. }
  54. }
  55. }
  56. }
  57. .has-background:not(.has-background-background-color),
  58. [class*="background-color"]:not(.has-background-background-color),
  59. [style*="background-color"] {
  60. .wp-block-a8c-blog-posts {
  61. .entry-title a{
  62. &:active,
  63. &:focus,
  64. &:hover {
  65. text-decoration: underline;
  66. }
  67. }
  68. }
  69. }
  70. .wp-block-a8c-blog-posts + .button {
  71. font-size: (strip-unit(map-deep-get($config-global, "font", "size", "sm")) + 0em);
  72. }
  73. /**
  74. * Extras
  75. */
  76. .editor-post-title__input {
  77. text-align: center;
  78. }
  79. /**
  80. * Full Site Editing
  81. * - Full Site Editing overrides
  82. */
  83. @import "full-site-editing-editor";