style.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. body{
  2. width: 100vw;
  3. height: 100vh;
  4. margin: 0;
  5. color: #f4f09c;
  6. }
  7. #root{
  8. width: 100%;
  9. height: 100%;
  10. display: flex;
  11. justify-content: center;
  12. align-items: center;
  13. background: radial-gradient(circle, rgba(131,58,180,1) 0%, rgba(6,25,186,1) 28%, rgba(46,60,168,1) 100%);
  14. }
  15. .wrapper{
  16. width: 800px;
  17. height: 400px;
  18. background-color: #2e3ca8;
  19. }
  20. .informBlockWrapper{
  21. width: 100%;
  22. height: 40%;
  23. display: flex;
  24. flex-direction: column;
  25. }
  26. .currencyBlockWrapper{
  27. width: 100%;
  28. height: 50%;
  29. display: flex;
  30. justify-content: space-around;
  31. align-items: end;
  32. }
  33. .currencyBlockWrapperValue{
  34. display: flex;
  35. justify-content: space-around;
  36. }
  37. .tableHeader{
  38. display: flex;
  39. width: 100%;
  40. }
  41. .blockTitle{
  42. width:50%;
  43. font-size: 25px;
  44. padding: 0 30px 5px;
  45. }
  46. .titleHeaderRight{
  47. padding-left: 90px;
  48. }
  49. .currencyBlock{
  50. background-color: #2e3ca8;
  51. height: 50px;
  52. display: flex;
  53. cursor: pointer;
  54. padding:10px 35px;
  55. }
  56. .exchangeRatesWrapper{
  57. width: 100%;
  58. height: 50%;
  59. }
  60. .converterWrapper{
  61. width: 100%;
  62. height: 50%;
  63. display: flex;
  64. color: #f4f09c;
  65. }
  66. .converterBlock{
  67. width: 45%;
  68. height: 100%;
  69. border: 1px solid grey;
  70. display: flex;
  71. flex-direction: column;
  72. justify-content: center;
  73. }
  74. .converterBlockCenter{
  75. width: 10%;
  76. display: flex;
  77. justify-content: center;
  78. align-items: center;
  79. }
  80. .converterBlockTitle{
  81. font-size: 20px;
  82. width: 100%;
  83. padding-top: 10px ;
  84. padding-left: 20px;
  85. }
  86. .fa-sync-alt{
  87. font-size: 35px;
  88. color: #D6BD22;
  89. padding: 15px;
  90. }
  91. i:hover{
  92. cursor: pointer;
  93. -webkit-transform: rotate(180deg);
  94. transform: rotate(180deg);
  95. transition: 0.3s ;
  96. }
  97. .converterCurrency{
  98. color: #FFF;
  99. height: 70px;
  100. margin: 20px 0 0 10px;
  101. font-size: 36px;
  102. font-weight: 700;
  103. margin-bottom: 7px;
  104. width: calc(100% - 20px);
  105. box-sizing: border-box;
  106. background-color: transparent;
  107. border: none;
  108. border-bottom: 2px solid #c5ea9d;
  109. outline: none;
  110. }
  111. .converterBlockInfo{
  112. padding-left: 20px;
  113. }