theme.scss 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /* Smooth out the fonts. */
  2. body {
  3. -webkit-font-smoothing: antialiased;
  4. -moz-osx-font-smoothing: grayscale;
  5. }
  6. .site-header .wp-block-site-title a {
  7. text-decoration: none;
  8. }
  9. .site-header .wp-block-social-links.alignright {
  10. margin: 0 0 0 1em;
  11. transform: translateY(-0.3rem);
  12. }
  13. @media screen and (min-width: 1290px) {
  14. .site-header .wp-block-column,
  15. .site-footer .wp-block-column {
  16. padding-left: var(--wp--custom--gap--horizontal);
  17. padding-right: var(--wp--custom--gap--horizontal);
  18. }
  19. }
  20. .site-footer {
  21. margin-top: auto;
  22. }
  23. /* Adjust heading letter spacing. */
  24. h1, h2, h3 {
  25. letter-spacing: -0.015em;
  26. }
  27. /*
  28. * Preserve image ratios.
  29. * Needed until https://github.com/WordPress/gutenberg/pull/27518/ is merged.
  30. */
  31. img {
  32. height: auto;
  33. max-width: 100%;
  34. }
  35. /* Post Meta */
  36. .post-meta a {
  37. color: currentColor;
  38. }
  39. .is-style-post-author-icon:before {
  40. -webkit-mask-image: url(svg/post-author.svg);
  41. mask-image: url(svg/post-author.svg);
  42. }
  43. .is-style-post-date-icon:before {
  44. -webkit-mask-image: url(svg/post-date.svg);
  45. mask-image: url(svg/post-date.svg);
  46. }
  47. .is-style-post-category-icon:before {
  48. -webkit-mask-image: url(svg/post-category.svg);
  49. mask-image: url(svg/post-category.svg);
  50. }
  51. .is-style-post-tag-icon:before {
  52. -webkit-mask-image: url(svg/post-tag.svg);
  53. mask-image: url(svg/post-tag.svg);
  54. }