index.css 512B

1234567891011121314151617181920212223242526272829303132333435
  1. html, body, #root {
  2. width: 100%;
  3. height: 100%;
  4. margin: 0;
  5. }
  6. :root {
  7. --theme-color: #fff;
  8. --theme-front: #000;
  9. --header-height: 64px;
  10. }
  11. .main-layout {
  12. height: 100vh;
  13. display: flex;
  14. flex-direction: column;
  15. }
  16. .fixd-header {
  17. width: 100%;
  18. position: fixed;
  19. top: 0;
  20. height: var(--header-height);
  21. line-height: var(--header-height);
  22. z-index: 100;
  23. }
  24. .ant-layout {
  25. background-color: #f0f2f5;
  26. }
  27. .layout-background {
  28. background-color: var(--theme-color);
  29. color: var(--theme-front);
  30. }