style.css 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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. #userBox {
  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. #userBox 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. #userBox .close {
  50. position: absolute;
  51. top: 10px;
  52. right: 10px;
  53. background-color: #ececec;
  54. text-decoration: none;
  55. text-align: center;
  56. border: none;
  57. border-radius: 50%;
  58. padding: 0;
  59. margin: 0;
  60. width: 25px;
  61. height: 25px;
  62. }
  63. ul {
  64. list-style: none;
  65. padding: 0;
  66. margin: 0;
  67. }
  68. .order{
  69. text-decoration: none;
  70. font-size: 1.8em;
  71. display: inline-block;
  72. padding: 10px;
  73. background-color: #eccccc;
  74. }
  75. .menuBtn {
  76. background-color: transparent;
  77. border: none;
  78. font-weight: 700;
  79. margin: 0;
  80. padding: 0;
  81. border-bottom: 1px solid #000;
  82. margin-bottom: 10px;
  83. transition: all 0.3s;
  84. }
  85. .menuBtn:hover {
  86. color: red;
  87. }
  88. .products {
  89. display: flex;
  90. justify-content: space-between;
  91. }
  92. .itemBox {
  93. display: flex;
  94. justify-content: space-between;
  95. width: 75%;
  96. }