_entry-content.scss 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. /**
  2. * Entry Content
  3. */
  4. .entry-content,
  5. .entry-summary {
  6. }
  7. .entry-content {
  8. p {
  9. word-wrap: break-word;
  10. }
  11. .more-link {
  12. display: block;
  13. color: inherit;
  14. margin-top: #{map-deep-get($config-global, "spacing", "unit")};
  15. @include media(mobile) {
  16. margin-top: #{map-deep-get($config-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,
  31. > iframe[style],
  32. > fb\:post {
  33. display: block !important;
  34. margin-left: auto !important;
  35. margin-right: auto !important;
  36. overflow: scroll;
  37. }
  38. // Page links
  39. .page-links a {
  40. }
  41. // Classic editor audio embeds.
  42. .wp-audio-shortcode {
  43. @extend %responsive-aligndefault;
  44. }
  45. // If the homepage header and page title are both configured to be hidden.
  46. .home.page.hide-homepage-header.hide-homepage-title & {
  47. margin-top: 0;
  48. padding-top: 0;
  49. // First children should usually have top margin.
  50. > *:first-child {
  51. margin-top: map-deep-get($config-global, "spacing", "vertical");
  52. }
  53. // Move some full-width blocks up to the top of the screen.
  54. > .wp-block-image.alignfull:first-child,
  55. > .wp-block-cover.alignfull:first-child,
  56. > .wp-block-media-text.alignfull:first-child,
  57. > .wp-block-group.has-background.alignfull:first-child {
  58. margin-top: #{-1 * map-deep-get($config-global, "spacing", "vertical")};
  59. }
  60. }
  61. }
  62. .entry-attachment {
  63. text-align: center;
  64. }