common.scss 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. body * {
  2. box-sizing: border-box;
  3. flex-shrink: 0;
  4. }
  5. body {
  6. font-family: PingFangSC-Regular, Roboto, Helvetica Neue, Helvetica, Tahoma,
  7. Arial, PingFang SC-Light, Microsoft YaHei;
  8. }
  9. button {
  10. margin: 0;
  11. padding: 0;
  12. border: 1px solid transparent;
  13. outline: none;
  14. background-color: transparent;
  15. }
  16. button:active {
  17. opacity: 0.6;
  18. }
  19. .flex-col {
  20. display: flex;
  21. flex-direction: column;
  22. }
  23. .flex-row {
  24. display: flex;
  25. flex-direction: row;
  26. }
  27. .justify-start {
  28. display: flex;
  29. justify-content: flex-start;
  30. }
  31. .justify-center {
  32. display: flex;
  33. justify-content: center;
  34. }
  35. .justify-end {
  36. display: flex;
  37. justify-content: flex-end;
  38. }
  39. .justify-evenly {
  40. display: flex;
  41. justify-content: space-evenly;
  42. }
  43. .justify-around {
  44. display: flex;
  45. justify-content: space-around;
  46. }
  47. .justify-between {
  48. display: flex;
  49. justify-content: space-between;
  50. }
  51. .align-start {
  52. display: flex;
  53. align-items: flex-start;
  54. }
  55. .align-center {
  56. display: flex;
  57. align-items: center;
  58. }
  59. .align-end {
  60. display: flex;
  61. align-items: flex-end;
  62. }