_content.scss 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /**
  2. * Entry Content
  3. */
  4. .entry-content,
  5. .entry-summary {
  6. font-family: var(--entry-content--font-family);
  7. }
  8. .entry-content {
  9. p {
  10. word-wrap: break-word;
  11. }
  12. .more-link {
  13. display: table;
  14. margin-top: var(--global--spacing-unit);
  15. @include media(mobile) {
  16. margin-top: var(--global--spacing-vertical);
  17. }
  18. &:after {
  19. content: "\02192" #{"/*rtl:\"\02190\"*/"};
  20. display: inline-block;
  21. margin-left: 0.5em;
  22. }
  23. &:hover {
  24. text-decoration: none;
  25. }
  26. }
  27. a {
  28. }
  29. // Overwrite iframe embeds that have inline styles.
  30. > iframe[style] {
  31. margin: var(--global--spacing-vertical) 0 !important;
  32. max-width: 100% !important;
  33. @include media(mobile) {
  34. max-width: var(--global--spacing-vertical) !important;
  35. }
  36. }
  37. // Page links
  38. .page-links a {
  39. }
  40. // Classic editor audio embeds.
  41. .wp-audio-shortcode {
  42. @extend %responsive-aligndefault-width;
  43. }
  44. // If the homepage header and page title are both configured to be hidden.
  45. .home.page.hide-homepage-header.hide-homepage-title & {
  46. margin-top: 0;
  47. padding-top: 0;
  48. // Move some full-width blocks up to the top of the screen.
  49. > .wp-block-image.alignfull:first-child,
  50. > .wp-block-cover.alignfull:first-child,
  51. > .wp-block-media-text.alignfull:first-child,
  52. > .wp-block-group.has-background.alignfull:first-child {
  53. margin-top: calc(-1 * var(--global--spacing-vertical));
  54. }
  55. }
  56. }
  57. .entry-attachment {
  58. text-align: center;
  59. }