style.css 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. :root {
  2. box-sizing: border-box;
  3. font-size: 16px;
  4. line-height: 20px;
  5. font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  6. }
  7. .container {
  8. max-width: 1200px;
  9. padding: 0 15px;
  10. margin: 0 auto;
  11. }
  12. #loginBox {
  13. width: 50%;
  14. height: 50%;
  15. padding: 20px 15px;
  16. border-radius: 15px;
  17. z-index: 5;
  18. position: absolute;
  19. top: 50%;
  20. left: 50%;
  21. transform: translate(-50%, -50%);
  22. background-color: #fff;
  23. display: flex;
  24. flex-wrap: wrap;
  25. align-content: flex-start;
  26. justify-content: center;
  27. }
  28. #loginBox input {
  29. width: 100%;
  30. margin-bottom: 10px;
  31. padding: 10px 5px;
  32. font-size: 1.5em;
  33. line-height: 1em;
  34. }
  35. button {
  36. cursor: pointer;
  37. padding: 10px 5px;
  38. margin: 0 10px 10px;
  39. }
  40. #overlay {
  41. background-color: rgba(0, 0, 0, 0.3);
  42. position: absolute;
  43. left: 0;
  44. right: 0;
  45. top: 0;
  46. bottom: 0;
  47. display: none;
  48. }
  49. #loginBox .close {
  50. position: absolute;
  51. top: 10px;
  52. right: 10px;
  53. background-color: #ececec;
  54. border: none;
  55. border-radius: 50%;
  56. padding: 0;
  57. margin: 0;
  58. width: 25px;
  59. height: 25px;
  60. }
  61. ul {
  62. list-style: none;
  63. padding: 0;
  64. margin: 0;
  65. }
  66. .menuBtn {
  67. background-color: transparent;
  68. border: none;
  69. font-weight: 700;
  70. margin: 0;
  71. padding: 0;
  72. border-bottom: 1px solid #000;
  73. margin-bottom: 10px;
  74. transition: all 0.3s;
  75. }
  76. .menuBtn:hover {
  77. color: red;
  78. }
  79. .products {
  80. display: flex;
  81. justify-content: space-between;
  82. }
  83. .itemBox {
  84. display: flex;
  85. justify-content: space-between;
  86. width: 75%;
  87. }