_meta.scss 935 B

12345678910111213141516171819202122232425262728293031
  1. .post-meta {
  2. // We're setting row-gap here as currently, we can't specify separate vertical and horizontal block gaps.
  3. // Tracking in Gutenberg here: https://github.com/WordPress/gutenberg/issues/34529
  4. row-gap: var(--wp--custom--gap--baseline) !important; // !important is needed to override the unique .wp-container-ID classes
  5. .wp-block-post-author,
  6. .wp-block-post-date,
  7. .taxonomy-post_tag,
  8. .taxonomy-category {
  9. @include post-meta-icon;
  10. }
  11. .wp-block-post-author:before {
  12. -webkit-mask-image: url(svg/post-author.svg);
  13. mask-image: url(svg/post-author.svg);
  14. }
  15. .wp-block-post-date:before {
  16. -webkit-mask-image: url(svg/post-date.svg);
  17. mask-image: url(svg/post-date.svg);
  18. }
  19. .taxonomy-category:before {
  20. -webkit-mask-image: url(svg/post-category.svg);
  21. mask-image: url(svg/post-category.svg);
  22. }
  23. .taxonomy-post_tag:before {
  24. -webkit-mask-image: url(svg/post-tag.svg);
  25. mask-image: url(svg/post-tag.svg);
  26. }
  27. }