App.css 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. * {
  2. padding: 0;
  3. margin: 0%;
  4. color: rgb(229, 229, 243);
  5. }
  6. .links {
  7. text-decoration: none;
  8. color: rgb(229, 229, 243);
  9. }
  10. .links:hover {
  11. color: rgb(229, 229, 243);
  12. }
  13. .header {
  14. position: fixed;
  15. width: 100%;
  16. top:0%;
  17. color: rgb(229, 229, 243);
  18. background-color: rgb(58, 58, 65);
  19. display: flex;
  20. justify-content: space-between;
  21. padding-top: 10px;
  22. height: 50px;
  23. z-index: 2;
  24. }
  25. .header .standartMenu {
  26. width: 50%;
  27. list-style-type: none;
  28. display: flex;
  29. justify-content: space-around;
  30. }
  31. .mobileMenu {
  32. position: absolute;
  33. background-color: rgb(58, 58, 65);
  34. height: 9em;
  35. border-radius: 0 0% 10% 10%;
  36. align-items: center;
  37. list-style-type: none;
  38. font-size: 10px;
  39. justify-content: space-around;
  40. top: 50px;
  41. left: 0px;
  42. padding: 0%;
  43. right: 0%;
  44. z-index: 2;
  45. display: flex;
  46. flex-direction: row;
  47. }
  48. .tabletMenu {
  49. display: none;
  50. }
  51. .rightSide {
  52. width: 30%;
  53. display: flex;
  54. justify-content: space-around;
  55. }
  56. .rightSide div svg {
  57. margin-right: 2px;
  58. }
  59. .MainImg {
  60. background-image: url(./images/main.jpg);
  61. background-repeat: no-repeat;
  62. background-position: center;
  63. background-size: cover;
  64. width: 100%;
  65. min-height: 45em;
  66. margin-top: 50px;
  67. padding-bottom: 100px;
  68. display: flex;
  69. flex-direction: column;
  70. }
  71. .catalogInput {
  72. display: flex;
  73. }
  74. .catalogHead {
  75. padding: 5px;
  76. }
  77. .search input{
  78. width: 50%;
  79. margin: 0 15px 0 0px;
  80. color: rgb(58, 58, 65);
  81. }
  82. .search button {
  83. width: 100px;
  84. background-color: rgb(58, 58, 65);
  85. border-radius: 15%;
  86. }
  87. aside {
  88. width: 20%;
  89. }
  90. content {
  91. width: 80%;
  92. }
  93. .goodsNotFound {
  94. /* height: 30em; */
  95. padding-top: 20%;
  96. }
  97. .goodsNotFound h5 {
  98. font-size: 30px;
  99. }
  100. .goodsWrapper {
  101. display: flex;
  102. align-items: center;
  103. flex-direction: column;
  104. }
  105. .goods {
  106. display: flex;
  107. flex-wrap: wrap;
  108. justify-content: space-around;
  109. width: 90%;
  110. border-radius: 10%;
  111. padding: 20px;
  112. }
  113. .catalog {
  114. list-style: none;
  115. padding: 3%;
  116. }
  117. .oneGood {
  118. position: relative;
  119. background-color: rgb(10, 10, 10);
  120. display: flex;
  121. width: 170px;
  122. flex-direction: column;
  123. font-size: 15px;
  124. align-items: center;
  125. margin: 5px;
  126. padding: 25px;
  127. border: 2px solid;
  128. border-color:rgb(229, 229, 243);
  129. border-radius: 20%;
  130. justify-content: space-between;
  131. }
  132. .oneGood h5 {
  133. font-size: 16px;
  134. height: 75px;
  135. }
  136. .About {
  137. }
  138. .footer {
  139. position: fixed;
  140. width: 100%;
  141. bottom:0%;
  142. color: rgb(229, 229, 243);
  143. background-color: rgb(58, 58, 65);
  144. display: flex;
  145. justify-content: space-between;
  146. padding-bottom: 10px;
  147. align-items: center;
  148. height: 50px;
  149. }
  150. .guarantee {
  151. padding: 0% 5px;
  152. }
  153. .contacts {
  154. width: 50%;
  155. display: flex;
  156. justify-content: space-around;
  157. }
  158. @media screen and (max-width: 900px) {
  159. .header {
  160. padding: 0%;
  161. }
  162. .header .standartMenu {
  163. display: none;
  164. }
  165. .tabletMenu {
  166. display: inline-block;
  167. }
  168. .rightSide {
  169. width: 60%;
  170. align-items: center;
  171. }
  172. .catalog {
  173. }
  174. .catalog a {
  175. font-size: 10px;
  176. }
  177. .MainImg {
  178. padding-top: 100px;
  179. /* height: 15em; */
  180. background-position: top;
  181. }
  182. .MainImg aside {
  183. width: 40%;
  184. }
  185. .MainImg content {
  186. width: 60%;
  187. }
  188. .goods {
  189. padding: 0%;
  190. background: none;
  191. }
  192. .oneGood {
  193. background-color: rgb(10, 10, 10);
  194. width: 100%;
  195. }
  196. .oneGood h5 {
  197. font-size: 10px;
  198. height: 25px;
  199. }
  200. .oneGood img {
  201. width: 80px;
  202. }
  203. .goodsNotFound h5 {
  204. font-size: 15px;
  205. line-height: 25px;
  206. }
  207. .footer {
  208. font-size: 8px;
  209. }
  210. }