index.acss 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. .main .setting-content {
  2. display: flex;
  3. justify-content: left;
  4. flex-wrap: wrap;
  5. margin: calc(120vmax / 12.80) calc(90vmax / 12.80);
  6. }
  7. .main .setting-content .setting-content-item {
  8. display: flex;
  9. justify-content: center;
  10. align-items: center;
  11. flex-direction: column;
  12. font-size: calc(26vmax / 12.80);
  13. width: calc(100% / 5);
  14. height: calc(140vmax / 12.80);
  15. margin-bottom: calc(80vmax / 12.80);
  16. }
  17. .main .setting-content .setting-content-item .icon {
  18. width: calc(90vmax / 12.80);
  19. height: calc(90vmax / 12.80);
  20. margin-bottom: calc(20vmax / 12.80);
  21. }
  22. /*竖屏样式*/
  23. .portrait-main .setting-content {
  24. display: flex;
  25. justify-content: left;
  26. flex-wrap: wrap;
  27. margin: calc(120vmin / 12.80) calc(90vmin / 12.80);
  28. }
  29. .portrait-main .setting-content .setting-content-item {
  30. display: flex;
  31. justify-content: center;
  32. align-items: center;
  33. flex-direction: column;
  34. font-size: calc(26vmin / 12.80);
  35. width: calc(100% / 5);
  36. height: calc(140vmin / 12.80);
  37. margin-bottom: calc(80vmin / 12.80);
  38. }
  39. .portrait-main .setting-content .setting-content-item .icon {
  40. width: calc(90vmin / 12.80);
  41. height: calc(90vmin / 12.80);
  42. margin-bottom: calc(20vmin / 12.80);
  43. }