text.tsx 410 B

12345678910111213141516171819202122232425262728293031
  1. import {css} from '@emotion/react';
  2. const textStyles = () => css`
  3. /* stylelint-disable no-descending-specificity */
  4. h1,
  5. h2,
  6. h3,
  7. h4,
  8. h5,
  9. h6,
  10. p,
  11. ul,
  12. ol,
  13. table,
  14. dl,
  15. blockquote,
  16. form,
  17. pre,
  18. .auto-select-text,
  19. .section,
  20. [class^='highlight-'] {
  21. margin-bottom: 20px;
  22. &:last-child {
  23. margin-bottom: 0;
  24. }
  25. }
  26. /* stylelint-enable */
  27. `;
  28. export default textStyles;