_query.scss 708 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. .horizontal-query-pattern,
  2. .vertical-query-pattern {
  3. .wp-block-post-title a {
  4. text-decoration: none;
  5. }
  6. }
  7. .vertical-query-pattern {
  8. .wp-block-cover {
  9. margin-top: 0;
  10. }
  11. img {
  12. aspect-ratio: 16 / 9;
  13. object-fit: cover;
  14. }
  15. }
  16. div.horizontal-query-pattern {
  17. gap: 0;
  18. @include break-small() {
  19. flex-wrap: nowrap;
  20. }
  21. .wp-block-cover,
  22. figure.wp-block-post-featured-image {
  23. margin-top: 0;
  24. }
  25. figure.wp-block-post-featured-image {
  26. align-self: stretch;
  27. @include break-small() {
  28. width: 57%; // I'm not sure why this number works but it does seem to!
  29. }
  30. img {
  31. aspect-ratio: 1.12;
  32. object-fit: cover;
  33. height: 100%;
  34. @include break-small() {
  35. min-height: 360px;
  36. }
  37. }
  38. }
  39. }