common.scss 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. @import "~/static/css/tool.scss";
  2. * {
  3. padding: 0;
  4. margin: 0;
  5. box-sizing: border-box;
  6. }
  7. a {
  8. text-decoration: none;
  9. /* 去除默认的下划线 */
  10. color: inherit;
  11. /* 去除默认的颜色和点击后变化的颜色 */
  12. }
  13. @include responseTo("tv") {
  14. html,
  15. body {
  16. min-width: 1500px;
  17. color: var(--color-01);
  18. font-weight: var(--weight-400);
  19. font-family: var(--family-01);
  20. }
  21. .center1200 {
  22. width: 1200px !important;
  23. margin: 0 auto !important;
  24. }
  25. .center1440 {
  26. width: 1440px !important;
  27. margin: 0 auto !important;
  28. }
  29. }
  30. img {
  31. line-height: 1;
  32. }
  33. .one-row {
  34. white-space: nowrap;
  35. overflow: hidden;
  36. text-overflow: ellipsis;
  37. }
  38. .bg {
  39. background-repeat: no-repeat;
  40. background-position: center center;
  41. background-size: cover;
  42. }
  43. .center-btn {
  44. width: auto;
  45. min-width: 174px;
  46. min-height: 50px;
  47. background: linear-gradient(-45deg, #2cbac0 0%, #006efe 100%), #006efe;
  48. border-radius: 4px;
  49. display: inline-flex;
  50. justify-content: center;
  51. align-items: center;
  52. font-size: 18px;
  53. font-family: var(--family-01);
  54. font-weight: var(--weight-400);
  55. color: #ffffff;
  56. }
  57. .btn-01 {
  58. width: 1px;
  59. display: inline-flex;
  60. justify-content: center;
  61. align-items: center;
  62. flex-wrap: nowrap;
  63. min-width: 174px;
  64. min-height: 50px;
  65. padding: 0 var(--size-20);
  66. background: #ffffff;
  67. border: 1px solid var(--color-04);
  68. border-radius: var(--size-4);
  69. font-size: var(--size-18);
  70. font-family: var(--family-01);
  71. font-weight: var(--weight-400);
  72. color: var(--color-04);
  73. }