theme.scss 1.4 KB

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