theme.scss 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. /* Adjust heading letter spacing. */
  26. h1, h2, h3 {
  27. letter-spacing: -0.015em;
  28. }
  29. /*
  30. * Preserve image ratios.
  31. * Needed until https://github.com/WordPress/gutenberg/pull/27518/ is merged.
  32. */
  33. img {
  34. height: auto;
  35. max-width: 100%;
  36. }
  37. /* Post Meta */
  38. .post-meta a {
  39. color: currentColor;
  40. }
  41. .post-meta .wp-block-post-author:before {
  42. background: url(svg/post-author.svg) no-repeat;
  43. }
  44. .post-meta .wp-block-post-date:before {
  45. background: url(svg/post-date.svg) no-repeat;
  46. }
  47. .post-meta .wp-block-post-hierarchical-terms:before {
  48. background: url(svg/post-category.svg) no-repeat;
  49. }
  50. .post-meta .wp-block-post-tags:before {
  51. background: url(svg/post-tag.svg) no-repeat;
  52. }