_elements.scss 814 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. html {
  2. background: $color-grey-4;
  3. height: 100%;
  4. }
  5. body {
  6. overflow-x: hidden;
  7. position: relative;
  8. &:after {
  9. content: '';
  10. position: fixed;
  11. transition: visibility 0s linear 0s, opacity 0.2s ease-out;
  12. background: rgba(255, 255, 255, 0.5);
  13. width: 100%;
  14. height: 100%;
  15. top: 0;
  16. inset-inline-start: 0;
  17. z-index: 5;
  18. opacity: 0;
  19. visibility: hidden;
  20. }
  21. }
  22. hr {
  23. border: 1px solid $color-grey-4;
  24. border-width: 1px 0 0;
  25. margin: 1.5em 0;
  26. }
  27. // general image style
  28. img {
  29. max-width: 100%;
  30. height: auto;
  31. }
  32. // Reset border styles so tailwinds default border class works as expected
  33. // https://tailwindcss.com/docs/preflight#border-styles-are-reset-globally
  34. *,
  35. ::before,
  36. ::after {
  37. border-width: 0;
  38. border-style: solid;
  39. }
  40. ::before,
  41. ::after {
  42. --tw-content: '';
  43. }