globals.css 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. @tailwind base;
  2. @tailwind components;
  3. @tailwind utilities;
  4. @import "@/styles/iconfont/iconfont.css";
  5. /* swiper */
  6. @import "swiper/css";
  7. @import "swiper/css/autoplay";
  8. @import "swiper/css/pagination";
  9. @import "swiper/css/virtual";
  10. :root{
  11. --swiper-pagination-bullet-width: 0.23rem;
  12. --swiper-pagination-bullet-height: 0.05rem;
  13. --swiper-pagination-bullet-border-radius: 0.03rem;
  14. --swiper-pagination-color: #fff;
  15. --swiper-pagination-bullet-active-bg: #fff;
  16. --swiper-pagination-bullet-inactive-color: hsla(0, 0%, 100%, .8);
  17. --adm-color-text: #fff;
  18. --bg-color:#000000;
  19. }
  20. html {
  21. font-size: 144px;
  22. }
  23. ::-webkit-scrollbar {
  24. width: 0;
  25. }
  26. html, body {
  27. /* width: 100vw; */
  28. height: 100%;
  29. min-height: 80%;
  30. font-family: helvetica neue, Helvetica, apple sd gothic neo, malgun gothic, Arial, sans-serif;
  31. overflow: hidden;
  32. background: #f8f8f8;
  33. }
  34. #app {
  35. max-width: 4.02rem;
  36. width: 100vw;
  37. height: auto;
  38. margin: 0 auto;
  39. font-size: 0.14rem;
  40. position: relative;
  41. background-color: var(--bg-color);
  42. }
  43. /* ant-design-ui */
  44. .adm-toast-mask .adm-toast-main-icon .adm-toast-icon svg {
  45. margin: 0 auto;
  46. }
  47. .adm-input input{
  48. color: #fff;
  49. }