index.css 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. body {
  2. margin: 0;
  3. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
  4. "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
  5. sans-serif;
  6. -webkit-font-smoothing: antialiased;
  7. -moz-osx-font-smoothing: grayscale;
  8. background-color: #222;
  9. color: #ccc;
  10. font-weight: 500;
  11. }
  12. code {
  13. font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
  14. monospace;
  15. }
  16. button {
  17. border-radius: 0px;
  18. border: 1px solid #555;
  19. padding: 8px;
  20. background-color: #555;
  21. color: #fff;
  22. font-weight: 600;
  23. cursor: pointer;
  24. transition: background-color 300ms;
  25. }
  26. button:hover {
  27. background-color: #777;
  28. }
  29. button:focus {
  30. outline: none;
  31. border: 1px solid #999;
  32. }
  33. button::-moz-focus-inner {
  34. border: 0;
  35. }
  36. button:disabled {
  37. color: #777;
  38. background-color: #333;
  39. cursor: default;
  40. }
  41. #root {
  42. position: absolute;
  43. width: 100% !important;
  44. height: 100% !important;
  45. }
  46. .fade-enter {
  47. opacity: 0;
  48. }
  49. .fade-enter-active {
  50. opacity: 1;
  51. transition: opacity 500ms;
  52. }
  53. .fade-exit {
  54. position: absolute;
  55. z-index: 1;
  56. opacity: 1;
  57. }
  58. .fade-exit-active {
  59. position: absolute;
  60. z-index: 1;
  61. opacity: 0;
  62. transition: opacity 500ms;
  63. }