index.css 1.2 KB

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