style.css 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. body {
  2. font-family: monospace;
  3. margin: 0;
  4. padding: 0;
  5. }
  6. .wrapper {
  7. height: 100vh;
  8. display: flex;
  9. flex-direction: column;
  10. }
  11. .inner_wrapper {
  12. padding: 0 15%;
  13. }
  14. .header {
  15. flex: 10%;
  16. display: flex;
  17. justify-content: space-around;
  18. }
  19. .header_title {
  20. font-size: 44px;
  21. padding-top: 1.25%;
  22. }
  23. .main {
  24. flex: 83%;
  25. height: 100vh;
  26. display: flex;
  27. flex-direction: column;
  28. }
  29. .main__input {
  30. flex: 30%;
  31. display: flex;
  32. justify-content: space-around;
  33. align-items: center;
  34. }
  35. .main__input_form {
  36. height: 20%;
  37. width: 100%;
  38. white-space: nowrap;
  39. }
  40. .main__input_line {
  41. font-family: monospace;
  42. font-size: 24px;
  43. height: 100%;
  44. width: 86%;
  45. }
  46. .main__input_button {
  47. font-family: monospace;
  48. font-size: 24px;
  49. color: darkgreen;
  50. height: 110%;
  51. width: 14%;
  52. background: #73b06a;
  53. border: none;
  54. }
  55. .main__input_button:hover {
  56. background: #49a83b;
  57. }
  58. .main__info {
  59. flex: 68%;
  60. }
  61. .main__info_field {
  62. font-size: 22px;
  63. border: 1px solid red;
  64. padding: 2% 2%;
  65. }
  66. .footer {
  67. font-size: 16px;
  68. color: grey;
  69. flex: 5%;
  70. display: flex;
  71. justify-content: center;
  72. }
  73. @media (max-width: 750px) {
  74. .inner_wrapper {
  75. padding: 0%;
  76. }
  77. .main__input_form {
  78. padding: 0 2%;
  79. }
  80. .main__info {
  81. padding: 0 2%;
  82. }
  83. }
  84. @media (max-height: 600px) {
  85. .main__input_button {
  86. height: 120%;
  87. }
  88. }