error.scss 818 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. @import './index.scss';
  2. /* 页面宽度小于768px
  3. ------------------------------- */
  4. @media screen and (max-width: $sm) {
  5. .error {
  6. .error-flex {
  7. flex-direction: column-reverse !important;
  8. height: auto !important;
  9. width: 100% !important;
  10. }
  11. .right,
  12. .left {
  13. flex: unset !important;
  14. display: flex !important;
  15. }
  16. .left-item {
  17. margin: auto !important;
  18. }
  19. .right img {
  20. max-width: 450px !important;
  21. @extend .left-item;
  22. }
  23. }
  24. }
  25. /* 页面宽度大于768px小于992px
  26. ------------------------------- */
  27. @media screen and (min-width: $sm) and (max-width: $md) {
  28. .error {
  29. .error-flex {
  30. padding-left: 30px !important;
  31. }
  32. }
  33. }
  34. /* 页面宽度小于1200px
  35. ------------------------------- */
  36. @media screen and (max-width: $lg) {
  37. .error {
  38. .error-flex {
  39. padding: 0 30px;
  40. }
  41. }
  42. }